/* guide.css - single-guide article pages */

.guide-body {
  background: var(--bg, #F7F3EA);
  color: var(--ink, #1A2620);
  font-family: var(--font-body, "Inter", system-ui, sans-serif);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* ===== Top bar ===== */
.g-topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(14, 31, 24, 0.96);
  backdrop-filter: blur(12px);
  color: #F7F3EA;
  border-bottom: 1px solid rgba(247, 243, 234, 0.08);
}
.g-topbar__inner {
  max-width: 1320px; margin: 0 auto;
  padding: 14px 32px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px;
}
.g-topbar__logo { display: inline-flex; align-items: baseline; gap: 12px; color: inherit; text-decoration: none; }
.g-topbar__mark {
  width: 42px; height: 42px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  font-family: var(--font-display, Georgia, serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}
.g-topbar__word { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #F7F3EA; }
.g-topbar__nav { display: flex; gap: 26px; justify-content: center; align-items: center; }
.g-topbar__nav > a, .g-dd__btn {
  color: rgba(247, 243, 234, 0.74);
  text-decoration: none; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
  padding: 6px 0; display: inline-flex; align-items: center; gap: 6px;
  transition: color 180ms ease;
}
.g-topbar__nav > a:hover, .g-dd__btn:hover { color: #F7F3EA; }
.g-topbar__cta {
  background: #A46B30; color: #F7F3EA;
  padding: 10px 18px; border-radius: 999px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  white-space: nowrap;
  transition: background 180ms ease;
}
.g-topbar__cta:hover { background: #8d5a26; }

/* ===== Dropdown ===== */
.g-dd { position: relative; z-index: 100; }
.g-dd__menu {
  position: absolute; top: calc(100% + 14px); right: 50%; transform: translateX(50%) translateY(-6px);
  z-index: 1000;
  min-width: 360px; max-width: 92vw;
  background: #0E1F18; color: #F7F3EA;
  border: 1px solid rgba(212, 165, 114, 0.18);
  border-radius: 14px;
  padding: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  display: grid; grid-template-columns: 1fr; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}
.g-dd.open .g-dd__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(50%) translateY(0);
  transition-delay: 0s;
}
.g-dd__item {
  display: grid; grid-template-columns: 90px 1fr; gap: 10px; align-items: center;
  padding: 10px 14px; border-radius: 10px;
  color: rgba(247, 243, 234, 0.88); text-decoration: none;
  font-size: 13px; letter-spacing: normal; text-transform: none;
  transition: background 160ms ease, color 160ms ease;
}
.g-dd__item:hover { background: rgba(212, 165, 114, 0.12); color: #F7F3EA; }
.g-dd__cat {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #D4A572;
}
.g-dd__t { font-weight: 500; }
.g-dd__desc { font-size: 11.5px; color: rgba(247, 243, 234, 0.6); line-height: 1.4; margin-top: 2px; display: block; }
.g-dd__item--rich { display: flex; flex-direction: column; gap: 0; }
.g-dd__menu--services { min-width: 320px; }

/* 3-column variant (matches homepage Guides dropdown) */
.g-dd__menu.g-dd__menu--cols {
  display: grid; grid-template-columns: repeat(3, minmax(180px, 1fr)); gap: 22px;
  min-width: 620px; max-width: 92vw; padding: 22px 24px;
  border-radius: 16px;
}
.g-dd__col { display: flex; flex-direction: column; gap: 6px; }
.g-dd__cat--head {
  margin-bottom: 6px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(212, 165, 114, 0.18);
}
.g-dd__link {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: rgba(247, 243, 234, 0.82);
  font-size: 13px; line-height: 1.35; text-decoration: none;
  text-transform: none; letter-spacing: normal;
  transition: background 160ms ease, color 160ms ease;
}
.g-dd__link:hover { background: rgba(212, 165, 114, 0.12); color: #F7F3EA; }
@media (max-width: 720px) {
  .g-dd__menu.g-dd__menu--cols { grid-template-columns: 1fr; min-width: 280px; gap: 14px; padding: 16px; }
  .g-topbar__cta { padding: 7px 12px; font-size: 10.5px; letter-spacing: 0.08em; }
}

/* ===== Article ===== */
.guide-main { max-width: 980px; margin: 0 auto; padding: 56px 28px 80px; }

.g-crumbs {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(26, 38, 32, 0.6); margin-bottom: 36px;
}
.g-crumbs a { color: inherit; text-decoration: none; }
.g-crumbs a:hover { color: #A46B30; }
.g-crumbs span { color: #1A2620; }

.g-hero { padding: 28px 0 48px; border-bottom: 1px solid rgba(26, 38, 32, 0.1); margin-bottom: 56px; }
.g-hero__eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #A46B30; margin-bottom: 22px;
}
.g-hero__h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.08; font-weight: 400; letter-spacing: -0.02em;
  margin: 0 0 24px;
}
.g-hero__h1 strong { font-weight: 500; }
.g-hero__h1 em { font-style: italic; color: #A46B30; }
.g-hero__lede {
  font-size: 19px; line-height: 1.55; color: rgba(26, 38, 32, 0.78);
  max-width: 720px; margin: 0 0 32px;
}
.g-hero__byline {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 12px 18px; border-radius: 999px;
  background: rgba(14, 31, 24, 0.04); border: 1px solid rgba(26, 38, 32, 0.08);
}
.g-hero__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: #0E1F18 url('/avo/assets/img/avo-headshot.jpg') center/cover no-repeat;
  background-position: center 20%;
  color: transparent; font-size: 0; overflow: hidden;
  border: 2px solid rgba(212, 165, 114, 0.35);
  flex-shrink: 0;
}
.g-hero__byline strong { display: block; font-size: 14px; }
.g-hero__byline span { font-size: 12px; color: rgba(26, 38, 32, 0.6); }

.g-hero--split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.g-hero--split .g-hero__text { min-width: 0; }
.g-hero__media { margin: 0; min-width: 0; }
.g-hero__media img {
  width: 100%; height: auto; max-height: 520px; object-fit: cover;
  border-radius: 6px; display: block;
  box-shadow: 0 24px 60px -28px rgba(14, 31, 24, 0.45);
}
@media (max-width: 820px) {
  .g-hero--split { grid-template-columns: 1fr; }
  .g-hero__media { order: -1; }
  .g-hero__media img { max-height: 360px; }
}

/* Section split layout (image beside paragraphs) */
.g-section--split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.g-section--split .g-section__body { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.g-section--split.g-section--split-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.g-section--split.g-section--split-reverse .g-section__body { order: 2; }
.g-section__media { margin: 0; min-width: 0; }
.g-section__media img {
  width: 100%; height: auto; max-height: 460px; object-fit: cover;
  border-radius: 6px; display: block;
  box-shadow: 0 20px 50px -24px rgba(14, 31, 24, 0.4);
}
@media (max-width: 820px) {
  .g-section--split,
  .g-section--split.g-section--split-reverse { grid-template-columns: 1fr; }
  .g-section--split.g-section--split-reverse .g-section__body { order: 0; }
  .g-section__media img { max-height: 320px; }
}

/* ===== Article body ===== */
.g-article { display: flex; flex-direction: column; gap: 56px; }
.g-intro { display: flex; flex-direction: column; gap: 16px; font-size: 18px; line-height: 1.65; }
.g-intro p { margin: 0; }
.g-intro em { color: rgba(26, 38, 32, 0.65); }

.g-section { display: flex; flex-direction: column; gap: 24px; }
.g-section__h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 400; line-height: 1.2; margin: 0;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(164, 107, 48, 0.25);
  position: relative;
}
.g-section__h2::before {
  content: ""; position: absolute; bottom: -1px; left: 0;
  width: 60px; height: 2px; background: #A46B30;
}
.g-section p { margin: 0; font-size: 17px; line-height: 1.7; color: rgba(26, 38, 32, 0.86); }
.g-section ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 17px; line-height: 1.65; }
.g-section blockquote {
  margin: 0; padding: 18px 22px;
  background: rgba(212, 165, 114, 0.12);
  border-left: 3px solid #A46B30;
  border-radius: 0 8px 8px 0;
  font-size: 17px; line-height: 1.6; font-style: italic;
}
.g-h3 {
  font-family: Georgia, serif; font-weight: 500; font-size: 21px;
  margin: 8px 0 0;
}

/* ===== Flashcards ===== */
.g-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.g-cards--num { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 720px) { .g-cards { grid-template-columns: 1fr; } }
.g-card {
  background: #FFFDF7;
  border: 1px solid rgba(26, 38, 32, 0.08);
  border-radius: 14px;
  padding: 22px 22px 20px;
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.g-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(14, 31, 24, 0.08);
  border-color: rgba(164, 107, 48, 0.35);
}
.g-card--num { padding-top: 28px; }
.g-card__num {
  position: absolute; top: -12px; left: 18px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #A46B30; color: #F7F3EA;
  display: inline-grid; place-items: center;
  font-family: Georgia, serif; font-style: italic; font-size: 16px;
}
.g-card__h3 {
  font-family: Georgia, serif; font-size: 18px; font-weight: 500;
  margin: 0 0 10px; color: #0E1F18; line-height: 1.3;
}
.g-card__body p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; color: rgba(26, 38, 32, 0.82); }
.g-card__body p:last-child { margin-bottom: 0; }
.g-card__body ul { margin: 6px 0 0; padding-left: 18px; font-size: 15px; line-height: 1.55; }

/* ===== FAQs ===== */
.g-faqs {
  margin-top: 80px;
  padding: 48px 36px;
  background: #FFFDF7;
  border-radius: 20px;
  border: 1px solid rgba(26, 38, 32, 0.08);
}
.g-faqs__eyebrow {
  display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #A46B30; margin-bottom: 14px;
}
.g-faqs__h2 {
  font-family: Georgia, serif; font-weight: 400; font-size: clamp(26px, 3vw, 34px);
  margin: 0 0 32px; line-height: 1.2;
}
.g-faq__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.g-faq__item { border-bottom: 1px solid rgba(26, 38, 32, 0.08); }
.g-faq__q {
  width: 100%; text-align: left; background: transparent; border: 0; cursor: pointer;
  padding: 18px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: inherit; font-size: 16px; font-weight: 500; color: #0E1F18;
  line-height: 1.4;
}
.g-faq__q:hover { color: #A46B30; }
.g-faq__plus {
  flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(164, 107, 48, 0.1); color: #A46B30;
  display: inline-grid; place-items: center; font-size: 18px; line-height: 1;
  transition: transform 220ms ease, background 220ms ease;
}
.g-faq__item.open .g-faq__plus { transform: rotate(45deg); background: #A46B30; color: #F7F3EA; }
.g-faq__a {
  max-height: 0; overflow: hidden;
  transition: max-height 320ms ease, padding 320ms ease;
}
.g-faq__item.open .g-faq__a { max-height: 2000px; padding: 0 0 22px; }
.g-faq__a p {
  margin: 0; font-size: 15px; line-height: 1.65; color: rgba(26, 38, 32, 0.82);
}

/* ===== CTA ===== */
.g-cta {
  margin-top: 64px;
  padding: 56px 32px;
  background: linear-gradient(135deg, #0E1F18 0%, #1a3528 100%);
  color: #F7F3EA;
  border-radius: 20px;
  text-align: center;
}
.g-cta h2 {
  font-family: Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.5vw, 38px);
  margin: 0 0 12px;
}
.g-cta p { margin: 0 0 28px; color: rgba(247, 243, 234, 0.78); font-size: 16px; }
.g-cta__row { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.g-cta__btn {
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease;
}
.g-cta__btn--copper { background: #A46B30; color: #F7F3EA; }
.g-cta__btn--copper:hover { background: #c08043; transform: translateY(-2px); }
.g-cta__btn--ghost { background: transparent; color: #F7F3EA; border: 1px solid rgba(247, 243, 234, 0.3); }
.g-cta__btn--ghost:hover { background: rgba(247, 243, 234, 0.08); }

/* ===== Related ===== */
.g-related { margin-top: 64px; }
.g-related__h2 {
  font-family: Georgia, serif; font-weight: 400; font-size: 24px;
  margin: 0 0 24px;
}
.g-related__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px;
}
.g-related__card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 18px 20px;
  background: #FFFDF7;
  border: 1px solid rgba(26, 38, 32, 0.08);
  border-radius: 12px;
  text-decoration: none; color: #0E1F18;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.g-related__card:hover {
  transform: translateY(-2px); border-color: rgba(164, 107, 48, 0.4);
  box-shadow: 0 12px 30px rgba(14, 31, 24, 0.06);
}
.g-related__cat { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #A46B30; }
.g-related__t { font-family: Georgia, serif; font-size: 16px; font-weight: 500; }

/* ===== Footer ===== */
.g-foot {
  margin-top: 32px;
  background: #0E1F18; color: rgba(247, 243, 234, 0.7);
  padding: 28px 0;
}
.g-foot__inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
.g-foot a { color: #D4A572; text-decoration: none; }

/* ===== Mobile ===== */
@media (max-width: 880px) {
  .g-topbar__inner { grid-template-columns: 1fr auto; padding: 12px 18px; }
  .g-topbar__nav > a:not(.g-dd) { display: none; }
  .g-topbar__nav { gap: 14px; }
  .g-topbar__word { display: none; }
  .guide-main { padding: 36px 18px 24px; }
  .g-foot { margin-top: 16px; }
  .g-faqs { padding: 32px 20px; }
  .g-dd__menu { right: 0; transform: translateY(-6px); }
  .g-dd.open .g-dd__menu { transform: translateY(0); }
}

/* ===== Language switcher (guide pages) ===== */
.g-topbar__inner { grid-template-columns: auto 1fr auto auto; }
.g-lang { position: relative; display: inline-flex; align-items: center; }
.g-lang__btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1px solid rgba(247, 243, 234, 0.28);
  color: #F7F3EA;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: all 180ms ease;
  opacity: 0.92;
}
.g-lang__btn:hover { opacity: 1; color: #D4A572; border-color: #D4A572; }
.g-lang__flag {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #A46B30;
  color: #F7F3EA;
  font-weight: 600;
  font-size: 9px;
  line-height: 18px;
  text-align: center;
  letter-spacing: 0;
}
.g-lang__caret { transition: transform 180ms ease; }
.g-lang.open .g-lang__caret { transform: rotate(180deg); }
.g-lang__menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 280px;
  background: #F7F3EA;
  color: #1A2620;
  border: 1px solid rgba(14, 31, 24, 0.12);
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  padding: 8px;
  z-index: 100;
  display: flex; flex-direction: column;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}
.g-lang.open .g-lang__menu {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.g-lang__item {
  display: grid;
  grid-template-columns: 36px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  text-align: start;
  cursor: pointer;
  border-radius: 8px;
  transition: background 160ms ease;
  font-family: inherit;
  color: #1A2620;
  text-transform: none;
  letter-spacing: normal;
}
.g-lang__item:hover { background: rgba(14, 31, 24, 0.06); }
.g-lang__item.on { background: rgba(212, 165, 114, 0.12); }
.g-lang__item.on .g-lang__chk { opacity: 1; color: #A46B30; }
.g-lang__code {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #A46B30;
  font-weight: 600;
}
.g-lang__native {
  display: block;
  font-size: 16px;
  line-height: 1.15;
  color: #1A2620;
  font-weight: 500;
}
.g-lang__en {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 38, 32, 0.6);
  margin-top: 3px;
}
.g-lang__chk {
  opacity: 0;
  color: rgba(26, 38, 32, 0.3);
  font-size: 14px;
}

@media (max-width: 820px) {
  .g-topbar__inner { grid-template-columns: auto 1fr auto; gap: 12px; }
  .g-lang { display: none; }
}

/* ==================================================
   v2 visual primitives (2026-04-22 redesign)
   ================================================== */

/* Drop-cap intro */
.g-intro--lead p:first-of-type::first-letter {
  float: left;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 64px;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: #A46B30;
  font-weight: 500;
}

/* Section variants */
.g-section--tinted {
  background: #FFFDF7;
  border: 1px solid rgba(26, 38, 32, 0.08);
  border-radius: 16px;
  padding: 36px 32px;
}
.g-section--dark {
  background: linear-gradient(135deg, #0E1F18 0%, #1a3528 100%);
  color: #F7F3EA;
  border-radius: 16px;
  padding: 40px 32px;
}
.g-section--dark .g-section__h2 { color: #F7F3EA; border-bottom-color: rgba(212, 165, 114, 0.3); }
.g-section--dark p { color: rgba(247, 243, 234, 0.84); }
.g-section--dark strong { color: #D4A572; }

/* Eyebrow on section */
.g-section__eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: #A46B30; margin-bottom: 4px;
}

/* Pull quote */
.g-pullquote {
  margin: 8px 0;
  padding: 28px 32px 28px 36px;
  background: linear-gradient(135deg, rgba(212, 165, 114, 0.14) 0%, rgba(212, 165, 114, 0.04) 100%);
  border-left: 4px solid #A46B30;
  border-radius: 0 14px 14px 0;
  position: relative;
}
.g-pullquote::before {
  content: "\201C";
  position: absolute;
  top: -8px; left: 18px;
  font-family: Georgia, serif;
  font-size: 80px; line-height: 1;
  color: rgba(164, 107, 48, 0.3);
}
.g-pullquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px !important;
  line-height: 1.45 !important;
  font-style: italic;
  color: #0E1F18 !important;
  margin: 0 !important;
}
.g-pullquote cite {
  display: block;
  margin-top: 14px;
  font-family: var(--font-body, Inter, system-ui, sans-serif);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #A46B30;
}

/* Stat tiles - horizontal rows (label left, content right) */
.g-stats {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 8px 0;
}
.g-stat {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  align-items: baseline;
  background: #FFFDF7;
  border: 1px solid rgba(26, 38, 32, 0.08);
  border-radius: 14px;
  padding: 20px 24px 20px 28px;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease;
}
.g-stat:hover { background: #FBF6EC; }
.g-stat::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 4px; height: 100%;
  background: #A46B30;
}
.g-stat__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(26, 38, 32, 0.55);
  line-height: 1.4;
  padding-top: 4px;
}
.g-stat__num {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.55;
  font-weight: 400;
  color: #0E1F18;
  letter-spacing: -0.005em;
}
.g-stat__num em { color: #A46B30; font-style: normal; font-weight: 500; }
.g-section--dark .g-stat {
  background: rgba(247, 243, 234, 0.04);
  border-color: rgba(212, 165, 114, 0.18);
}
.g-section--dark .g-stat:hover { background: rgba(247, 243, 234, 0.07); }
.g-section--dark .g-stat__num { color: #F7F3EA; }
.g-section--dark .g-stat__label { color: rgba(247, 243, 234, 0.5); }
@media (max-width: 720px) {
  .g-stat { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .g-stat__label { padding-top: 0; }
}

/* Callout boxes (info / warn / note) */
.g-callout {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid;
  margin: 8px 0;
}
.g-callout__icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-grid; place-items: center;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 500;
}
.g-callout__body p { margin: 0; font-size: 15px !important; line-height: 1.6 !important; }
.g-callout__body p + p { margin-top: 8px; }
.g-callout__title {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-weight: 600;
}
.g-callout--info {
  background: rgba(14, 31, 24, 0.04);
  border-color: rgba(14, 31, 24, 0.12);
}
.g-callout--info .g-callout__icon { background: #0E1F18; color: #D4A572; }
.g-callout--info .g-callout__title { color: #0E1F18; }

.g-callout--warn {
  background: rgba(196, 102, 51, 0.07);
  border-color: rgba(196, 102, 51, 0.25);
}
.g-callout--warn .g-callout__icon { background: #A46B30; color: #F7F3EA; }
.g-callout--warn .g-callout__title { color: #8d4a1e; }

.g-callout--tip {
  background: rgba(212, 165, 114, 0.1);
  border-color: rgba(212, 165, 114, 0.3);
}
.g-callout--tip .g-callout__icon { background: #D4A572; color: #0E1F18; }
.g-callout--tip .g-callout__title { color: #8d5a26; }

/* Numbered scenario cards (full-width) */
.g-scenarios {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.g-scenario {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  align-items: start;
  padding: 24px 26px 24px 22px;
  background: #FFFDF7;
  border: 1px solid rgba(26, 38, 32, 0.08);
  border-radius: 14px;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}
.g-scenario:hover {
  border-color: rgba(164, 107, 48, 0.4);
  box-shadow: 0 16px 40px rgba(14, 31, 24, 0.08);
  transform: translateY(-2px);
}
.g-scenario__num {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 48px;
  line-height: 1;
  color: #A46B30;
  font-weight: 400;
  text-align: center;
  padding-top: 4px;
  border-right: 1px solid rgba(164, 107, 48, 0.2);
}
.g-scenario__body h3 {
  font-family: Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 8px;
  color: #0E1F18;
  line-height: 1.3;
}
.g-scenario__body p {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
  color: rgba(26, 38, 32, 0.84) !important;
}
.g-scenario__body p + p { margin-top: 10px !important; }

@media (max-width: 600px) {
  .g-scenario { grid-template-columns: 1fr; gap: 8px; padding: 22px; }
  .g-scenario__num { text-align: left; border-right: 0; padding-top: 0; font-size: 36px; }
}

/* Comparison row (this vs that) */
.g-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  margin: 8px 0;
}
.g-compare__col {
  background: #FFFDF7;
  border: 1px solid rgba(26, 38, 32, 0.08);
  border-radius: 14px;
  padding: 22px 22px 20px;
}
.g-compare__col--accent {
  background: #0E1F18;
  color: #F7F3EA;
  border-color: #0E1F18;
}
.g-compare__label {
  display: block;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #A46B30;
  margin-bottom: 10px;
}
.g-compare__col--accent .g-compare__label { color: #D4A572; }
.g-compare__val {
  display: block;
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
  line-height: 1.1;
}
.g-compare__sub {
  display: block;
  font-size: 13px;
  color: rgba(26, 38, 32, 0.66);
  line-height: 1.5;
}
.g-compare__col--accent .g-compare__sub { color: rgba(247, 243, 234, 0.7); }
.g-compare__sep {
  align-self: center;
  font-family: Georgia, serif;
  font-style: italic;
  color: #A46B30;
  font-size: 22px;
  padding: 0 6px;
}
@media (max-width: 600px) {
  .g-compare { grid-template-columns: 1fr; }
  .g-compare__sep { padding: 4px 0; }
}

/* Checklist */
.g-checklist {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px !important;
}
.g-checklist li {
  position: relative;
  padding: 14px 16px 14px 46px !important;
  background: #FFFDF7;
  border: 1px solid rgba(26, 38, 32, 0.08);
  border-radius: 10px;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(26, 38, 32, 0.86);
}
.g-checklist li::before {
  content: "";
  position: absolute;
  left: 16px; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border-radius: 50%;
  background: #A46B30;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8' fill='none'><path d='M1 4l3 3 5-6' stroke='%23F7F3EA' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
}

/* Section divider with ornament */
.g-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 8px 0;
  color: #A46B30;
}
.g-divider::before,
.g-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(164, 107, 48, 0.25);
}
.g-divider span {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* Meta strip (read time / updated / author) */
.g-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(26, 38, 32, 0.08);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(26, 38, 32, 0.55);
}
.g-meta strong { color: #A46B30; font-weight: 600; }

/* Section number badge prefix on H2 (town-page rebuild v3) */
.g-section__num {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.55em;
  font-weight: 500;
  color: #A46B30;
  background: rgba(164, 107, 48, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: 14px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}
.g-section--dark .g-section__num {
  color: #D4A572;
  background: rgba(212, 165, 114, 0.15);
}

/* Floated inline figures within guide sections */
.g-figure { margin: 0 0 1rem 0; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px -12px rgba(0,0,0,0.25); }
.g-figure img { display: block; width: 100%; height: auto; }
@media (min-width: 768px) {
  .g-figure--right { float: right; width: 42%; max-width: 420px; margin: 0.25rem 0 1rem 1.5rem; shape-outside: margin-box; }
  .g-figure--left  { float: left;  width: 42%; max-width: 420px; margin: 0.25rem 1.5rem 1rem 0; shape-outside: margin-box; }
}
.g-section::after { content: ""; display: block; clear: both; }

/* Inline pair: paragraph beside image (replaces float for sections with mixed content) */
.g-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; align-items: center; margin: 0 0 8px; }
.g-pair__text { min-width: 0; }
.g-pair__media { margin: 0; min-width: 0; }
.g-pair__media img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: 12px; box-shadow: 0 20px 44px -18px rgba(14, 31, 24, 0.4); }
@media (min-width: 720px) {
  .g-pair--media-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .g-pair--media-left  { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .g-pair--media-left .g-pair__media { order: -1; }
}

/* Two-up image gallery (e.g. recently helped buyers) */
.g-gallery2 { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 20px auto 8px; max-width: 760px; }
.g-gallery2 figure { margin: 0; display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 12px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: 0 16px 36px -16px rgba(14, 31, 24, 0.35); }
.g-gallery2 img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; box-shadow: none; }
@media (min-width: 720px) {
  .g-gallery2 { grid-template-columns: 1fr 1fr; gap: 20px; }
}
