/* geoffbey.com phone homepage — "drawn in one line" redesign, preview 2026-11-08.
   Phone widths only (<=600px). Desktop/tablet untouched.
   Motion language: the G house is one continuous line, so things are DRAWN and UNVEILED
   (a line traces, a surface lifts away like a roof) rather than faded in. */

.hero-portrait, .intro, .roofline { display: none; }

@media (max-width: 600px) {
  :root { --ease-lift: cubic-bezier(.76, 0, .24, 1); --ease-out: cubic-bezier(.16, 1, .3, 1); }

  /* ---------- Header ---------- */
  .home-page .wordmark-tagline { display: none; }
  .home-page .site-header { background: none !important; }

  /* ---------- Hero ---------- */
  .home-page .hero { min-height: 0 !important; height: auto !important; display: block !important; background: var(--forest); overflow: hidden; }
  .home-page .hero > .ph-bg, .home-page .hero > .ph-tint, .home-page .hero > .shade { display: none !important; }
  .home-page .hero-portrait { display: block; position: relative; height: 74svh; min-height: 440px; max-height: 680px; overflow: hidden; }
  .home-page .hero-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; display: block; transform-origin: 50% 30%; }
  .home-page .hero-portrait::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(to bottom, rgba(20, 32, 25, 0), rgba(20, 32, 25, .72) 55%, var(--forest)); }
  .home-page .hero-copy { position: relative !important; inset: auto !important; padding: 0 var(--pad) 3.4rem !important; min-height: 0 !important; margin-top: -9.5rem; z-index: 1; }
  .home-page .hero h1 { font-size: clamp(2.9rem, 14vw, 3.7rem) !important; line-height: .96 !important; letter-spacing: -.02em; margin: 0 0 1.3rem !important; }
  .home-page .hero h1 span { display: block; margin-left: 0 !important; padding-left: 0 !important; text-indent: 0 !important; transform: none !important; }
  .home-page .hero h1 em { display: inline !important; }
  .home-page .hero-bottom { display: block !important; padding: 0 !important; border: 0 !important; }
  .home-page .hero-bottom > p { font-size: 1.04rem; line-height: 1.55; margin: 0 0 1.7rem; max-width: 33ch; color: rgba(251, 248, 241, .82); }
  .home-page .hero-identity, .home-page .hero-value { display: none !important; }
  .home-page .hero-actions { display: flex !important; flex-direction: row !important; align-items: center; gap: 1.3rem; flex-wrap: wrap; }
  .home-page .hero .btn { width: auto !important; padding: 1rem 2rem !important; background: var(--peach) !important; color: var(--forest) !important; border: 0 !important; border-radius: 999px; }
  .home-page .hero-actions .call-link { align-self: center; border: 0; color: var(--cream); }

  /* ---------- Labels the add-on rightly calls generic ---------- */
  .home-page main .kicker { display: none !important; }
  .home-page .things .no { display: none !important; }

  /* ---------- Reviews: the dark half continues, swipeable quotes ---------- */
  .home-page .early-reviews { background: var(--forest) !important; color: var(--cream) !important; padding: 1rem 0 5.5rem !important; }
  .home-page .early-reviews-heading { padding: 0 var(--pad); display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
  .home-page .early-reviews-heading h2 { color: var(--cream) !important; font-size: 1.6rem !important; }
  .home-page .early-reviews-heading a, .home-page .early-reviews summary { color: var(--peach) !important; }
  .home-page .early-reviews-grid { display: flex !important; gap: 1rem !important; overflow-x: auto; scroll-snap-type: x mandatory; padding: 1.4rem var(--pad) .4rem !important; scrollbar-width: none; grid-template-columns: none !important; align-items: flex-start !important; }
  .home-page .early-reviews-grid::-webkit-scrollbar { display: none; }
  .home-page .early-reviews figure { flex: 0 0 84%; scroll-snap-align: center; margin: 0 !important; padding: 1.7rem 1.5rem 1.4rem !important; border: 0 !important; border-radius: 28px; background: rgba(251, 248, 241, .07) !important; position: relative; }
  .home-page .early-reviews blockquote { color: var(--cream) !important; font-size: 1.22rem !important; line-height: 1.42 !important; border: 0 !important; padding: 0 !important; margin: 0 0 1rem !important; }
  .home-page .early-reviews blockquote::before, .home-page .early-reviews blockquote::after { content: none; }
  .home-page .early-reviews-grid:not(.email-testimonials) blockquote { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
  .home-page .early-reviews figcaption { color: rgba(251, 248, 241, .6) !important; }
  .home-page .early-reviews details { padding: 1rem var(--pad) 0; }
  .home-page .early-reviews .email-testimonials { padding-left: 0 !important; padding-right: 0 !important; }

  /* ---------- Roofline: the light half rises into the dark like a roof ---------- */
  .home-page .person { position: relative; }
  .home-page .roofline { display: block; position: absolute; left: 0; right: 0; top: -54px; height: 55px; width: 100%; pointer-events: none; }
  .home-page .roofline .fill { fill: var(--paper); }
  .home-page .roofline .line { fill: none; stroke: var(--peach); stroke-width: 2; vector-effect: non-scaling-stroke; }

  /* ---------- Light half: one background ---------- */
  .home-page main > section:not(.hero):not(.early-reviews), .home-page .site-footer { background: var(--paper) !important; color: var(--ink) !important; }
  .home-page main > section:not(.hero):not(.early-reviews) { padding-top: 5.5rem !important; padding-bottom: 5.5rem !important; }
  .home-page main > section { border: 0 !important; }
  .home-page main { background: var(--paper); }
  .home-page main > section:not(.hero):not(.early-reviews) + section { margin-top: -1px !important; }
  .home-page .site-footer { border-top: 1px solid var(--line-dark) !important; }
  .home-page .things-rows { border: 0 !important; }
  .home-page .gallery-hint { margin: 1.4rem 0 1rem !important; position: static !important; }
  .home-page .person-figure { display: none !important; }
  .home-page .person { display: block !important; min-height: 0 !important; }
  .home-page .person-copy { padding: 0 var(--pad) !important; }
  .home-page main h2, .home-page .family h3 { font-size: clamp(2.3rem, 11vw, 2.9rem) !important; line-height: 1 !important; letter-spacing: -.015em; }

  .home-page .things :is(h3, p, strong) { color: var(--ink) !important; }
  .home-page .things .thing { border: 0 !important; padding: 1.1rem 0 !important; }
  .home-page .things h3 { font-size: 2.2rem !important; margin-bottom: .5rem !important; }

  /* Family photo: bigger, rounded, it's the heart of the page */
  .home-page .family-figure { margin: 2rem 0 0 !important; width: 100% !important; }
  .home-page .family-ph { border-radius: 28px; overflow: hidden; }
  .home-page .family-figure figcaption { margin-top: .8rem; }

  /* Guides: a plain list */
  .home-page .guide-grid { display: block !important; border: 0 !important; gap: 0 !important; background: none !important; }
  .home-page .guide-card { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; align-items: center !important; justify-content: space-between; gap: 1rem; padding: 1.15rem 0 !important; border: 0 !important; border-bottom: 1px solid var(--line-dark) !important; background: none !important; box-shadow: none !important; min-height: 0 !important; }
  .home-page .guide-card > span:first-child, .home-page .guide-card small, .home-page .guide-card .go { display: none !important; }
  .home-page .guide-card strong { font-family: var(--serif); font-size: 1.32rem !important; line-height: 1.2 !important; font-weight: 400 !important; margin: 0 !important; flex: 1 1 auto; }
  .home-page .guide-card::after { content: ""; flex: 0 0 auto; width: 9px; height: 9px; border-top: 2px solid var(--clay); border-right: 2px solid var(--clay); transform: rotate(45deg); margin-right: 4px !important; position: static !important; }
  .home-page .local-guide .area-list { display: none; }
  .home-page .town-links { margin-top: 2rem !important; }

  /* Homes: full-bleed swipe, the front home sharp, the rest set back */
  .home-page .work-stat { font-family: var(--serif); font-size: 1.5rem !important; line-height: 1.3 !important; color: var(--ink) !important; margin-top: 1.2rem !important; }
  .home-page .work-stat .count { color: var(--clay); font-variant-numeric: tabular-nums; }
  .home-page .work-stat span:not(.count) { display: block; font-family: var(--sans); font-size: .85rem; color: var(--olive); margin-top: .4rem; }
  .home-page .work-band { display: flex !important; gap: .9rem !important; overflow-x: auto; scroll-snap-type: x mandatory; padding: .4rem var(--pad) 1rem !important; margin: 0 calc(-1 * var(--pad)) !important; scrollbar-width: none; }
  .home-page .work-band::-webkit-scrollbar { display: none; }
  .home-page .work-band figure { flex: 0 0 82% !important; scroll-snap-align: center; margin: 0 !important; transition: transform .6s var(--ease-out), opacity .6s var(--ease-out); }
  .home-page .work-band .ph { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; }
  .home-page .work-band .ph img { width: 100%; height: 100%; object-fit: cover; }
  .home-page .work-band figure.is-back { transform: scale(.92); opacity: .55; }

  /* Floating Text Geoff pill */
  .home-page .textbar .btn, .home-page .textbar a { background: var(--peach) !important; color: var(--forest) !important; border-radius: 999px !important; box-shadow: 0 10px 30px rgba(13, 21, 17, .28) !important; }
  .home-page .ask .btn { border-radius: 999px; }

  /* ================= MOTION (only when JS is running and motion is allowed) ================= */
  html.motion .reveal { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }

  /* Headlines rise through a mask */
  html.motion .mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
  html.motion .mask > .rise { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); }
  html.motion .mask.in > .rise { transform: none; }
  html.motion .hero h1 > span { overflow: hidden; padding-bottom: .26em; margin-bottom: -.2em; }
  html.motion .hero h1 .rise { display: inline-block; transform: translateY(110%); }
  html.motion.go .hero h1 .rise { transform: none; transition: transform 1.2s var(--ease-out); }
  html.motion.go .hero h1 > span:nth-child(2) .rise { transition-delay: .09s; }
  html.motion.go .hero h1 > span:nth-child(3) .rise { transition-delay: .18s; }
  html.motion .hero-bottom { opacity: 0; transform: translateY(14px); }
  html.motion.go .hero-bottom { opacity: 1; transform: none; transition: opacity 1s var(--ease-out) .45s, transform 1s var(--ease-out) .45s; }

  /* Portrait settles in */
  html.motion .hero-portrait img { transform: scale(1.14); }
  html.motion.go .hero-portrait img { transform: scale(1); transition: transform 2.6s var(--ease-out); }

  /* Photos unveil: the surface lifts away like the intro */
  html.motion .unveil { clip-path: inset(100% 0 0 0 round 28px); }
  html.motion .unveil img { transform: scale(1.2); }
  html.motion .unveil.in { clip-path: inset(0 0 0 0 round 28px); transition: clip-path 1.25s var(--ease-lift); }
  html.motion .unveil.in img { transform: scale(1); transition: transform 1.9s var(--ease-out); }

  /* The roof line draws itself */
  html.motion .roofline .line { stroke-dasharray: 1; stroke-dashoffset: 1; }
  html.motion .roofline.in .line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.4s var(--ease-lift); }

  /* ---------- Intro: the G house draws, then the screen lifts away as a roof ---------- */
  .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background: var(--forest); pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 112%, 50% 100%, 0 112%);
    animation: intro-lift 1s var(--ease-lift) 1.15s forwards, intro-failsafe 0s linear 3.2s forwards; }
  .intro svg { width: 92px; height: auto; overflow: visible; }
  .intro path { fill: none; stroke: var(--peach); stroke-width: 26; stroke-linejoin: miter; stroke-miterlimit: 8; stroke-dasharray: 1450; stroke-dashoffset: 1450; animation: intro-draw 1s var(--ease-lift) .1s forwards; }
  @keyframes intro-draw { to { stroke-dashoffset: 0; } }
  @keyframes intro-lift { to { clip-path: polygon(0 0, 100% 0, 100% -8%, 50% -20%, 0 -8%); } }
  @keyframes intro-failsafe { to { visibility: hidden; } }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  .intro { display: none !important; }
}

