/* ==========================================================================
   HOME PILOT — Gate B, 2026-09-24. Loaded by the Home page only, after
   skin.css. Every rule is scoped to body.home-pilot, so the other 81 pages,
   which share skin.css and page.js, cannot change.
   ========================================================================== */

/* The menu fixes (closed: visibility + inert; open: the panel ends above the console
   and scrolls inside itself) moved to the shared skin.css/page.js on 2026-09-25. */

/* --- Hero: the call is in the first screen, not only in the console ----- */
body.home-pilot .hero-acts{
  display:flex; flex-wrap:wrap; gap:10px;
  margin-top:clamp(16px,2vw,24px);
}
body.home-pilot .hero-acts .btn{ min-height:52px; }
body.home-pilot .deck{ max-width:40ch; }

/* Phone: the photograph becomes a band at the top where the fire is actually
   visible, and the copy sits under it on solid ground. Before, the fire sat
   behind the copy's 62-93% ground and almost disappeared. The copy's ground
   now starts just above the eyebrow, so every line of text keeps its dark
   ground; the fire shows only where there is no text. */
@media (max-width:959px){
  body.home-pilot .hero{ padding-bottom:28px; }
  body.home-pilot .hero-shot{
    inset:0 0 auto 0;
    height:calc(var(--hdr-h) + clamp(170px,26svh,230px) + 40px);
  }
  body.home-pilot .hero-shot img{ object-position:50% 62%; }
  body.home-pilot .hero-copy{ padding-top:clamp(170px,26svh,230px); }
  body.home-pilot .hero-copy h1{ margin-top:0; }
  body.home-pilot .hero-copy::before{
    inset:calc(clamp(170px,26svh,230px) - 48px) calc(-1 * var(--pad)) calc(-1 * var(--pad)) calc(-1 * var(--pad));
    background:linear-gradient(to bottom, rgba(10,10,10,0) 0, rgba(10,10,10,.94) 48px, rgba(10,10,10,.96) 100%);
  }
  body.home-pilot .hero-acts .btn-primary{ flex:1 1 auto; }
  body.home-pilot .triple{ margin-top:18px; }
}
@media (max-width:420px){
  body.home-pilot .hero-acts{ gap:8px; }
  body.home-pilot .hero-acts .btn{ padding:0 14px; }
}

/* Desktop: the headline group sits at the bottom of the first screen on the
   console's edge (owner's design). The call row fills the hole above it
   instead of adding one. */
@media (min-width:960px){
  body.home-pilot .hero-copy .triple{ margin-top:clamp(18px,2.2vw,28px); }
}

/* --- Answers: the panel is as tall as its tallest answer, by layout -----
   page.js measures once and pins a min-height; on a phone the measurement
   could come out short and cut the buttons off. Stacking every answer in one
   grid cell makes the panel exactly as tall as the tallest one, always. */
body.home-pilot .panel{ display:grid; min-height:0 !important; }
/* A hidden answer is also out of the Tab order and the hit-test at once, not
   after a delayed transition: the outgoing answer simply goes, the incoming
   one still plays its 170ms entrance. */
body.home-pilot .ansbody{
  position:relative; left:auto; right:auto; top:auto;
  grid-area:1 / 1;
  visibility:hidden;
}
body.home-pilot .ansbody.on{ visibility:visible; }

/* ==========================================================================
   REVISION C — 2026-09-24
   ========================================================================== */

/* --- The headings that rode over their own lists ------------------------
   From 1000px skin.css turns every section into a two-track grid with the
   heading sticky in the left rail. #services (.index) and #coverage (.cities)
   put a full-width list in the next row, spanning both tracks, so while you
   scrolled the pinned heading slid over the rows and the city cells
   (measured: 79,973 px2 at 1440, scrollY 6343). These two headings now sit
   above their lists at full width and do not stick. Every other section keeps
   its sticky rail, because its content stays in the right track. */
@media (min-width:1000px){
  body.home-pilot #services > .wrap > .head,
  body.home-pilot #coverage > .wrap > .head{ position:static; grid-column:1 / -1; }
  body.home-pilot #coverage > .wrap > .head > p{ max-width:60ch; }
}

