/* ==========================================================================
   gen6-relocate-resources.css
   2026-10-12 director (SPEC_CONTENT_SURFACES.md Job 4): the premium content
   surfaces for /relocate/ (page-relocate.php) and /resources/ (page-resources.php).

   Scope: everything is namespaced g6rr- and only these two templates enqueue it
   (wp_enqueue_style in the template body, so it prints last in <head> and wins the
   equal-specificity cascade against gen6.css / gen6-quality.css).

   House tokens only, all read from gen6.css :root and the .gen6 overrides in
   gen6-quality.css (ink #095e93, channel #2b80bb, action #1d5a87, paper #FAFBFC,
   mist #EEF3F7, line, slate) plus the Cormorant / Manrope pair. No new palette,
   no new font, no new framework.

   One kicker per page: the hero .g6rr-kicker. Every other small label on these
   pages is a plain .g6rr-label or list index, deliberately not an eyebrow class.
   One italic per page: the H1 <em>. No other <em> is served.
   ========================================================================== */

/* 1. container ------------------------------------------------------------ */
.g6rr-wrap { width: min(100% - 40px, 1200px); margin-inline: auto; }
@media (min-width: 800px) { .g6rr-wrap { width: min(100% - 80px, 1200px); } }

/* 2. relocate hero (owned place photo) ------------------------------------ */
.g6rr-hero { position: relative; display: grid; align-items: end; overflow: hidden; background: #08213a; isolation: isolate; }.g6rr-hero-media { position: absolute; inset: 0; z-index: 0; }
.g6rr-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; display: block; }
.g6rr-hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8,33,58,.28) 0%, rgba(8,33,58,.52) 40%, rgba(8,33,58,.88) 100%);
}
.g6rr-hero--relocate { min-height: clamp(540px, 76vh, 800px); padding: clamp(64px, 10vh, 110px) 0 clamp(48px, 7vh, 76px); }
.g6rr-hero-in { position: relative; z-index: 2; }

.g6rr-kicker {
  margin: 0; font: 600 12.5px/1.2 var(--g6-ui, "Manrope", sans-serif);
  letter-spacing: .15em; text-transform: uppercase; color: #9ed4f2;
}
.g6rr-hero h1 {
  margin: .7rem 0 0; max-width: 22ch; color: #fff;
  font: 500 clamp(40px, 5.4vw, 66px)/1.06 var(--g6-display, Georgia, serif);
  text-wrap: balance; letter-spacing: -.01em;
}
.g6rr-hero h1 em { font-style: italic; color: #9ed4f2; }
.g6rr-hero-lede { margin: 1.1rem 0 0; max-width: 62ch; color: rgba(255,255,255,.84); font: 400 17px/1.65 var(--g6-ui, sans-serif); }

.g6rr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3vw, 34px); }
/* Buttons that sit on a photo or a navy band use .g6rr-btn, not .btn-lux. The body-loaded
   gen6-actions.css force-colors every .btn-lux (and .btn-lux-outline) to --g6-action-bg
   #1d5a87 with !important at specificity (1,2,0), which paints a navy pill on a navy band and
   ink type straight onto a bright photo. No other sheet targets .g6rr-btn, so this wins
   honestly. The .btn-lux on the white artifact card is left alone: that one is on light paper
   and the house action blue is correct there. */
#main-content .g6rr-btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .85rem 1.7rem; border: 1px solid #fff; border-radius: 999px; background: #fff; color: var(--g6-ink, #095e93); font: 700 .95rem/1 var(--g6-ui, sans-serif); letter-spacing: .01em; text-decoration: none; transition: background var(--g6-motion, 180ms), color var(--g6-motion, 180ms), border-color var(--g6-motion, 180ms), transform var(--g6-motion, 180ms); }
#main-content .g6rr-btn:hover, #main-content .g6rr-btn:focus-visible { background: var(--sky-700, #095e93); border-color: var(--sky-700, #095e93); color: #fff; transform: translateY(-1px); }
#main-content .g6rr-btn--ghost { background: rgba(8, 33, 58, .62); border-color: rgba(255, 255, 255, .9); color: #fff; }
#main-content .g6rr-btn--ghost:hover, #main-content .g6rr-btn--ghost:focus-visible { background: #fff; border-color: #fff; color: var(--g6-ink, #095e93); }

