/* ==========================================================================
   Standfast — the guide hub.

   Reference typography: long-form, generous, quiet. These pages are read by a
   churchwarden at half past nine at night, so the measure is narrow, the type is
   large, and nothing on the page shouts. No red, no alarm iconography — a person
   arriving here is already worried enough.
   ========================================================================== */

.guide {
  background: var(--paper);
  padding: var(--s-7) 0 var(--s-10);
}

.guide__wrap {
  max-width: 1020px;
}

/* ------------------------------------------------------------------ crumbs */
.crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: var(--s-6);
}
.crumbs a {
  color: var(--green-700);
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs span[aria-current] {
  color: var(--muted);
}

/* ------------------------------------------------------------------ article */
.guide__article {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-8) var(--s-8) var(--s-7);
  box-shadow: 0 1px 2px rgba(22, 48, 42, 0.04);
}

@media (max-width: 700px) {
  .guide__article {
    padding: var(--s-6) var(--s-5);
  }
}

.guide__head {
  max-width: var(--readw);
  border-bottom: 1px solid var(--rule);
  padding-bottom: var(--s-6);
  margin-bottom: var(--s-6);
}

.guide__head h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: var(--green-900);
  margin: var(--s-4) 0 var(--s-4);
}

.guide__standfirst {
  font-family: var(--serif);
  font-size: 1.24rem;
  line-height: 1.62;
  color: var(--ink-soft);
  margin: 0 0 var(--s-5);
}

.guide__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.9rem;
  color: var(--muted-light);
  margin: 0;
}

/* ------------------------------------------------------------------ body */
.guide__body {
  max-width: var(--readw);
}

.guide__body p,
.guide__body li {
  font-size: 1.09rem;
  line-height: 1.78;
  color: var(--ink-soft);
}

.guide__body > p {
  margin: 0 0 var(--s-5);
}

.guide__lede {
  font-size: 1.18rem !important;
  color: var(--ink) !important;
  line-height: 1.7 !important;
}

.guide__body h2 {
  font-family: var(--serif);
  font-size: 1.62rem;
  line-height: 1.28;
  color: var(--green-900);
  margin: var(--s-8) 0 var(--s-4);
  padding-top: var(--s-2);
}

.guide__body h3 {
  font-family: var(--sans);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--green-800);
  margin: 0 0 var(--s-3);
  letter-spacing: -0.005em;
}

.guide__body strong {
  color: var(--ink);
  font-weight: 600;
}

.guide__body a {
  color: var(--green-700);
  text-decoration-color: var(--green-200);
  text-underline-offset: 3px;
}

.guide__body ul,
.guide__body ol {
  margin: 0 0 var(--s-5);
  padding-left: 1.3em;
}
.guide__body li {
  margin-bottom: var(--s-3);
  padding-left: 4px;
}
.guide__body li::marker {
  color: var(--green-500);
  font-weight: 600;
}

/* ------------------------------------------------------------- callout box */
.guide__box {
  background: var(--green-050);
  border: 1px solid var(--green-200);
  border-radius: var(--radius);
  padding: var(--s-5) var(--s-6);
  margin: var(--s-6) 0;
}
.guide__box h3 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--green-700);
  margin-bottom: var(--s-4);
}
.guide__box ul {
  margin-bottom: 0;
}
.guide__box ul:last-child li:last-child {
  margin-bottom: 0;
}
.guide__box-foot {
  margin: var(--s-4) 0 0 !important;
  font-size: 0.98rem !important;
  color: var(--muted) !important;
}

.guide__box--amber {
  background: var(--amber-soft);
  border-color: var(--sand-deep);
}
.guide__box--amber h3 {
  color: var(--amber);
}
.guide__box--amber p:last-child {
  margin-bottom: 0;
}

.guide__big {
  font-family: var(--serif);
  font-size: 1.3rem !important;
  line-height: 1.5 !important;
  color: var(--green-900) !important;
  margin: 0 !important;
}

/* A quiet aside — used for the honest notes ("nothing is late", "why write it down"). */
.guide__note {
  border-left: 3px solid var(--green-500);
  background: var(--paper-2);
  padding: var(--s-4) var(--s-5);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: var(--s-6) 0;
}
.guide__note,
.guide__note p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------ table */
.guide__table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s-5) 0 var(--s-6);
  font-size: 1.02rem;
}
.guide__table th {
  text-align: left;
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 600;
  padding: 0 var(--s-4) var(--s-3) 0;
  border-bottom: 1.5px solid var(--rule-strong);
}
.guide__table td {
  padding: var(--s-4) var(--s-4) var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-soft);
  line-height: 1.62;
  vertical-align: top;
}
.guide__table tr:last-child td {
  border-bottom: 0;
}