/* --- Console: Copy is gone, the request button carries the full label ---- */
@media (max-width:959px){
  body.home-pilot .cactions #cbBtn{
    flex:1 1 0; min-width:0; white-space:normal; line-height:1.15;
    padding:4px 10px; text-align:center; text-wrap:balance;
  }
  body.home-pilot .cactions .btn-primary{ flex:0 0 auto; padding:0 14px; }
}
@media (max-width:374px){ body.home-pilot .cactions #cbBtn{ font-size:13px; } }

/* --- Photos: categories + an illustrative comparison --------------------- */
body.home-pilot #proof .proof-copy > p{ max-width:52ch; font-size:var(--t-body); line-height:1.6; }
body.home-pilot #proof .sheetstrip{ margin-top:clamp(16px,2vw,24px); }
body.home-pilot .cmp-col{ min-width:0; }
body.home-pilot .cmp-note{
  margin-top:10px; max-width:52ch;
  font-size:var(--t-meta); line-height:1.5; letter-spacing:var(--tr-meta); color:var(--grey);
}

/* --- Hero on a phone: Call and the request stay on one row. The longer
   request label wrapped the pair into two rows and pushed the services
   heading down 24px (1031.9 at 375, fonts loaded); the label now wraps inside
   its own button instead, as it does in the console. */
@media (max-width:520px){
  body.home-pilot .hero-acts{ flex-wrap:nowrap; }
  body.home-pilot .hero-acts .btn-primary{ flex:0 0 auto; }
  body.home-pilot .hero-acts [data-cb]{
    flex:1 1 0; min-width:0; white-space:normal; line-height:1.15;
    padding:4px 10px; text-align:center; text-wrap:balance;
  }
}
@media (max-width:374px){ body.home-pilot .hero-acts .btn{ font-size:13px; padding:4px 10px; } }

/* ==========================================================================
   REVISION D — 2026-09-25
   ========================================================================== */

/* --- #proof: all five photos in a grid, no sideways track --------------------
   Phone: two per row, the fifth across the full width. From 560px: three in the
   first row, two larger ones in the second. Every tile is visible at once. */
body.home-pilot #proof .sheettrack{
  grid-auto-flow:row; grid-auto-columns:auto;
  grid-template-columns:repeat(6,minmax(0,1fr));
  overflow:visible; scroll-snap-type:none;
}
body.home-pilot #proof .sheettrack figure{ grid-column:span 3; }
body.home-pilot #proof .sheettrack figure:last-child{ grid-column:1 / -1; }
@media (min-width:560px){
  body.home-pilot #proof .sheettrack figure{ grid-column:span 2; }
  body.home-pilot #proof .sheettrack figure:nth-child(n+4){ grid-column:span 3; }
}
/* Desktop: heading, text and the five photos on the left; the comparison on
   the right. The heading is part of the left column, so it does not stick. */
@media (min-width:960px){
  body.home-pilot #proof > .wrap{
    display:grid; align-items:start;
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);
    column-gap:clamp(32px,4vw,64px);
  }
  body.home-pilot #proof > .wrap > .head{ position:static; grid-column:1; grid-row:1; margin-bottom:0; }
  body.home-pilot #proof .proof-grid{ display:contents; }
  body.home-pilot #proof .proof-copy{ grid-column:1; grid-row:2; margin-top:clamp(18px,2vw,26px); }
  body.home-pilot #proof .cmp-col{ grid-column:2; grid-row:1 / span 2; align-self:start; }
}

/* The orange row/city hover and focus moved to the shared skin.css on 2026-09-25 (.index .row,
   .cities .city - the same rules this block held for #services and #coverage). */


/* Hero photo label ("Firebox · active burn"), proposed 2026-09-27, NOT applied: from 960px skin.css gives .hero-shot .cap
   right/bottom but never a position, so on Home the label flows under the photograph and the figure clips it (label top
   904 vs figure bottom 900 at 1000 and 1440). Pages with body.lce-pilot get position from pilot-common.css; Home does not
   load that file. This only makes skin.css's own corner take effect on Home; phone widths are untouched. */
@media (min-width:960px){
  body.home-pilot .hero-shot > .cap{ position:absolute; z-index:2; }
}