/* 3. virtual-tour facts row (kept from the old hero) ----------------------- */
.g6rr-facts { background: var(--g6-paper, #FAFBFC); border-bottom: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-facts-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); margin: 0; padding: 0; list-style: none; }
.g6rr-facts-row > li { padding: clamp(20px, 2.6vw, 30px) clamp(14px, 2vw, 26px) clamp(20px, 2.6vw, 30px) 0; }
.g6rr-facts-row > li + li { border-left: 1px solid var(--g6-line, #dbe8f2); padding-left: clamp(18px, 2.6vw, 34px); }
.g6rr-facts-num { font: 500 clamp(24px, 2.6vw, 32px)/1 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-facts-lbl { margin: 8px 0 0; font: 400 13.5px/1.45 var(--g6-ui, sans-serif); color: var(--g6-slate, #51647a); }

/* 4. relocated hero lede (verbatim, off the photo) ------------------------- */
.g6rr-lede { background: var(--g6-paper, #FAFBFC); padding: clamp(30px, 4vw, 54px) 0 0; }
.g6rr-lede p { margin: 0; max-width: 74ch; color: #24384f; font: 400 18.5px/1.75 var(--g6-ui, sans-serif); }

/* 5. chapters -------------------------------------------------------------- */
.g6rr-chapter { padding: clamp(54px, 7vw, 88px) 0; border-top: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-chapter--mist { background: var(--g6-mist, #EEF3F7); }
.g6rr-chapter--paper { background: var(--g6-paper, #FAFBFC); }
.g6rr-h2 {
  margin: 0 0 clamp(20px, 3vw, 32px); max-width: 26ch; color: var(--g6-ink, #095e93);
  font: 500 clamp(28px, 3.2vw, 41px)/1.13 var(--g6-display, Georgia, serif); text-wrap: balance;
}
.g6rr-split { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(26px, 4vw, 56px); align-items: start; }
.g6rr-split--rev { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); }

/* 6. chapter object (one dominant image per chapter) ----------------------- */
.g6rr-object { margin: 0 0 clamp(22px, 3vw, 32px); border-radius: var(--g6-radius, 18px); overflow: hidden; background: var(--g6-mist, #EEF3F7); }
.g6rr-object img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; object-position: center 30%; }
.g6rr-object--wide img { aspect-ratio: 16/10; object-position: center 45%; }

/* 7. ruled lists (levers, services, places, quotes) ------------------------ */
.g6rr-ruled { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-ruled > li { padding: 20px 0; border-bottom: 1px solid var(--g6-line, #dbe8f2); display: grid; gap: 6px; }
.g6rr-ruled h3 { margin: 0; font: 500 20px/1.25 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-ruled p { margin: 0; color: var(--g6-slate, #51647a); font: 400 15.5px/1.65 var(--g6-ui, sans-serif); }

/* 8. the four local levers + one artifact beside them --------------------- */
.g6rr-levers { counter-reset: lever; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-levers > li { counter-increment: lever; display: grid; grid-template-columns: 2.2rem minmax(0,1fr); column-gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-levers > li::before {
  content: counter(lever, decimal-leading-zero); grid-row: 1 / span 3;
  font: 600 12.5px/1.6 var(--g6-ui, sans-serif); color: var(--g6-channel, #2b80bb); letter-spacing: .04em;
}
.g6rr-lever-label { grid-column: 2; margin: 0; font: 400 12.5px/1.4 var(--g6-ui, sans-serif); color: var(--g6-slate, #51647a); }
.g6rr-levers h3 { grid-column: 2; margin: 2px 0 6px; font: 500 21px/1.25 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-levers p { grid-column: 2; margin: 0; color: var(--g6-slate, #51647a); font: 400 15.5px/1.65 var(--g6-ui, sans-serif); }

.g6rr-artifact {
  background: #fff; border: 1px solid var(--g6-line, #dbe8f2); border-radius: var(--g6-radius, 18px);
  padding: clamp(22px, 3vw, 32px); position: sticky; top: 24px;
  box-shadow: 0 22px 46px -34px rgba(9,94,147,.45);
}
.g6rr-artifact h3 { margin: 0 0 8px; font: 500 22px/1.2 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-artifact-note { margin: 0; color: var(--g6-slate, #51647a); font: 400 14px/1.6 var(--g6-ui, sans-serif); }
.g6rr-artifact-form { display: grid; gap: 10px; margin-top: 16px; }
.g6rr-artifact-form label { font: 600 13px/1.3 var(--g6-ui, sans-serif); color: var(--g6-ink, #095e93); }
.g6rr-artifact-form input {
  width: 100%; min-height: 48px; padding: 0 16px; font: 400 16px/1 var(--g6-ui, sans-serif);
  color: var(--g6-ink, #095e93); background: var(--g6-paper, #FAFBFC);
  border: 1px solid var(--g6-line, #dbe8f2); border-radius: 999px;
}
.g6rr-artifact-form input:focus-visible { outline: 2px solid var(--g6-channel, #2b80bb); outline-offset: 2px; }
.g6rr-artifact-form .btn-lux { width: 100%; }
.g6rr-artifact-open { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; font: 600 14.5px/1 var(--g6-ui, sans-serif); color: #1d5a87; }

/* 9. verbatim quotes: one large upright lead quote + a ruled list ---------- */
.g6rr-quote-lead { margin: 0; padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--g6-line, #dbe8f2); border-radius: var(--g6-radius, 18px); border-left: 3px solid var(--g6-channel, #2b80bb); }
.g6rr-quote-lead blockquote { margin: 0; color: var(--g6-ink, #095e93); font: 400 clamp(21px, 2.4vw, 28px)/1.45 var(--g6-display, Georgia, serif); }
.g6rr-quote-lead blockquote p { margin: 0; font: inherit; color: inherit; }
.g6rr-quote-lead figcaption { display: grid; gap: 6px; margin-top: 18px; }
.g6rr-quote-who { font: 600 13px/1.3 var(--g6-ui, sans-serif); color: var(--g6-slate, #51647a); }
.g6rr-quote-title { color: var(--g6-slate, #51647a); font: 400 15px/1.5 var(--g6-ui, sans-serif); }
.g6rr-quote-lead figcaption a, .g6rr-quotes a { font: 600 14px/1 var(--g6-ui, sans-serif); color: #1d5a87; text-decoration: none; }
.g6rr-quote-lead figcaption a:hover, .g6rr-quotes a:hover { text-decoration: underline; text-underline-offset: 3px; }
.g6rr-quotes { margin: clamp(18px, 2.6vw, 28px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-quotes > li { display: grid; gap: 8px; padding: 22px 0; border-bottom: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-quotes blockquote { margin: 0; color: #24384f; font: 400 16.5px/1.65 var(--g6-ui, sans-serif); }
.g6rr-quotes blockquote p { margin: 0; font: inherit; color: inherit; }

/* 10. places ruled list ---------------------------------------------------- */
.g6rr-places { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-places > li { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-place-label { grid-column: 1; margin: 0; font: 400 12.5px/1.4 var(--g6-ui, sans-serif); color: var(--g6-slate, #51647a); }
.g6rr-places h3 { grid-column: 1; margin: 2px 0 6px; font: 500 21px/1.25 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-places p { grid-column: 1; margin: 0; max-width: 68ch; color: var(--g6-slate, #51647a); font: 400 15.5px/1.65 var(--g6-ui, sans-serif); }
.g6rr-places a { grid-column: 2; grid-row: 1 / span 3; align-self: center; display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1 var(--g6-ui, sans-serif); color: #1d5a87; text-decoration: none; white-space: nowrap; }
.g6rr-places a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 11. timeline as ruled steps --------------------------------------------- */
.g6rr-timeline { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-timeline > li { display: grid; grid-template-columns: minmax(0,190px) minmax(0,1fr); column-gap: clamp(18px, 3vw, 40px); padding: 24px 0; border-bottom: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-week { grid-column: 1; margin: 0; font: 600 12.5px/1.5 var(--g6-ui, sans-serif); color: #1d5a87; }
.g6rr-timeline h3 { grid-column: 2; margin: 0 0 6px; font: 500 20px/1.25 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-timeline p { grid-column: 2; margin: 0; max-width: 72ch; color: var(--g6-slate, #51647a); font: 400 15.5px/1.65 var(--g6-ui, sans-serif); }

/* 12. close band (page owns its own close) -------------------------------- */
.g6rr-close { background: var(--g6-ink, #095e93); color: #fff; padding: clamp(54px, 7vw, 88px) 0; }
.g6rr-close h2 { margin: 0 0 18px; color: #fff; font: 500 clamp(30px, 3.6vw, 45px)/1.13 var(--g6-display, Georgia, serif); text-wrap: balance; }
.g6rr-close p { margin: 0 0 16px; color: rgba(255,255,255,.82); font: 400 16.5px/1.7 var(--g6-ui, sans-serif); }
.g6rr-close strong { color: #fff; }
.g6rr-close ul { margin: 0 0 8px; padding-left: 1.15em; color: rgba(255,255,255,.82); font: 400 16.5px/1.7 var(--g6-ui, sans-serif); }
.g6rr-close ul li { margin: 0 0 8px; }
.g6rr-formcard { background: #fff; color: var(--g6-ink, #095e93); border: 1px solid var(--g6-line, #dbe8f2); border-radius: var(--g6-radius, 18px); padding: clamp(22px, 3vw, 32px); box-shadow: 0 26px 60px -44px rgba(9,94,147,.55); }
.g6rr-close .g6rr-formcard { border-color: transparent; }
.g6rr-formcard h3 { margin: 0 0 8px; font: 500 24px/1.2 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-formcard p { color: var(--g6-slate, #51647a); font: 400 15px/1.6 var(--g6-ui, sans-serif); }
.g6rr-close-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }

/* 13. resources hero (typographic) ---------------------------------------- */
.g6rr-hero--type { background: var(--g6-paper, #FAFBFC); padding: clamp(48px, 6vw, 80px) 0 clamp(28px, 3.4vw, 46px); }
/* The typographic hero has no photo, so the relocate photo scrim must not paint over it. */
.g6rr-hero--type::after { display: none; }
.g6rr-hero--type .g6rr-kicker { color: #1d5a87; }
.g6rr-hero--type h1 { color: var(--g6-ink, #095e93); font: 500 clamp(38px, 5vw, 62px)/1.08 var(--g6-display, Georgia, serif); }
.g6rr-hero--type h1 em { color: var(--g6-channel, #2b80bb); }
.g6rr-hero--type .g6rr-hero-lede { color: var(--g6-slate, #51647a); }

/* 14. grouped guide cover grid -------------------------------------------- */
.g6rr-group { padding: clamp(42px, 5.4vw, 72px) 0; border-top: 1px solid var(--g6-line, #dbe8f2); }
.g6rr-group--mist { background: var(--g6-mist, #EEF3F7); }
.g6rr-subhead { margin: clamp(28px, 3.4vw, 46px) 0 0; font: 500 22px/1.2 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-group-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 18px; }
.g6rr-group-head .g6rr-h2 { margin: 0; }
.g6rr-group-note { margin: 0; color: var(--g6-slate, #51647a); font: 400 13.5px/1.5 var(--g6-ui, sans-serif); }

/* Card component copied from the Job 1 guide index (gen6-main-pages.css:282-300)
   so /resources/ renders the same card as /blog/. Scoped to .g6rr-hub because
   gen6-main-pages.css is only enqueued on the main page routes. */
.g6rr-hub .g6-guide-grid { display: grid; grid-template-columns: 1fr; gap: 30px 24px; margin-top: 24px; }
.g6rr-hub .g6-guide-card { display: flex; flex-direction: column; gap: 14px; }
.g6rr-hub .g6-guide-card-body { display: flex; flex-direction: column; gap: 9px; }
.g6rr-hub .g6-guide-cover { display: block; border-radius: 16px; overflow: hidden; background: var(--g6-mist, #EEF3F7); }
.g6rr-hub .g6-guide-cover img { display: block; width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; }
.g6rr-hub .g6-guide-chip {
  display: inline-block; align-self: flex-start; margin: 0; padding: 5px 11px;
  border: 1px solid var(--g6-line, #dbe8f2); border-radius: 999px; background: var(--g6-paper, #fff);
  font: 600 11.5px/1.2 var(--g6-ui, sans-serif); color: #1d5a87;
}
.g6rr-hub .g6-guide-title { margin: 0; font: 500 clamp(22px, 2vw, 28px)/1.2 var(--g6-display, Georgia, serif); text-wrap: balance; }
.g6rr-hub .g6-guide-title a { color: inherit; text-decoration: none; }
.g6rr-hub .g6-guide-title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.g6rr-hub .g6-guide-excerpt {
  margin: 0; color: var(--g6-slate, #51647a); font: 400 15px/1.55 var(--g6-ui, sans-serif);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.g6rr-hub .g6-guide-meta { display: flex; gap: 14px; margin: 2px 0 0; color: var(--g6-slate, #51647a); font: 400 12.5px/1.4 var(--g6-ui, sans-serif); }
@media (min-width: 700px) { .g6rr-hub .g6-guide-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .g6rr-hub .g6-guide-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* 15. lead magnet card that leads its group (no invented art) -------------- */
.g6rr-leadmagnet {
  display: flex; flex-direction: column; gap: 12px; min-height: 100%;
  background: var(--g6-ink, #095e93); border-radius: 16px; padding: 28px 26px;
}
.g6rr-leadmagnet .g6rr-label { color: rgba(255,255,255,.66); }
.g6rr-h3 { margin: 0; font: 500 clamp(23px, 2.2vw, 30px)/1.2 var(--g6-display, Georgia, serif); color: var(--g6-ink, #095e93); }
.g6rr-leadmagnet .g6rr-h3 { color: #fff; }
.g6rr-leadmagnet p { margin: 0; color: rgba(255,255,255,.82); font: 400 15px/1.6 var(--g6-ui, sans-serif); }
.g6rr-leadmagnet .g6rr-magnet-cta {
  align-self: flex-start; margin-top: auto; display: inline-flex; align-items: center; min-height: 46px;
  padding: 0 20px; border-radius: 999px; background: #fff; color: var(--g6-ink, #095e93);
  font: 700 14.5px/1 var(--g6-ui, sans-serif); text-decoration: none;
}
.g6rr-leadmagnet .g6rr-magnet-cta:hover { background: #e8f1f8; }

/* 16. tool card with no owned cover (assessments) -------------------------- */
.g6rr-hub .g6-guide-card--nocover { padding: 24px 22px; border: 1px solid var(--g6-line, #dbe8f2); border-radius: 16px; background: var(--g6-paper, #FAFBFC); }

/* 17. small labels + quiet links ------------------------------------------ */
.g6rr-label { margin: 0 0 6px; color: var(--g6-slate, #51647a); font: 400 12.5px/1.4 var(--g6-ui, sans-serif); }
.g6rr-more { margin: clamp(22px, 3vw, 34px) 0 0; }
.g6rr-more a { display: inline-flex; align-items: center; min-height: 44px; font: 600 15px/1 var(--g6-ui, sans-serif); color: #1d5a87; text-decoration: none; }
.g6rr-more a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* 18. newsletter close (kept handler, eyebrow + em removed) ---------------- */
.g6rr-newsletter { background: var(--g6-ink, #095e93); color: #fff; padding: clamp(50px, 6.4vw, 80px) 0; }
.g6rr-newsletter-in { max-width: 640px; }
/* Scoped to .g6rr-newsletter so these beat the global .resources-newsletter* rules. */
.g6rr-newsletter .resources-newsletter__lede { margin: 0; color: rgba(255,255,255,.8); font: 400 16px/1.65 var(--g6-ui, sans-serif); }
.g6rr-newsletter .resources-newsletter__form { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 12px; max-width: 560px; }
.g6rr-newsletter .resources-newsletter__input { flex: 1 1 260px; min-height: 48px; padding: 0 18px; font: 400 16px/1 var(--g6-ui, sans-serif); color: var(--g6-ink, #095e93); background: #fff; border: 1px solid #fff; border-radius: 999px; }
.g6rr-newsletter .resources-newsletter__form .g6rr-btn { flex: 0 0 auto; }
.g6rr-newsletter .resources-newsletter__fineprint { margin: 0; color: rgba(255,255,255,.62); font: 400 13px/1.5 var(--g6-ui, sans-serif); }
.g6rr-newsletter h2 { margin: 0 0 14px; color: #fff; font: 500 clamp(28px, 3.4vw, 42px)/1.13 var(--g6-display, Georgia, serif); }
.g6rr-newsletter p { color: rgba(255,255,255,.8); font: 400 16px/1.65 var(--g6-ui, sans-serif); }
.g6rr-newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 12px; max-width: 560px; }
.g6rr-newsletter-form input {
  flex: 1 1 260px; min-height: 48px; padding: 0 18px; font: 400 16px/1 var(--g6-ui, sans-serif);
  color: var(--g6-ink, #095e93); background: #fff; border: 1px solid #fff; border-radius: 999px;
}
.g6rr-newsletter-fineprint { margin: 0; color: rgba(255,255,255,.62); font: 400 13px/1.5 var(--g6-ui, sans-serif); }

/* 19. phone ---------------------------------------------------------------- */
@media (max-width: 799px) {
  .g6rr-hero--relocate { min-height: 0; padding: 44vh 0 calc(96px + env(safe-area-inset-bottom, 0px)); }
  .g6rr-hero-media { position: absolute; }
  .g6rr-hero::after { background: linear-gradient(180deg, rgba(8,33,58,.18) 0%, rgba(8,33,58,.62) 34%, rgba(8,33,58,.94) 68%, rgba(8,33,58,.97) 100%); }
  .g6rr-hero h1 { font-size: clamp(31px, 8.6vw, 38px) !important; line-height: 1.08 !important; }
  .g6rr-facts-row { grid-template-columns: 1fr; }
  .g6rr-facts-row > li { padding: 18px 0; }
  .g6rr-facts-row > li + li { border-left: 0; border-top: 1px solid var(--g6-line, #dbe8f2); padding-left: 0; }
  .g6rr-split, .g6rr-split--rev { grid-template-columns: minmax(0,1fr); }
  .g6rr-artifact { position: static; }
  .g6rr-timeline > li { grid-template-columns: minmax(0,1fr); column-gap: 0; }
  .g6rr-timeline h3, .g6rr-timeline p, .g6rr-week { grid-column: 1; }
  .g6rr-places > li { grid-template-columns: minmax(0,1fr); }
  .g6rr-places a { grid-column: 1; grid-row: auto; margin-top: 10px; }
  .g6rr-object img { aspect-ratio: 4/5; }
  .g6rr-object--wide img { aspect-ratio: 4/3; }

  /* Phone: the same guide-card DOM rendered as a ruled row list. 47 full-width 4:5
     covers stacked one per screen measured 34,700px of scroll on a 390px phone; the
     row keeps the cover, chip, title, excerpt and meta at about a quarter of the height. */
  .g6rr-hub .g6-guide-grid { gap: 0; }
  .g6rr-hub .g6-guide-card { flex-direction: row; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--g6-line, #dbe8f2); }
  .g6rr-hub .g6-guide-cover { flex: 0 0 86px; border-radius: 10px; }
  .g6rr-hub .g6-guide-cover img { aspect-ratio: 4/5; border-radius: 10px; }
  .g6rr-hub .g6-guide-card-body { gap: 6px; }
  .g6rr-hub .g6-guide-title { font-size: 19px; }
  .g6rr-hub .g6-guide-chip { padding: 4px 9px; font-size: 11px; }
  .g6rr-hub .g6-guide-card--nocover { padding: 18px 0; border: 0; border-bottom: 1px solid var(--g6-line, #dbe8f2); border-radius: 0; background: transparent; }
  .g6rr-leadmagnet { border-radius: 14px; padding: 24px 20px; }
}