/* ================= MAGAZINE LAYER (phone) — Geoff 11/8: "more like beautiful magazine style" =================
   Department tags on a hairline, deks under headlines, a drop cap, a featured pull quote,
   an edge-to-edge feature photo, and italic captions. */
@media (max-width: 600px) {
  /* Department tags: italic serif on a hairline, like a magazine section header */
  .home-page main section:not(.hero) > .kicker,
  .home-page .family-copy > .kicker,
  .home-page .person-copy > .kicker {
    display: flex !important; align-items: center; gap: .8rem;
    font-family: var(--serif) !important; font-style: italic; font-weight: 400 !important;
    font-size: 1rem !important; letter-spacing: 0 !important; text-transform: none !important;
    color: var(--clay) !important; margin: 0 0 1.6rem !important;
  }
  .home-page main .kicker::after { content: ""; flex: 1; height: 1px; background: var(--line-dark); }

  /* Headlines a step bigger, tighter */
  .home-page main h2, .home-page .family h3 { font-size: clamp(2.5rem, 12.5vw, 3.2rem) !important; line-height: .98 !important; margin-bottom: 1.3rem !important; }

  /* Deks: the first line under a headline reads like a magazine standfirst */
  .home-page .family-copy h3 + p,
  .home-page .ask > h2 + p,
  .home-page .local-guide-copy p:first-child,
  .home-page .person-copy h2 + p {
    font-family: var(--serif) !important; font-size: 1.28rem !important; line-height: 1.45 !important; color: var(--ink) !important; font-weight: 400;
  }

  /* Drop cap opening Geoff's story */
  .home-page .family-copy h3 + p::first-letter {
    float: left; font-family: var(--serif); font-size: 4.6em; line-height: .78; font-weight: 400;
    color: var(--clay); padding: .08em .1em 0 0;
  }

  /* Featured pull quote above the swipe cards */
  .home-page .early-reviews figure.feature-quote { padding: 1.8rem var(--pad) .8rem !important; margin: 0 !important; background: none !important; border-radius: 0 !important; }
  .home-page .early-reviews .feature-quote blockquote {
    font-family: var(--serif) !important; font-style: italic; font-size: clamp(2rem, 9.6vw, 2.5rem) !important;
    line-height: 1.12 !important; letter-spacing: -.01em; color: var(--cream) !important;
    text-indent: -.42em; display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important;
  }
  .home-page .early-reviews .feature-quote figcaption { color: var(--peach) !important; font-size: .95rem; margin-top: 1.1rem; }
  .home-page .early-reviews .feature-quote::before { content: none !important; }

  /* Feature spread: the family photo runs edge to edge */
  .home-page .family-figure { margin: 2.4rem calc(-1 * var(--pad)) 0 !important; width: auto !important; }
  .home-page .family-ph { border-radius: 0 !important; }
  html.motion .home-page .family-ph.unveil { clip-path: inset(100% 0 0 0); }
  html.motion .home-page .family-ph.unveil.in { clip-path: inset(0 0 0 0); }
  .home-page .family-figure figcaption { display: block !important; padding: 0 var(--pad); margin-top: .9rem !important; }
  .home-page .family-figure figcaption span,
  .home-page .work-band figcaption span {
    font-family: var(--serif) !important; font-style: italic; text-transform: none !important;
    letter-spacing: 0 !important; font-weight: 400 !important; font-size: .98rem !important; color: var(--olive) !important;
  }
  .home-page .family-figure figcaption span { display: inline !important; }
  .home-page .family-figure figcaption span:first-child::after { content: ", "; }

  /* Homes: captions like photo credits */
  .home-page .work-band figcaption { margin-top: .7rem !important; display: flex; justify-content: space-between; }
  .home-page .work-band figcaption span:first-child { color: var(--ink) !important; font-size: 1.12rem !important; }

  /* What I look at: editorial list on hairlines */
  .home-page .things .thing { border-top: 1px solid var(--line-dark) !important; padding: 1.5rem 0 1.2rem !important; }
  .home-page .things h3 { font-style: italic; }
}

