/* ===================================================================
   Guide pages (Buy, Sell, Renters, Landlords, Our Process, Insights)
   October 2026. One shared layout so these pages stop looking like four
   different sites. Brand tokens only: teal #1e4344, gold #c89a5b,
   Cormorant Garamond headings, Nunito Sans body, pill buttons.
   Nothing here starts at opacity 0, so no scroll-reveal can strand it.
   =================================================================== */
.g-hero{position:relative;background:#132c2d;color:#fff;overflow:hidden}
/* Pages using these heroes already pad <body> for the fixed header. */
.g-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:clamp(440px,62vh,600px)}
.g-hero-text{display:flex;flex-direction:column;justify-content:center;padding:48px 48px 56px max(24px,calc((100vw - 1200px) / 2 + 24px))}
.g-kicker{font-size:.95rem;font-weight:700;color:#c89a5b;margin:0 0 12px}
.g-hero h1{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:clamp(2.3rem,4.6vw,4rem);line-height:1.02;letter-spacing:-.015em;margin:0 0 18px;color:#fff;text-wrap:balance}
.g-hero p.g-sub{font-size:clamp(1.02rem,1.4vw,1.18rem);line-height:1.6;color:rgba(255,255,255,.85);max-width:32em;margin:0 0 28px}
.g-hero-photo{position:relative;margin:0;min-height:320px}
.g-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.g-hero-photo figcaption{position:absolute;right:10px;bottom:8px;font-size:.68rem;color:rgba(255,255,255,.85);background:rgba(0,0,0,.42);padding:3px 8px;border-radius:4px}
.g-hero-photo figcaption a{color:inherit}
@media(max-width:860px){
  .g-hero-grid{grid-template-columns:1fr;min-height:0}
  .g-hero-text{padding:34px 20px 30px}
  .g-hero-photo{height:240px;min-height:0}
}

.g-btns{display:flex;flex-wrap:wrap;gap:12px}
.g-btn{display:inline-flex;align-items:center;gap:8px;padding:14px 26px;border-radius:50px;font-weight:700;font-size:.95rem;text-decoration:none!important;cursor:pointer;border:2px solid transparent;font-family:'Nunito Sans',sans-serif;transition:background .2s,transform .2s,color .2s}
.g-btn:active{transform:scale(.98)}
.g-btn.gold{background:#c89a5b;color:#132c2d}.g-btn.gold:hover{background:#d8ad70}
.g-btn.ghost{border-color:rgba(255,255,255,.55);color:#fff;background:transparent}.g-btn.ghost:hover{background:rgba(255,255,255,.1)}
.g-btn.line{border-color:#1e4344;color:#1e4344;background:transparent}.g-btn.line:hover{background:#1e4344;color:#fff}
.g-btn.teal{background:#1e4344;color:#fff}.g-btn.teal:hover{background:#2a5a5b}
.g-btn.wa{background:#25D366;color:#0b2e18}.g-btn.wa:hover{background:#3ee07a}

/* Jump bar: where to go on this page, one tap each */
.g-jump{background:#fff;border-bottom:1px solid #ebe7df;position:sticky;top:77px;z-index:50}
.g-jump-in{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.g-jump-in::-webkit-scrollbar{display:none}
.g-jump a{flex:none;padding:14px 14px;font-weight:700;font-size:.92rem;color:#1e4344;text-decoration:none;border-bottom:2px solid transparent;white-space:nowrap}
.g-jump a:hover{border-bottom-color:#c89a5b}
@media(max-width:1023.98px){.g-jump{top:64px}}

.g-sec{padding:68px 0;scroll-margin-top:140px}
.g-sec.tint{background:#f7f6f3}
.g-sec.dark{background:#1e4344;color:#fff}
.g-wrap{max-width:1200px;margin:0 auto;padding:0 24px}
.g-narrow{max-width:860px;margin:0 auto;padding:0 24px}
.g-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 32px;margin-bottom:34px}
.g-head h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:clamp(1.9rem,3.4vw,2.8rem);line-height:1.06;letter-spacing:-.01em;color:#1e4344;margin:0}
.g-sec.dark .g-head h2{color:#fff}
.g-head p{margin:8px 0 0;color:#4a4a4a;font-size:1.02rem;max-width:38em;line-height:1.6}
.g-sec.dark .g-head p{color:rgba(255,255,255,.8)}
.g-link{color:#1e4344;font-weight:700;text-decoration:none;border-bottom:2px solid #c89a5b;padding-bottom:2px;white-space:nowrap}
.g-link:hover{color:#a87d42}
@media(max-width:700px){.g-sec{padding:50px 0}}

/* Steps: numbered, one line each */
.g-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;counter-reset:gstep;list-style:none;margin:0;padding:0}
@media(max-width:900px){.g-steps{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.g-steps{grid-template-columns:1fr}}
.g-steps li{background:#fff;border:1px solid #ebe7df;border-radius:14px;padding:22px 22px 20px;counter-increment:gstep}
.g-sec.tint .g-steps li{border-color:#e6e1d6}
.g-steps li::before{content:counter(gstep);display:inline-flex;width:34px;height:34px;border-radius:50%;background:#1e4344;color:#c89a5b;font-weight:800;align-items:center;justify-content:center;margin-bottom:12px}
.g-steps strong{display:block;font-size:1.08rem;color:#1e4344;margin-bottom:4px}
.g-steps span{color:#4a4a4a;line-height:1.55;font-size:.96rem}

/* Fact cards: short, numbers forward */
.g-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
@media(max-width:1000px){.g-facts{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.g-facts{grid-template-columns:1fr}}
.g-fact{background:rgba(255,255,255,.07);border-radius:14px;padding:22px}
.g-sec:not(.dark) .g-fact{background:#fff;border:1px solid #ebe7df}
.g-fact b{display:block;font-family:'Cormorant Garamond',serif;font-size:2.1rem;font-weight:600;color:#c89a5b;line-height:1;margin-bottom:8px;font-variant-numeric:tabular-nums}
.g-fact strong{display:block;font-size:1.02rem;margin-bottom:4px}
.g-sec:not(.dark) .g-fact strong{color:#1e4344}
.g-fact span{font-size:.92rem;line-height:1.55;opacity:.85}
.g-note{margin-top:18px;font-size:.88rem;line-height:1.6;opacity:.8}

/* Tips: tap to open, works on phones (the old cards only opened on hover) */
.g-tips{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media(max-width:800px){.g-tips{grid-template-columns:1fr}}
.g-tips details{background:#fff;border:1px solid #ebe7df;border-radius:12px;padding:0}
.g-tips summary{list-style:none;cursor:pointer;padding:18px 20px;display:flex;align-items:center;gap:14px;font-weight:700;color:#1e4344;font-size:1.02rem}
.g-tips summary::-webkit-details-marker{display:none}
.g-tips summary i{width:36px;height:36px;flex:none;border-radius:50%;background:#f3ece0;color:#a87d42;display:flex;align-items:center;justify-content:center;font-size:.9rem}
.g-tips summary::after{content:"+";margin-left:auto;font-size:1.4rem;font-weight:400;color:#a87d42;transition:transform .2s}
.g-tips details[open] summary::after{transform:rotate(45deg)}
.g-tips details p{margin:0;padding:0 20px 18px 70px;color:#4a4a4a;line-height:1.65;font-size:.96rem}
.g-tips details p+p{padding-top:0}

/* Split: words one side, a real picture the other */
.g-split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.g-split.flip>figure{order:-1}
@media(max-width:860px){.g-split{grid-template-columns:1fr;gap:28px}.g-split.flip>figure{order:0}}
.g-split figure{margin:0;position:relative;border-radius:16px;overflow:hidden;aspect-ratio:4/3;background:#e9e6df}
.g-split figure img{width:100%;height:100%;object-fit:cover}
.g-split figcaption{position:absolute;left:0;right:0;bottom:0;padding:10px 14px;background:rgba(13,28,29,.7);color:#fff;font-size:.82rem}
.g-split figcaption a{color:inherit}
.g-list{list-style:none;margin:18px 0 24px;padding:0;display:grid;gap:12px}
.g-list li{display:grid;grid-template-columns:22px 1fr;gap:10px;line-height:1.55;color:#2c2c2c}
.g-list li::before{content:"";width:10px;height:10px;border-radius:50%;background:#c89a5b;margin-top:8px}
.g-list strong{color:#1e4344}

/* Photo band: one closing ask over a real picture */
.g-band{position:relative;color:#fff;overflow:hidden}
.g-band>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.g-band::before{content:"";position:absolute;inset:0;background:rgba(13,28,29,.76);z-index:1}
.g-band-in{position:relative;z-index:2;max-width:820px;margin:0 auto;padding:80px 24px;text-align:center}
.g-band h2{font-family:'Cormorant Garamond',Georgia,serif;font-weight:600;font-size:clamp(2rem,4vw,3rem);line-height:1.08;margin:0 0 14px;color:#fff}
.g-band p{margin:0 auto 28px;max-width:34em;color:rgba(255,255,255,.86);font-size:1.05rem;line-height:1.6}
.g-band .g-btns{justify-content:center}
.g-band small{position:absolute;z-index:2;right:10px;bottom:8px;font-size:.68rem;color:rgba(255,255,255,.7)}
.g-band small a{color:inherit}

.g-credit{font-size:.74rem;color:#7a7a7a;margin-top:12px;line-height:1.6}
.g-credit a{color:inherit}

/* Downloads: compact rows instead of tall cards */
.g-dl{display:grid;gap:12px}
.g-dl a{display:grid;grid-template-columns:48px 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid #ebe7df;border-radius:14px;padding:16px 18px;text-decoration:none;color:#2c2c2c;transition:border-color .2s}
.g-dl a:hover{border-color:#c89a5b}
.g-dl i.fa-file-pdf,.g-dl i.fa-file-excel,.g-dl .g-dl-ic{width:48px;height:48px;border-radius:12px;background:#f3ece0;color:#a87d42;display:flex;align-items:center;justify-content:center;font-size:1.2rem}
.g-dl strong{display:block;color:#1e4344;font-size:1.02rem}
.g-dl span{font-size:.9rem;color:#5a5a5a}
.g-dl em{font-style:normal;font-weight:700;color:#a87d42;font-size:.9rem;white-space:nowrap}

/* Photo credit footnote marks (Oct 2026): a small number on the photo,
   full credits at the bottom of the page (#photo-credits). */
.g-hero-photo figcaption.fn-mark,.g-split figcaption.fn-mark,.g-band small.fn-mark{left:auto;right:8px;bottom:8px;top:auto;padding:0;background:none;width:auto}
.fn-mark a{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;background:rgba(0,0,0,.45);color:rgba(255,255,255,.9)!important;font-size:.66rem;font-weight:700;text-decoration:none}
