/* Buyer-intent guides — reading-room shell (hub + articles) */

/* —— Skip link —— */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 1000;
  padding: 0.65rem 1.1rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--ivory);
  outline-offset: 2px;
}

/* —— Hero —— */
.guide-hero {
  padding: calc(var(--header-h) + 3rem) 0 3rem;
  background: var(--navy);
  color: var(--ivory);
}

.guide-hero .eyebrow {
  color: var(--gold-light);
}

.guide-hero h1 {
  color: var(--ivory);
  max-width: 22ch;
}

.guide-hero .lead {
  color: rgba(248, 246, 242, 0.88);
  max-width: 42rem;
}

.guide-hero a {
  color: var(--gold-light);
}

.guide-hero__meta {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: var(--slate-light);
}

/* Meta strip under lead */
.guide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-top: 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--slate-light);
}

.guide-meta__chip {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(184, 149, 106, 0.45);
  border-radius: 999px;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.68rem;
}

.guide-meta__sep {
  opacity: 0.45;
}

/* —— Body / layout —— */
.guide-body {
  padding: 3.5rem 0 4rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 3rem;
  align-items: start;
}

.guide-article {
  max-width: 65ch;
}

.guide-article h2 {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 500;
  margin: 2.75rem 0 1rem;
  color: var(--navy);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

.guide-article h2:first-of-type {
  margin-top: 1.5rem;
}

.guide-article h3 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.75rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--navy);
}

.guide-article p,
.guide-article li {
  color: var(--slate);
  margin-bottom: 0.85rem;
}

.guide-article ul,
.guide-article ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.guide-article strong {
  color: var(--navy);
  font-weight: 500;
}

.guide-article a:focus-visible,
.guides-chips a:focus-visible,
.guide-tile:focus-visible,
.guide-tile__link:focus-visible,
.guide-kit a:focus-visible,
.guide-sidebar__box a:focus-visible,
.guide-toc a:focus-visible,
.guide-pillars a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Quick answer */
.guide-quick-answer {
  background: var(--ivory-dark);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
  border-radius: 0 8px 8px 0;
}

.guide-quick-answer p:last-child {
  margin-bottom: 0;
}

/* Callout / pullquote (Research may use later) */
.guide-callout {
  margin: 1.75rem 0;
  padding: 1.15rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
}

.guide-callout p:last-child {
  margin-bottom: 0;
}

.guide-pullquote {
  margin: 2.25rem 0;
  padding: 0.5rem 0 0.5rem 1.5rem;
  border-left: 3px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--navy);
}

.guide-pullquote cite {
  display: block;
  margin-top: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-light);
}

/* Ranked list */
.guide-ranked-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.guide-ranked-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.guide-ranked-list li:last-child {
  border-bottom: none;
}

.guide-ranked-list .rank {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}

/* Tables */
.guide-table-wrap {
  overflow-x: auto;
  margin: 1.5rem 0 2rem;
}

.guide-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.guide-table th,
.guide-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.guide-table th {
  background: var(--navy);
  color: var(--ivory);
  font-weight: 500;
  font-size: 0.8rem;
}

.guide-table tr:nth-child(even) td {
  background: var(--ivory-dark);
}

@media (max-width: 640px) {
  .guide-table--stack thead {
    display: none;
  }

  .guide-table--stack tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
  }

  .guide-table--stack td {
    display: block;
    border-bottom: 1px solid var(--border);
    padding: 0.65rem 1rem;
  }

  .guide-table--stack td:last-child {
    border-bottom: none;
  }

  .guide-table--stack td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 0.25rem;
    font-family: var(--font-sans);
  }
}