/* ================= COZY ISSUE LAYER (phone) — Geoff 11/8: "closer to this style look" (Stampington, The Cozy Issue) =================
   Light, airy, warm. Thin serif headlines centered like a spread title, italic light accents,
   one warm paper page after the cover, print-style square photo corners, small quiet captions. */
@media (max-width: 600px) {
  /* Cover: thin, light masthead type over the photo */
  .home-page .hero h1 { font-weight: 300 !important; letter-spacing: -.025em !important; font-size: clamp(3rem, 14.5vw, 3.9rem) !important; line-height: 1 !important; }
  .home-page .hero h1 em { font-style: italic; font-weight: 300 !important; color: var(--peach); }
  .home-page .hero-bottom > p { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: 1.12rem; color: rgba(251, 248, 241, .86); }

  /* After the cover, the whole page is one warm paper */
  .home-page .early-reviews { background: var(--paper) !important; color: var(--ink) !important; padding: 5.2rem 0 4.5rem !important; position: relative; }
  .home-page .early-reviews-heading { display: block !important; text-align: center; }
  .home-page .early-reviews-heading h2 { color: var(--ink) !important; font-size: clamp(2.5rem, 12.5vw, 3.2rem) !important; }
  .home-page .early-reviews-heading a, .home-page .early-reviews summary { color: var(--clay) !important; }
  .home-page .early-reviews-heading a { display: inline-block; margin-top: .4rem; font-family: var(--serif); font-style: italic; }
  .home-page .early-reviews figure { background: var(--cream) !important; border-radius: 4px !important; box-shadow: 0 1px 0 rgba(17, 22, 19, .04); }
  .home-page .early-reviews blockquote { color: var(--ink) !important; font-family: var(--serif); font-weight: 300; }
  .home-page .early-reviews figcaption { color: var(--olive) !important; font-family: var(--serif); font-style: italic; }
  .home-page .early-reviews figure.feature-quote { text-align: center; padding: 2.4rem 2.2rem 1.4rem !important; background: none !important; box-shadow: none; }
  .home-page .early-reviews .feature-quote blockquote { color: var(--clay) !important; font-weight: 300 !important; text-indent: 0 !important; font-size: clamp(1.9rem, 9vw, 2.35rem) !important; line-height: 1.18 !important; }
  .home-page .early-reviews .feature-quote figcaption { color: var(--olive) !important; }
  .home-page .early-reviews .feature-quote figcaption::before { content: ""; display: block; width: 36px; height: 1px; background: var(--clay); margin: 0 auto 1rem; }

  /* The roof now rises out of the cover into the paper page */
  .home-page .early-reviews > .roofline { top: -54px; }
  .home-page main > section:not(.hero) { padding-top: 6rem !important; padding-bottom: 6rem !important; }

  /* Spread titles: thin serif, centered, lots of air */
  .home-page main section:not(.hero) h2, .home-page .family h3 {
    font-weight: 300 !important; letter-spacing: -.02em !important; text-align: center;
    font-size: clamp(2.6rem, 13vw, 3.3rem) !important; line-height: 1.02 !important; margin-bottom: 1.6rem !important;
  }
  .home-page main section:not(.hero) h2 em, .home-page .family h3 em { font-style: italic; font-weight: 300; }

  /* Department tags: small italic serif, centered between two hairlines */
  .home-page main section:not(.hero) > .kicker,
  .home-page .family-copy > .kicker,
  .home-page .person-copy > .kicker { justify-content: center; font-weight: 300 !important; font-size: 1.02rem !important; margin-bottom: 1.4rem !important; }
  .home-page main .kicker::before { content: "" !important; display: block !important; flex: 0 1 42px !important; width: auto !important; height: 1px !important; background: var(--line-dark) !important; position: static !important; margin: 0 !important; }
  .home-page main .kicker::after { flex: 0 1 42px !important; }

  /* Deks: centered, light, airy standfirst */
  .home-page .family-copy h3 + p,
  .home-page .ask > h2 + p,
  .home-page .local-guide-copy p:first-child,
  .home-page .person-copy h2 + p { font-weight: 300 !important; font-size: 1.24rem !important; line-height: 1.55 !important; text-align: center; color: #2b302b !important; }
  .home-page .family-copy h3 + p, .home-page .person-copy h2 + p { text-align: left; }
  .home-page .family-copy h3 + p::first-letter { font-weight: 300; font-size: 4.9em; }
  .home-page main section:not(.hero) p { line-height: 1.7; }

  /* Print photos: square corners, small italic credits */
  .home-page .work-band .ph { border-radius: 3px !important; }
  html.motion .unveil { clip-path: inset(100% 0 0 0); }
  html.motion .unveil.in { clip-path: inset(0 0 0 0); }
  .home-page .work-band figcaption span:first-child { font-weight: 300 !important; }

  /* What I look at: centered, thin italic titles */
  .home-page .things .thing { text-align: center; border-top: 0 !important; padding: 2rem 0 1rem !important; }
  .home-page .things .thing + .thing::before { content: ""; display: block; width: 36px; height: 1px; background: var(--clay); margin: 0 auto 2rem; }
  .home-page .things h3 { font-weight: 300 !important; font-size: 2.1rem !important; line-height: 1.15 !important; height: auto !important; }
  .home-page .work > h2 + p, .home-page .work-copy p { text-align: center; }

  /* Guides: thin serif list */
  .home-page .guide-card strong { font-weight: 300 !important; font-size: 1.38rem !important; }

  /* Stat line and buttons: quieter, warmer */
  .home-page .work-stat { text-align: center; font-weight: 300; }
  .home-page .work-stat .count { font-weight: 400; }
  .home-page .ask, .home-page .ask .actions, .home-page .ask-actions { text-align: center; }
}

/* ---------- r3 (2026-11-18): flat transition, tighter gaps, button clear of the Safari bar ---------- */
@media (max-width: 600px) {
  .home-page .roofline { display: none !important; }
  .home-page .hero-portrait { height: 66svh; min-height: 400px; }
  .home-page .hero-copy { padding-bottom: 2.8rem !important; }
  .home-page .early-reviews { padding: 3.4rem 0 3rem !important; }
  .home-page main > section:not(.hero):not(.early-reviews) { padding-top: 3.2rem !important; padding-bottom: 3.2rem !important; }
}

/* ===== r4 (2026-11-19): narrowest phones ===== */
@media (max-width: 600px) {
  /* Family photo caption: its two phrases may break at the comma, so the caption never forces the page wider than a 320px screen */
  .home-page .family-figure figcaption span:first-child::after { white-space: normal; }
  /* and the section's single column can never grow wider than the screen */
  .home-page .family { grid-template-columns: minmax(0, 1fr); }
}

/* ===== home r5 (2026-11-19): third review round. Phone only; no words change. ===== */
@media (max-width: 600px) {
  /* A quick second tap on a button or an opener no longer zooms the page in Safari (pinching to zoom still works). Safari
     needs this on the body, and it starts afresh inside any box that scrolls, so the two side-scrolling rows and the
     message box carry it too. This stylesheet is loaded by the homepage alone. */
  html, body, .home-page .early-reviews-grid, .home-page .work-band, .home-page textarea { touch-action: manipulation; }
  /* The floating Text Geoff button steps aside when it would rest on something to tap (the homepage script sets the class,
     the same way the guide pages do), so it never sits on a guide link's arrow. */
  .home-page .textbar.yield { transform: translateY(160%) !important; visibility: hidden !important; }
  /* No lone last words on the homepage, like the guides. */
  .home-page main p, .home-page main summary, .home-page main figcaption, .home-page main label, .home-page .site-footer .legal > span { text-wrap: pretty; }
  /* Form opener: a ruled row the full width of the column at every width, with the question on one line and the invitation
     on the next, and a full 44px to tap. (It was only as wide as its text: at 430 the underline ran short and sat left of
     centre on a 25px row; at 390 the last word sat alone.) The rule below now matches the hairline above. */
  .home-page #lead-capture { padding-top: 0 !important; }
  .home-page #lead-capture > summary { position: relative; width: auto !important; padding: .85rem max(0px, calc((100% - 17.5rem) / 2)) !important; border-bottom: 1px solid var(--line-dark) !important; -webkit-tap-highlight-color: transparent; }
  /* The two homepage open/close rows (the form opener and "More client experiences") share one mark: a drawn plus that
     becomes a minus when open, at the end of the row like the arrow on the guide pages' fold rows. (After the form opener's
     full stop the old mark read as a stray dash, and the reviews row used the browser's own triangle.) */
  .home-page #lead-capture > summary::after,
  .home-page details.more-client-experiences > summary::after { content: ""; position: absolute; right: 1px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%);
    background: linear-gradient(var(--clay), var(--clay)) center / 100% 1.5px no-repeat, linear-gradient(var(--clay), var(--clay)) center / 1.5px 100% no-repeat; }
  .home-page #lead-capture[open]:not(.closing) > summary::after,
  .home-page details.more-client-experiences[open]:not(.closing) > summary::after { content: ""; background: linear-gradient(var(--clay), var(--clay)) center / 100% 1.5px no-repeat; }
  /* (.closing: while a row glides shut its mark already shows the plus, as on the guide pages) */
  /* the send button uses the site sans like every other button (it was falling back to Arial) */
  .home-page .lead-submit { font-family: "Instrument Sans", "Avenir Next", "Helvetica Neue", Arial, sans-serif !important; }
  /* Call and Copy number: one centred row, the same snug underline under both */
  .home-page .ask .ask-actions { justify-content: center; }
  .home-page .ask .ask-actions > .call-link { border-bottom: 0 !important; padding-bottom: 0 !important; text-decoration-line: underline !important; text-decoration-thickness: 1px !important; text-decoration-color: rgba(20, 32, 25, .7) !important; text-underline-offset: .35em !important; }
  /* the stat figures keep full clay (the .75 dimming meant for "As of October 2026" was catching them) */
  .home-page .work-stat .count { opacity: 1; }
  /* footer and town links get a 44px tap height without moving anything */
  .home-page .town-links a, .home-page .site-footer .legal a { position: relative; }
  .home-page .town-links a::after, .home-page .site-footer .legal > a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  /* Footer: the two award links sat 8px apart on one line, each 15px tall. They stack as two rows in the same rhythm as the
     lines around them (the dot between them is not shown), and each row's tap area reaches to the middle of the gaps around it. */
  .home-page .site-footer .legal > span:has(> a + a) { font-size: 0 !important; line-height: 0 !important; }
  .home-page .site-footer .legal > span:has(> a + a) > a { display: block; width: fit-content; font-size: .75rem; line-height: 1.45; text-wrap: balance; }
  .home-page .site-footer .legal > span:has(> a + a) > a + a { margin-top: .6rem; }
  .home-page .site-footer .legal > span:has(> a + a) > a::after { content: ""; position: absolute; inset: -.3rem 0; }
  .home-page .site-footer .legal > span:has(> a + a) > a + a::after { inset: -.3rem 0 -.6rem; }
  .home-page .site-footer .socials { row-gap: 1.35rem !important; }
  .home-page .site-footer .socials a { position: relative; }
  .home-page .site-footer .socials a::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
  /* Reviews opener: no browser triangle; room at the end of the row for the shared mark. */
  .home-page details.more-client-experiences > summary { position: relative; list-style: none; padding-right: 2rem; -webkit-tap-highlight-color: transparent; }
  .home-page details.more-client-experiences > summary::-webkit-details-marker { display: none; }
  /* ... and the row is ruled off below as well as above, so it reads as a finished row like the form opener and the fold rows
     on the guide pages (it hung under a single rule with open space beneath it). The row sits evenly between its two rules,
     and when it is open the cards stay clear of the closing rule. */
  .home-page details.more-client-experiences { border-bottom: 1px solid var(--line-dark); padding-top: 0 !important; }
  .home-page details.more-client-experiences > .early-reviews-grid { margin-top: .75rem; margin-bottom: 1.5rem; }
  /* The opened strip runs to both screen edges like the review strip above it, so a card that is part-way in view slides off
     the edge of the screen. Before, the strip stopped at the side margin and cut its cards there. */
  .home-page details.more-client-experiences > .early-reviews-grid { margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); padding-left: var(--pad) !important; padding-right: var(--pad) !important; }
  /* The address box ends on an ellipsis when its hint is longer than the box (under about 390px it was cut mid-word). */
  .home-page #lead-address { text-overflow: ellipsis; }
  /* The short centred sentences break into even lines (the stats line, the three "what I look at" notes, the guides intro, the
     ask line, the home-value note and the form's small print), so none ends on a stray word or two. */
  .home-page .things .thing > p, .home-page .local-guide-copy > p, .home-page .ask > p, .home-page .home-value > p, .home-page .lead-consent, .home-page .work-stat { text-wrap: balance; }
}
@media (max-width: 349px) {
  /* Form opener on the narrowest phones: the question moves left so the mark at the end of the row clears it (at 320 the
     minus sat 3px from the question mark and read like a dash typed after it). */
  .home-page #lead-capture > summary { padding-left: 0 !important; padding-right: 1.5rem !important; }
}
@media (max-width: 340px) {
  /* the sign-off line under Geoff's story may wrap on very narrow or zoomed screens instead of running past the edge */
  .home-page .person-caption span { white-space: normal; }
}
/* Town links: on phones too narrow for "Piedmont, SC (Greenville & Anderson counties)" on one line, the counties drop to a
   second line as a unit and the underline is as wide as that line (it ran the full column under the one word "counties)"). */