/* ------------------------------------------------------------- checklist */
.guide__check {
  margin: var(--s-6) 0;
}
.guide__check-item {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: var(--s-4);
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}
.guide__check-item:last-child {
  border-bottom: 0;
}
.guide__check-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
}
.guide__check-item h3 {
  font-size: 1.12rem;
  color: var(--green-900);
  margin-bottom: var(--s-2);
}
.guide__check-item p:last-child,
.guide__check-item ul:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------------------ CTA */
.guide__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
  flex-wrap: wrap;
  background: var(--green-900);
  border-radius: var(--radius);
  padding: var(--s-6) var(--s-7);
  margin: var(--s-8) 0 var(--s-4);
}
.guide__cta h3 {
  font-family: var(--serif);
  font-size: 1.42rem;
  color: var(--white);
  margin: 0 0 var(--s-2);
}
.guide__cta p {
  color: var(--green-200);
  margin: 0;
  max-width: 46ch;
  font-size: 1.02rem;
  line-height: 1.65;
}
.guide__cta .btn--primary {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
  flex-shrink: 0;
}
.guide__cta .btn--primary:hover {
  background: var(--green-100);
  border-color: var(--green-100);
}

/* ------------------------------------------------------------------ faq */
.guide__faq {
  max-width: var(--readw);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
}
.guide__faq h2,
.guide__sources h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--green-900);
  margin: 0 0 var(--s-5);
}
.guide__q {
  border-bottom: 1px solid var(--rule);
  padding: var(--s-4) 0;
}
.guide__q summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--green-800);
  font-size: 1.04rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
}
.guide__q summary::-webkit-details-marker {
  display: none;
}
.guide__q summary::after {
  content: '+';
  color: var(--green-500);
  font-weight: 400;
  font-size: 1.3rem;
  line-height: 1;
}
.guide__q[open] summary::after {
  content: '–';
}
.guide__q p {
  margin: var(--s-3) 0 var(--s-2);
  color: var(--ink-soft);
  line-height: 1.72;
  max-width: 66ch;
}

/* ------------------------------------------------------------- sources */
.guide__sources {
  max-width: var(--readw);
  margin-top: var(--s-8);
  padding-top: var(--s-6);
  border-top: 1px solid var(--rule);
}
.guide__sources > p {
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: var(--s-5);
}
.guide__sources ul {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-5);
}
.guide__sources li {
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.guide__sources li a {
  color: var(--green-700);
  font-weight: 600;
  text-underline-offset: 3px;
}
.guide__source-pub {
  font-size: 0.86rem;
  color: var(--muted-light);
}
.guide__source-note {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}
.guide__reviewed {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.guide__disclaimer {
  background: var(--paper-2);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-4) var(--s-5);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: var(--readw);
  margin-top: var(--s-7);
}
.guide__disclaimer strong {
  color: var(--ink);
}

/* ------------------------------------------------------------- related */
.guide__related {
  margin-top: var(--s-8);
}
.guide__related h2 {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--green-900);
  margin: 0 0 var(--s-5);
}
.guide__related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--s-4);
}

.guide-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-5);
  text-decoration: none;
  transition:
    border-color 0.16s ease,
    transform 0.16s ease,
    box-shadow 0.16s ease;
}
.guide-card:hover {
  border-color: var(--green-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(22, 48, 42, 0.07);
}
.guide-card__kicker {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
  font-weight: 600;
}
.guide-card h3,
.guide-card h2 {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--green-900);
  margin: var(--s-3) 0 var(--s-2);
}
.guide-card p {
  font-size: 0.99rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}

/* --------------------------------------------------------------- the hub */
.guide__hub-head {
  max-width: 760px;
  margin-bottom: var(--s-8);
}
.guide__hub-head h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--green-900);
  margin: var(--s-4) 0 var(--s-4);
}

.guide__hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--s-4);
}
.guide-card--lg {
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
}
.guide-card--lg h2 {
  font-size: 1.42rem;
}
.guide-card--lg p {
  flex: 1;
  margin-bottom: var(--s-4);
}
.guide-card__go {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--green-700);
}

.guide__hub-foot {
  margin-top: var(--s-8);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: var(--s-7);
  max-width: 860px;
}
.guide__hub-foot h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--green-900);
  margin: 0 0 var(--s-5);
}
.guide__hub-foot ul {
  padding-left: 1.2em;
  margin: 0 0 var(--s-5);
}
.guide__hub-foot li {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: var(--s-3);
}
.guide__hub-foot li::marker {
  color: var(--green-500);
}
.guide__hub-foot p {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}
.guide__hub-foot a {
  color: var(--green-700);
  font-weight: 600;
}