/* FAQ */
.guide-faq details {
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.guide-faq summary {
  font-weight: 500;
  cursor: pointer;
  color: var(--navy);
  font-family: var(--font-sans);
}

.guide-faq summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.guide-faq details[open] summary {
  margin-bottom: 0.65rem;
}

/* Sidebar */
.guide-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

.guide-sidebar__box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.guide-sidebar__box h4 {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
}

.guide-sidebar__box a {
  display: block;
  font-size: 0.9rem;
  color: var(--slate);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}

.guide-sidebar__box a:last-child {
  border-bottom: none;
}

.guide-sidebar__box a:hover {
  color: var(--gold-dark);
}

.guide-sidebar__box p {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0;
}

/* TOC */
.guide-toc ul,
.guide-toc-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-toc li,
.guide-toc-mobile li {
  margin: 0;
}

.guide-toc a,
.guide-toc-mobile a {
  display: block;
  font-size: 0.85rem;
  color: var(--slate);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  line-height: 1.35;
}

.guide-toc a:last-child,
.guide-toc-mobile li:last-child a {
  border-bottom: none;
}

.guide-toc a:hover,
.guide-toc-mobile a:hover {
  color: var(--gold-dark);
}

.guide-toc-mobile {
  display: none;
  margin: 0 0 1.75rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
}

.guide-toc-mobile summary {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  cursor: pointer;
  font-weight: 500;
}

.guide-toc-mobile[open] summary {
  margin-bottom: 0.65rem;
}

/* CTA */
.guide-cta {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--navy);
  color: var(--ivory);
  border-radius: 8px;
  text-align: center;
}

.guide-cta h3 {
  color: var(--ivory);
  margin-top: 0;
}

.guide-cta p {
  color: rgba(248, 246, 242, 0.85);
  margin-bottom: 1.25rem;
}

.guide-cta .btn--primary {
  margin-right: 0.75rem;
}

.guide-cta .btn--ghost {
  color: var(--ivory);
  border-color: rgba(248, 246, 242, 0.35);
}

.guide-provisional {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1.1rem;
  background: rgba(184, 149, 106, 0.12);
  border: 1px dashed rgba(184, 149, 106, 0.5);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--slate);
}

.guide-provisional strong {
  color: var(--navy);
}

/* —— Hub: reading room —— */
.guides-hub {
  padding: 3rem 0 4rem;
}

.guides-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0 0 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.guides-pillars a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: color 0.2s, border-color 0.2s;
}

.guides-pillars a:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.guides-pillars__label {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-family: var(--font-sans);
  width: 100%;
  margin-bottom: 0.15rem;
}

.guides-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2.25rem;
}

.guides-chips a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.guides-chips a:hover,
.guides-chips a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--ivory);
}

.guides-series,
.guides-kits {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  margin-bottom: 3rem;
}

.guides-series h2,
.guides-kits h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1.25rem;
}


.guides-series__intro,
.guides-kits__intro {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  color: var(--text-muted, #5c5c5c);
  font-size: 1.02rem;
  line-height: 1.55;
}

.guides-series__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.guide-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.35rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.guide-tile:hover,
.guide-tile:focus-within {
  border-color: var(--gold);
  box-shadow: 0 8px 28px rgba(20, 28, 43, 0.06);
}

.guide-tile__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.65rem;
}

.guide-tile h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
  line-height: 1.25;
  color: var(--navy);
}

.guide-tile h3 a {
  color: inherit;
  text-decoration: none;
}

.guide-tile h3 a:hover {
  color: var(--gold-dark);
}

.guide-tile p {
  flex: 1;
  font-size: 0.92rem;
  color: var(--slate);
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

.guide-tile__link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.guide-tile__link:hover {
  color: var(--navy);
}

.guide-tile--provisional {
  border-style: dashed;
  background: var(--ivory);
}

.guide-tile--provisional .guide-tile__eyebrow::after {
  content: " · Provisional";
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.guides-kits__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.guide-kit {
  background: var(--navy);
  color: var(--ivory);
  border-radius: 8px;
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(184, 149, 106, 0.25);
}

.guide-kit__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 0.65rem;
}

.guide-kit h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  margin: 0 0 0.65rem;
  color: var(--ivory);
  line-height: 1.3;
}

.guide-kit h3 a {
  color: inherit;
  text-decoration: none;
}

.guide-kit h3 a:hover {
  color: var(--gold-light);
}

.guide-kit p {
  font-size: 0.9rem;
  color: rgba(248, 246, 242, 0.82);
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

.guide-kit__link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gold-light);
  text-decoration: none;
}

.guide-kit__link:hover {
  color: var(--ivory);
}