@media (min-width: 300px) and (max-width: 389px) {
  .home-page .town-links a > .ph-nowrap { white-space: nowrap; }
  .home-page .town-links a:has(> .ph-nowrap) { width: min-content; }
}
/* (the span that keeps the counties together takes its link's colour at every width: an older rule greys any span inside the town links) */
.home-page .town-links a > .ph-nowrap { color: inherit; }
/* Review bylines and the licence line in the footer: on a phone they break only after a separator dot, so a dot never begins a
   line and a name or a phrase is never split in two ("A. & N. Hayes · Relocation buyers ·" then "Email testimonial"). Safari,
   whose letters run a touch wider than Chrome's, was starting the second line with the dot; at 320px the licence line was
   split after "SC Real Estate". Each piece between dots is a span in the page; the spans have a style on phones alone. */
@media (max-width: 600px) {
  .home-page .early-reviews figcaption > .ph-nowrap, .home-page .site-footer .legal > span > .ph-nowrap { white-space: nowrap; }
  /* sixth round: the date in the footer's "Updated" line keeps its month and day together (the office line's state and ZIP
     code are covered by the rule above) */
  .home-page .site-footer .legal time > .ph-nowrap { white-space: nowrap; }
}
/* (on paper the pieces keep their byline's own colour, as before: the print rules darken any span inside a dark band) */
@media print {
  .home-page .early-reviews figure > figcaption > span.ph-nowrap:not(.btn):not(.button) { color: inherit !important; }
}
/* The floating Text Geoff button on newer iPhones. Safari now lets the page show beneath its floating bar, but it still cuts
   anything fixed to the screen off along the old edge, 13px under this button. The button's soft shadow reached 40px, so it
   ended in a hard straight line; and the button itself was sliced along the same line while it slid in and out from below.
   The shadow now ends inside that room, and the button fades in with a short rise (so it is whole the whole time) instead
   of sliding up through the line. Phone only. A phone that asks for reduced motion gets no motion, as before. */
