/* Editorial guides use the same warm palette, cover treatment and type scale as Earth-IA. */
.guide-page {
  --guide-ink: #241711;
  --guide-paper: #fbf6ef;
  --guide-muted: #634f43;
  --guide-line: #d9c8b7;
  --guide-accent: #bb6747;
  background: var(--guide-paper);
  color: var(--guide-ink);
}
.guide-page *, .guide-teaser * { box-sizing: border-box; }
.guide-page a:focus-visible, .guide-teaser a:focus-visible { outline: 3px solid #f4a54d; outline-offset: 4px; }
.guide-page .guide-hero {
  position: relative;
  isolation: isolate;
  min-height: min(760px, 88vh);
  background: var(--guide-ink);
  color: #fff9f2;
  overflow: hidden;
}
.guide-page .guide-hero-image {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: linear-gradient(90deg, #241711f5 0%, #241711de 35%, #24171178 65%, #2417112b 100%), linear-gradient(0deg, #241711d8, transparent 35%), url('/assets/human-hero.webp');
  background-position: center, center, center 48%;
  background-size: cover;
}
.guide-page .guide-hero-workflow .guide-hero-image { background-image: linear-gradient(90deg, #241711f5 0%, #241711de 35%, #24171178 65%, #2417112b 100%), linear-gradient(0deg, #241711d8, transparent 35%), url('/assets/human-workflow.webp'); }
.guide-page .guide-hero-inner { min-height: min(760px, 88vh); padding-top: 155px; padding-bottom: 38px; display: flex; flex-direction: column; align-items: flex-start; }
.guide-page .guide-back { color: #f1d3b9; font-size: 15px; font-weight: 700; text-decoration: none; border-bottom: 1px solid #f1d3b9; margin-bottom: 32px; }
.guide-page .guide-back:hover { color: #f4a54d; }
.guide-page .guide-eyebrow, .guide-teaser .guide-eyebrow { display: block; color: #a95132; font: 700 15px/1.4 'DM Sans', Arial, sans-serif; letter-spacing: .1em; }
.guide-page .guide-hero .guide-eyebrow { color: #f4a54d; }
.guide-page .guide-hero h1 { max-width: 1000px; margin: 20px 0 20px; color: #fff9f2; font: 500 clamp(52px, 5.4vw, 86px)/.98 'Cormorant Garamond', Georgia, serif !important; letter-spacing: -.045em; text-wrap: balance; }
.guide-page .guide-hero h1 em { color: #f4a54d; }
.guide-page .guide-hero .guide-lead { max-width: 650px; color: #fff7ed; font-size: clamp(18px, 1.45vw, 21px); line-height: 1.55; font-weight: 600; }
.guide-page .guide-hero-foot { width: 100%; margin-top: auto; border-top: 1px solid #fff9f280; padding-top: 18px; display: flex; justify-content: space-between; gap: 18px; font-size: 14px; letter-spacing: .08em; font-weight: 700; }
.guide-page .guide-index-body, .guide-page .guide-more { background: #fbf6ef; padding: clamp(72px, 8vw, 115px) 0; }
.guide-page .guide-section-head, .guide-teaser .guide-section-head { max-width: 740px; margin-bottom: 32px; }
.guide-page .guide-section-head h2, .guide-teaser .guide-section-head h2 { margin: 12px 0 14px; font: 500 clamp(44px, 5vw, 66px)/1.02 'Cormorant Garamond', Georgia, serif !important; letter-spacing: -.035em; }
.guide-page .guide-section-head p, .guide-teaser .guide-section-head p { color: var(--guide-muted, #634f43); font-size: 17px; line-height: 1.65; }
.guide-page .guide-card-grid, .guide-teaser .guide-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.guide-page .guide-card, .guide-teaser .guide-card { display: flex; flex-direction: column; min-height: 255px; padding: 30px; border: 1px solid #d9c8b7; background: #fffaf4; color: #241711; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.guide-page .guide-card:hover, .guide-teaser .guide-card:hover { transform: translateY(-4px); border-color: #bb6747; box-shadow: 0 16px 38px #24171112; }
.guide-page .guide-card-category, .guide-teaser .guide-card-category { color: #a95132; font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.guide-page .guide-card h3, .guide-teaser .guide-card h3 { margin: 12px 0 10px; font: 500 clamp(31px, 3vw, 43px)/1.05 'Cormorant Garamond', Georgia, serif !important; color: #241711; }
.guide-page .guide-card p, .guide-teaser .guide-card p { margin: 0 0 20px; color: #634f43; font-size: 16px; line-height: 1.6; }
.guide-page .guide-card-link, .guide-teaser .guide-card-link { margin-top: auto; color: #88432b; font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.guide-page .guide-index-close { padding: 90px 0; background: #c47b55; }
.guide-page .guide-index-close h2 { max-width: 760px; margin: 16px 0; font: 500 clamp(48px, 5vw, 70px)/1 'Cormorant Garamond', Georgia, serif !important; }
.guide-page .guide-index-close p { max-width: 650px; font-size: 18px; line-height: 1.6; }
.guide-page .guide-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 22px; border-radius: 2px; background: #f4a54d; color: #241711; font-size: 15px; font-weight: 700; text-decoration: none; }
.guide-page .guide-button:hover { background: #ffbd70; }
.guide-page .guide-body { padding: clamp(70px, 8vw, 120px) 0; }
.guide-page .guide-layout { display: grid; grid-template-columns: minmax(0, 760px) minmax(210px, 1fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.guide-page .guide-article { min-width: 0; }
.guide-page .guide-article h2 { margin: 48px 0 14px; color: #241711; font: 500 clamp(34px, 3vw, 43px)/1.12 'Cormorant Garamond', Georgia, serif !important; }
.guide-page .guide-article > h2:first-child { margin-top: 0; }
.guide-page .guide-article p, .guide-page .guide-article li { color: #46372d; font-size: 17px; line-height: 1.75; max-width: 580px; }
.guide-page .guide-article ol, .guide-page .guide-article ul { margin: 16px 0 28px; padding-left: 25px; }
.guide-page .guide-article li { padding-left: 5px; margin-bottom: 10px; }
.guide-page .guide-example { margin: 34px 0; padding: 25px 28px; border-left: 4px solid #a95132; background: #efe0d0; color: #403026; font-size: 16px; line-height: 1.7; }
.guide-page .guide-example strong { display: block; margin-bottom: 8px; }
.guide-page .guide-sidebar { position: sticky; top: 30px; padding: 25px 0 0 22px; border-left: 1px solid #cbb5a3; }
.guide-page .guide-sidebar span:first-child { color: #a95132; font-size: 14px; font-weight: 700; letter-spacing: .09em; }
.guide-page .guide-sidebar h2 { margin: 13px 0; font: 500 32px/1.08 'Cormorant Garamond', Georgia, serif !important; }
.guide-page .guide-sidebar p { color: #634f43; font-size: 15px; line-height: 1.6; }
.guide-page .guide-sidebar a, .guide-page .guide-all { color: #88432b; font-size: 15px; font-weight: 700; text-underline-offset: 5px; }
.guide-page .guide-cta { margin-top: 52px; padding: clamp(28px, 4vw, 43px); background: #2d1d16; color: #fff7ed; }
.guide-page .guide-cta h2 { margin: 0 0 12px; color: #fff7ed; font: 500 clamp(36px, 3vw, 46px)/1.04 'Cormorant Garamond', Georgia, serif !important; }
.guide-page .guide-cta p { color: #f1e2d6; margin: 0 0 24px; }
.guide-page .guide-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.guide-page .guide-secondary { color: #f7d7ba; font-size: 15px; font-weight: 700; }
.guide-page .guide-cta small { display: block; color: #ebd5c3; margin-top: 20px; font-size: 14px; line-height: 1.6; }
.guide-page .guide-more { border-top: 1px solid #d9c8b7; }
.guide-page .guide-all { display: inline-block; margin-top: 24px; }
.guide-teaser { padding: clamp(70px, 7vw, 105px) 0; background: #fbf6ef; color: #241711; }
.guide-teaser .guide-section-head { margin-bottom: 25px; }
@media (max-width: 780px) {
  .guide-page .guide-hero, .guide-page .guide-hero-inner { min-height: 700px; }
  .guide-page .guide-hero-inner { padding-top: 145px; }
  .guide-page .guide-hero h1 { font-size: clamp(52px, 10vw, 78px) !important; }
  .guide-page .guide-layout { grid-template-columns: 1fr; gap: 55px; }
  .guide-page .guide-sidebar { position: static; }
}
@media (max-width: 600px) {
  .guide-page .guide-hero, .guide-page .guide-hero-inner { min-height: 650px; }
  .guide-page .guide-hero-inner { padding-top: 126px; padding-bottom: 26px; }
  .guide-page .guide-hero-image, .guide-page .guide-hero-workflow .guide-hero-image { background-position: center, center, 63% center; }
  .guide-page .guide-hero h1 { font-size: clamp(47px, 12vw, 66px) !important; }
  .guide-page .guide-hero .guide-lead { font-size: 17px; }
  .guide-page .guide-hero-foot { font-size: 12px; }
  .guide-page .guide-hero-foot span:last-child { display: none; }
  .guide-page .guide-card-grid, .guide-teaser .guide-card-grid { grid-template-columns: 1fr; }
  .guide-page .guide-card, .guide-teaser .guide-card { min-height: 225px; padding: 24px; }
  .guide-page .guide-article p, .guide-page .guide-article li { font-size: 16px; }
  .guide-page .guide-cta-actions { align-items: stretch; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .guide-page .guide-card, .guide-teaser .guide-card { transition: none; } }