.guides-hub__enquire {
  margin-top: 0.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.guides-hub__enquire p {
  color: var(--slate);
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

/* —— Responsive —— */
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-sidebar {
    position: static;
  }

  .guide-toc-desktop {
    display: none;
  }

  .guide-toc-mobile {
    display: block;
  }

  .guides-series__grid,
  .guides-kits__grid {
    grid-template-columns: 1fr;
  }

  .guide-hero h1 {
    max-width: none;
  }
}

/* —— Print —— */
@media print {
  .skip-link,
  .header,
  .nav,
  .guide-sidebar,
  .guide-toc-mobile,
  .guide-cta .btn,
  .guides-chips,
  .guides-pillars,
  .guides-hub__enquire,
  .footer {
    display: none !important;
  }

  .guide-hero {
    background: none;
    color: #000;
    padding: 1rem 0;
  }

  .guide-hero .lead,
  .guide-meta,
  .guide-meta__chip {
    color: #333;
  }

  .guide-layout {
    display: block;
  }

  .guide-article {
    max-width: none;
  }

  .guide-quick-answer {
    border: 1px solid #ccc;
    background: #f7f7f7;
  }

  a[href]::after {
    content: none;
  }
}


.guide-kit--coming {
  opacity: 0.92;
  border-style: dashed;
}

.guide-kit__link--disabled {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-light);
  pointer-events: none;
}


.guide-kit__note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--slate-light);
}

.guide-kit__note code {
  font-size: 0.7rem;
}


/* —— Toolkit library (compact field kits) —— */
.guides-toolkit {
  scroll-margin-top: calc(var(--header-h) + 1rem);
  margin-bottom: 3rem;
}

.guides-toolkit h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--navy);
  margin: 0 0 1.25rem;
}

.guides-toolkit__intro {
  max-width: 42rem;
  margin: 0 0 1.25rem;
  color: var(--text-muted, #5c5c5c);
  font-size: 1.02rem;
  line-height: 1.55;
}

.guides-toolkit__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.guides-toolkit__chips a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.guides-toolkit__chips a:hover,
.guides-toolkit__chips a:focus-visible {
  border-color: var(--gold);
  color: var(--gold-dark);
  background: var(--ivory);
}

.guides-toolkit__chips a.is-active {
  background: var(--navy);
  color: var(--ivory);
  border-color: var(--navy);
}

.guides-toolkit__chips a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.guides-toolkit__disclaimer {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--slate);
  background: var(--ivory-dark);
  border-left: 3px solid var(--gold);
  border-radius: 0 6px 6px 0;
}

.guides-toolkit__disclaimer[hidden] {
  display: none !important;
}

.guides-toolkit__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.toolkit-card {
  display: flex;
  flex-direction: column;
  background: var(--ivory, #f8f6f2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.1rem 1.15rem 1.15rem;
}

.toolkit-card__pill {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.45rem;
}

.toolkit-card h3 {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--navy);
  margin: 0 0 0.45rem;
}

.toolkit-card__purpose {
  flex: 1;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--slate);
  margin: 0 0 0.9rem;
}

.toolkit-card__download {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gold-dark);
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.toolkit-card__download:hover {
  color: var(--navy);
}

.toolkit-card__guide {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--slate);
  text-decoration: none;
}

.toolkit-card__guide:hover {
  color: var(--navy);
  text-decoration: underline;
}

.toolkit-card[hidden] {
  display: none !important;
}

.guide-also-download {
  margin: 1.5rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.guide-also-download__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 0.55rem;
}

.guide-also-download ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.guide-also-download li {
  margin: 0;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}

.guide-also-download li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.guide-also-download a {
  color: var(--navy);
  text-decoration: none;
}

.guide-also-download a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .guides-toolkit__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .guides-toolkit__grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .guides-toolkit__chips {
    display: none !important;
  }
}

.toolkit-card a:focus-visible,
.guide-also-download a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}


/* Featured kits inside the unified toolkit grid */
.toolkit-card--featured {
  grid-column: span 1;
  padding: 1.35rem 1.3rem 1.4rem;
  background: var(--white);
  border-color: rgba(184, 149, 106, 0.55);
  box-shadow: 0 6px 22px rgba(20, 28, 43, 0.05);
}

.toolkit-card--featured h3 {
  font-size: 1.18rem;
}

.toolkit-card--featured .toolkit-card__purpose {
  font-size: 0.88rem;
}

.toolkit-card__featured {
  display: inline-block;
  align-self: flex-start;
  margin: 0 0 0.55rem;
  padding: 0.15rem 0.55rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(184, 149, 106, 0.22);
  border: 1px solid rgba(184, 149, 106, 0.45);
  border-radius: 999px;
}

@media (min-width: 901px) {
  .toolkit-card--featured {
    /* slightly taller presence without breaking the 3-col rhythm */
    min-height: 100%;
  }
}