@media (max-width: 600px) {
  .home-page .textbar .btn, .home-page .textbar a { box-shadow: 0 1px 2px rgba(13, 21, 17, .16), 0 4px 8px rgba(13, 21, 17, .22) !important; }
  .home-page .textbar { transform: translateY(8px); opacity: 0; }
  .home-page .textbar.on { transform: none; opacity: 1; }
  .home-page .textbar.yield { transform: translateY(8px) !important; opacity: 0 !important; }
}
@media (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .home-page .textbar { transition: opacity .3s ease, transform .45s var(--ease-out), visibility .45s; }
}
/* The grey hints inside the question form's fields. The page set no colour for them, so each browser used its own: Chrome's
   is a little under the readable line on this cream (4.3:1) and Safari's is a much lighter grey (2.2:1). They take the same
   quiet, readable tone as the calculator's waiting zeros on the guide pages. */
@media (max-width: 600px) {
  .home-page #lead-form input::placeholder, .home-page #lead-form textarea::placeholder { color: rgba(20, 32, 25, .64); opacity: 1; }
}
/* The strips Safari draws behind the clock and behind its own bar. Newer iPhones colour them with the page's ground colour:
   dark green here, which suits the top of this page but left a dark slab under the paper footer at the very end. Past the
   middle of the page the ground colour becomes the footer's paper (the homepage script sets the class), so the end of the
   page meets its strip in the same colour. The page itself is painted dark green exactly as before (a flat layer over the
   ground), and nothing on screen changes when it switches: mid-page neither strip shows the ground. The backing behind the
   whole page turns paper with it: the page ends a fraction of a pixel short of a whole one, and that sliver of dark backing
   showed as a hairline between the paper footer and the paper strip. Phone only; never on paper. */
@media screen and (max-width: 600px) {
  body.home-page { background-image: linear-gradient(#0d1511, #0d1511); }
  html.pg-low, html.pg-low body.home-page { background-color: #f2ede3; }
}
/* r21, real-Safari pass. "The why" paragraph ended on one lone word in Safari ("choices."): its last two words now stay
   together. Each review quote's last two words stay together as well, so a quote never ends on one lone word ("sale.”"
   did, in both browsers), and the "!" one reviewer typed after a space never starts a line. Phone only. */
@media (max-width: 600px) {
  .home-page .family-copy > p > .ph-nowrap, .home-page main blockquote > .ph-nowrap { white-space: nowrap; }
}
/* r21, real-Safari pass. A long review in the swipe cards is cut to seven lines and ends in dots; there was no way to read
   the rest. A card that is cut now carries the same drawn plus as the two rows, beside its byline (the homepage script adds
   it only to a card that is really cut). Tapping it, or the cut quote, opens the whole review with the rows' glide, and the
   plus becomes a minus that shuts it. No word is added or changed. Phone only: the cut only exists on phone widths. */
@media (max-width: 600px) {
  .home-page .early-reviews-grid > figure.rev-cut > figcaption { padding-right: 2.6rem; }
  .home-page .early-reviews-grid > figure > .rev-more { position: absolute; right: 9px; bottom: 9px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
  .home-page .early-reviews-grid > figure > .rev-more[hidden] { display: none; }
  .home-page .early-reviews-grid > figure > .rev-more::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%);
    background: linear-gradient(var(--clay), var(--clay)) center / 100% 1.5px no-repeat, linear-gradient(var(--clay), var(--clay)) center / 1.5px 100% no-repeat; }
  .home-page .early-reviews-grid > figure.rev-open:not(.rev-closing) > .rev-more::after { background: linear-gradient(var(--clay), var(--clay)) center / 100% 1.5px no-repeat; }
  .home-page .early-reviews-grid > figure > .rev-more:focus-visible { outline: 2px solid var(--clay); outline-offset: -9px; }
  .home-page .early-reviews-grid:not(.email-testimonials) > figure.rev-open > blockquote { display: block; -webkit-line-clamp: unset; overflow: visible; }
  /* sixth round: a review that runs only a line or two past the cut is shown whole (the homepage script marks it), so the
     plus never opens a single line. Seen at 320 to 359px, where one review is eight lines. */
  .home-page .early-reviews-grid:not(.email-testimonials) > figure.rev-whole > blockquote { display: block; -webkit-line-clamp: unset; overflow: visible; }
  .home-page .early-reviews-grid > figure.rev-cut:not(.rev-open) > blockquote { cursor: pointer; -webkit-tap-highlight-color: transparent; }
}
@media (min-width: 600.02px) {
  .home-page .early-reviews-grid > figure > .rev-more { display: none !important; }
}
/* r21, seventh round. "The person": on phones 402 to 430 wide a line ended on "I" and the brokerage's name split as
   "Keller / Williams". "I help" and "Keller Williams" each stay on one line. Phone only. */
@media (max-width: 600px) {
  .home-page .person-copy > p > .ph-nowrap { white-space: nowrap; }
}
/* r21, eighth round. Question form: the Text / Email choice sits centred under its centred label, like every field
   above and below it, and at the same distance from its label and from the next label as the fields are. (Each choice
   keeps its 44px tap height; only the empty part of that height now overlaps the gaps.) The long label over the
   address field breaks into two even lines ("… or move / is on your mind? (optional)"). Phone only. */
@media (max-width: 600px) {
  .home-page .lead-form .reply-picker .reply-options { justify-content: center; margin-top: -7.78px; margin-bottom: -11.5px; }
  .home-page .lead-form .lead-field > label { text-wrap: balance; }
}

/* ninth round (Nov 20) */
@media (max-width: 600px) {
  /* Review cards: Safari can lay the last kept-together words of a line a few pixels past the text's right edge (seen at 356, 366,
     380 and 418-420 wide). The shortened cards clip their text, and at 356 the closing quote mark lost its second stroke. The quote
     now reaches 10px into the card's own 24px of padding before it clips, so no letter or quote mark is cut. The text's width and
     line breaks are unchanged. (Marked important: the base rule for these quotes sets padding and margin with important.) */
  .home-page .early-reviews-grid:not(.email-testimonials) blockquote { padding-right: 10px !important; margin-right: -10px !important; }
}
/* Zoomed-in screens (under 320 wide): kept-together words wrap freely again, as on the plain site. */
@media (max-width: 319.98px) {
  .home-page .ph-nowrap { white-space: normal !important; }
}
/* Twelfth round (2026-11-20): on the narrowest phones (320 to 339 wide) a guide title left "Greenville" alone on a second line
   ("Buying a home in / Greenville"). The titles are a touch smaller in this band only, so each sits on one line and the long one
   takes two instead of three. Below 320 (a zoomed-in page) they are full size again. */
@media (min-width: 320px) and (max-width: 339.98px) {
  .home-page .guide-card strong { font-size: 1.28rem !important; }
}
/* s33. The large first quote on the narrowest phones (320 to 339px): at full size its third line could not hold "we made as
   first-time", so the quote ran to five lines with "first-time" alone on one of them (at 330px the word broke at its hyphen).
   About a tenth smaller here, it reads on the same four lines as on every wider phone. Full size again below 320px. */
@media (min-width: 320px) and (max-width: 339.98px) {
  .home-page .early-reviews .feature-quote blockquote { font-size: 1.72rem !important; }
}

/* ----- twelfth round, later: the cards of a review strip stand the same height ----- */
@media (max-width: 600px) {
  /* The cards stood as tall as their own words: six, seven or three lines of quote, one or two lines of byline, so the
     strip's lower edge stepped up and down as it was swiped. Now each card is a column with its byline at the foot.
     In the first strip the homepage script hands over the height of the tallest closed card (--rev-h) and every card takes
     it as its least height: closed cards and their bylines line up, and an opened card grows from that height on its own.
     The second strip (More client experiences) has no card that opens, so its cards simply stretch to the tallest. */
  .home-page .early-reviews-grid > figure { display: flex; flex-direction: column; }
  .home-page .early-reviews-grid > figure > figcaption { margin-top: auto; }
  .home-page .early-reviews-grid:not(.email-testimonials) > figure { min-height: var(--rev-h, 0px); }
  .home-page .early-reviews-grid.email-testimonials { align-items: stretch !important; }
  /* A cut quote never ends in half a word (the homepage script, "hold"): while the script measures, the cut is lifted;
     the line break it sets before the last word only counts while the card is cut, never in an opened card. */
  .home-page .early-reviews-grid:not(.email-testimonials) > figure.rev-measure > blockquote { display: block; -webkit-line-clamp: unset; }
  .home-page .early-reviews-grid > figure.rev-open > blockquote br.rev-br { display: none; }
}
@media (max-width: 600px) {
  /* The footer's small print sits under a hairline rule. Safari let "SC 29607" run 2px past the rule's end at 428px wide
     (its balanced line setting measures a kept piece a hair short). The lines now stop 4px short of the edge. */
  .home-page .site-footer .legal > span { padding-right: 4px !important; }
}

/* ==========================================================================
   2026-11-22 r6 additions (homepage)
   Menu (Areas, Search homes), the menu switched on for phones, pinned top bar
   on wide screens, two-column contact section, sharper sold-home photos.
   Desktop rules sit inside min-width queries. The phone rules in this block
   are the phone changes approved on Nov 22, 2026 and are labeled "phone".
   ========================================================================== */

/* ---- Menu: Areas fold-out + Search homes (every width) ---- */
.home-nav .nav-areas { position: relative; }
.home-nav .nav-areas > summary {
  display: inline-flex; align-items: center; gap: .45em; padding-block: .5rem;
  list-style: none; cursor: pointer; white-space: nowrap;
  -webkit-user-select: none; user-select: none;
}
.home-nav .nav-areas > summary::-webkit-details-marker { display: none; }
.home-nav .nav-areas > summary::after {
  content: ""; flex: none; width: .38em; height: .38em;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-.14em) rotate(45deg);
}
.home-nav .nav-areas[open] > summary::after { transform: translateY(.12em) rotate(225deg); }
.home-nav .nav-search { display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.home-nav .nav-areas-panel {
  position: absolute; z-index: 70; top: calc(100% + .45rem); left: -.9rem;
  display: grid; min-width: 15.5rem; padding: .45rem;
  background: var(--forest-deep); color: var(--cream);
  border: 1px solid var(--line-light); border-radius: 12px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .42);
  font-family: var(--sans); font-size: 1rem; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.home-nav .nav-areas-panel a {
  display: flex; align-items: center; min-height: 44px; padding: 0 .85rem;
  border-radius: 8px; white-space: nowrap;
}
.home-nav .nav-areas-panel a:hover { background: rgba(251, 248, 241, .09); color: var(--peach); }
.home-nav .nav-areas-panel a:last-child { margin-top: .3rem; border-top: 1px solid var(--line-light); border-radius: 0 0 8px 8px; }

/* Desktop: peach underline on hover, like the guide pages (audit item 12) */
@media (min-width: 861px) {
  .home-nav > a:not(.header-call):hover,
  .home-nav .nav-areas > summary:hover,
  .home-nav .nav-areas[open] > summary {
    text-decoration: underline; text-decoration-color: var(--peach);
    text-decoration-thickness: 1px; text-underline-offset: .5em;
  }
}

/* phone + tablet: the menu is switched on, in the same style as the guide pages. */
@media (max-width: 860px) {
  .home-page .site-header { flex-wrap: wrap; row-gap: .35rem; }
  .home-page .site-header::before {
    content: ""; position: absolute; z-index: -1; inset: 0 0 -1.75rem; pointer-events: none;
    background: linear-gradient(to bottom, rgba(13, 21, 17, .62), rgba(13, 21, 17, .46) 58%, rgba(13, 21, 17, 0));
  }
  .home-page .home-nav {
    display: flex; flex-wrap: wrap; align-items: center; width: 100%; gap: 0 1.4rem;
    font-family: var(--sans); font-size: .875rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  }
  .home-page .home-nav > a:not(.header-call),
  .home-page .home-nav .nav-areas > summary { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .home-page .home-nav .header-call { display: none; }
  .home-page .home-nav .nav-areas { position: static; }
  .home-page .home-nav .nav-areas-panel {
    top: 100%; left: 0; right: 0; min-width: 0;
    grid-template-columns: 1fr 1fr; column-gap: .4rem;
    padding: .35rem calc(var(--pad) - .85rem) .8rem;
    border-width: 1px 0; border-radius: 0;
    box-shadow: 0 22px 36px rgba(0, 0, 0, .4);
  }
  .home-page .home-nav .nav-areas-panel a:last-child { grid-column: 1 / -1; border-radius: 0; }
}
/* Sideways phones (short screens): no menu over the headline, same as before. */
@media (max-width: 860px) and (orientation: landscape) and (max-height: 500px) {
  .home-page .home-nav { display: none; }
  .home-page .site-header::before { content: none; }
}
/* Small desktops and tablets on their side: make room for the two new items. */
@media (min-width: 861px) and (max-width: 1099px) {
  .home-page .home-nav .header-call { display: none; }
  .home-page .wordmark .wordmark-prefix { display: none; }
  /* "Areas" sits near the right edge here, so its list opens leftward and stays on screen. */
  .home-page .home-nav .nav-areas-panel { left: auto; right: -.9rem; }
}
/* phone and small tablet: row one is Relocating / Buying / Selling / About, row two is Areas / Search homes.
   Up to 660px so "Search homes" never wraps alone. */
@media (max-width: 660px) {
  .home-page .home-nav::after { content: ""; order: 1; flex: 0 0 100%; height: 0; }
  .home-page .home-nav .nav-areas,
  .home-page .home-nav .nav-search { order: 2; }
}
/* Narrow phones: tighter spacing so all four of row one stay together. */
@media (max-width: 389px) {
  .home-page .home-nav { column-gap: 1rem; }
}
@media (max-width: 359px) {
  .home-page .home-nav { column-gap: .7rem; font-size: .8125rem; letter-spacing: .03em; }
}

/* ---- Wide screens: the top bar stays in view (site-extras adds the classes) ---- */
@media (min-width: 1001px) {
  html.pin-bar .home-page .site-header {
    position: fixed;
    transition: background-color .25s ease, padding .25s ease, box-shadow .25s ease;
  }
  html.pin-bar.bar-solid .home-page .site-header {
    padding-block: .85rem; background: var(--forest-deep); box-shadow: 0 1px 0 var(--line-light);
  }
  html.pin-bar { scroll-padding-top: 5rem; }
}
@media (min-width: 1001px) and (prefers-reduced-motion: reduce) {
  html.pin-bar .home-page .site-header { transition: none; }
}

/* ---- Contact section: two columns on wide screens, form on the right (audit item 8) ---- */
@media (min-width: 1024px) {
  .home-page .ask {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(5, auto) 1fr; column-gap: clamp(3rem, 6vw, 6.5rem); align-items: start;
  }
  .home-page .ask > * { grid-column: 1; }
  .home-page .ask > .lead-capture {
    grid-column: 2; grid-row: 1 / -1; max-width: none; margin-top: 0; padding-top: 0; border-top: 0;
  }
}

/* ---- "Text Geoff" helper shown on computers (built by site-extras) ---- */
.tg-pop {
  position: fixed; z-index: 90; box-sizing: border-box;
  width: min(21.5rem, calc(100vw - 1.5rem)); padding: 1.15rem 1.25rem 1.2rem;
  background: #fbf8f1; color: #111613;
  border: 1px solid rgba(17, 22, 19, .16); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(13, 21, 17, .3);
  font-family: var(--sans); font-size: 1rem; font-weight: 400; line-height: 1.5;
  letter-spacing: 0; text-align: left; text-transform: none;
}
.tg-pop[hidden] { display: none; }
.tg-pop .tg-pop-title {
  margin: 0 2rem .85rem 0; color: #111613;
  font-family: var(--serif); font-size: 1.35rem; font-weight: 450; line-height: 1.2; letter-spacing: -.02em;
}
.tg-pop .tg-pop-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
.tg-pop .tg-copy {
  min-height: 44px; padding: 0 1.3rem; border: 0; border-radius: 999px;
  background: #0d1511; color: #fbf8f1; cursor: pointer;
  font: 700 .875rem/1.2 var(--sans); letter-spacing: .08em; text-transform: uppercase;
}
.tg-pop .tg-copy:hover { background: #142019; }
.tg-pop .tg-open,
.tg-pop .tg-note {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none;
  color: #111613; cursor: pointer; font: 400 1rem/1.4 var(--sans); letter-spacing: 0; text-transform: none;
  text-decoration: underline; text-decoration-color: #ad452b; text-decoration-thickness: 1px; text-underline-offset: .28em;
}
.tg-pop .tg-open[hidden] { display: none; }
.tg-pop .tg-note { margin-top: .35rem; }
.tg-pop .tg-close {
  position: absolute; top: .35rem; right: .4rem; width: 40px; height: 40px; padding: 0; border: 0;
  background: none; color: #48514b; cursor: pointer; font: 400 1.5rem/1 var(--sans);
}
.tg-pop :focus-visible { outline: 2px solid #ad452b; outline-offset: 3px; }
@media print { .tg-pop { display: none !important; } }

/* ==========================================================================
   2026-11-22 r7 additions (homepage): steadier numbers and photos
   Nothing here changes how the page looks at rest. These rules only act while
   home-cozy r4 is counting the numbers or waiting for a photo.
   ========================================================================== */

/* phone: while the numbers count, the real number stays in the line (unseen, holding its place) and the moving
   figure is drawn on top of it, so the sentence cannot shift or re-wrap. */
@media (max-width: 600px) {
  html.motion .home-page .work-stat .count.counting { position: relative; display: inline-block; white-space: nowrap; color: transparent; }
  html.motion .home-page .work-stat .count.counting::after { content: attr(data-now); content: attr(data-now) / ""; position: absolute; top: 0; left: 0; right: 0; text-align: right; color: var(--clay); }
}
/* the second `content` line keeps a screen reader on the real number (browsers that don't know it use the first).
   Reduced motion, printing and forced colours always get the plain real number. */
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  html.motion .home-page .work-stat .count.counting { color: var(--clay); }
  html.motion .home-page .work-stat .count.counting::after { content: none; }
}
@media print, (forced-colors: active) {
  html.motion .home-page .work-stat .count.counting { color: var(--clay) !important; }
  html.motion .home-page .work-stat .count.counting::after { content: none !important; }
}

/* A family or sold-home photo that is still loading when its place is on screen fades in when it lands. */
.home-page .ph-wait { opacity: 0; }
.home-page .ph-soft { transition: opacity .45s ease; }
@media (max-width: 600px) {
  html.motion .unveil.in img.ph-soft { transition: transform 1.9s var(--ease-out), opacity .45s ease; }
}
@media (prefers-reduced-motion: reduce) {
  .home-page .ph-soft { transition: none; }
}
@media print {
  .home-page .ph-wait { opacity: 1 !important; }
}
