/* ===== Round 5 (Dec 2, 01:20Z): Jacob's comment batch on the round-4 board ===== */

/* One banner on every page, white (Jacob: "I actually wonder if we lean white?") */
.r5 .topline { background:var(--n0) !important; color:var(--n900) !important; border-bottom:1px solid var(--n200) !important; }
.r5 .topline a { color:var(--b600) !important; font-weight:600; }

/* Company: only the backers strip is tinted; advisors and news share the white page */
.r5 .backers-band ~ .section:not(.plate) { background:var(--n0) !important; }

/* Team on a phone: no "tap a card" line; a round + on each card says "more" the way the accordion does */
@media (max-width:760px){
  .r5.m-flip .team::before { content:none !important; display:none !important; }
  .r5.m-flip .team .person .front .txt::after { content:"+" !important; font:400 1.25rem/1 var(--sans) !important; letter-spacing:0 !important; text-transform:none !important; color:var(--b600) !important; width:28px; height:28px; border:1px solid var(--n200); border-radius:999px; display:grid; place-items:center; right:10px !important; bottom:10px !important; background:var(--n0); }
  .r5.tm-center.t-five .team .person:nth-child(5):last-child { grid-column:1 / -1; justify-self:center; width:calc(50% - 6px); }
  .r5.tm-center.m-flip.t-five .team .person:nth-child(5):last-child .front { display:block !important; }
  .r5.tm-center.t-five .team .person:nth-child(5):last-child .photo { aspect-ratio:auto !important; }
  .r5.tm-swipe .team { display:flex !important; overflow-x:auto; gap:12px !important; scroll-snap-type:x mandatory; margin:0 -20px !important; padding:0 20px 8px !important; scrollbar-width:none; }
  .r5.tm-swipe .team .person { flex:0 0 62%; scroll-snap-align:start; }
  .r5.tm-swipe.m-flip.t-five .team .person:nth-child(5):last-child .front { display:block !important; }
}

/* Owners hero: panel higher on the render */
.r5.hero-up.o-hero .plate .first-copy { margin-top:56px !important; }
@media (max-width:760px){ .r5.hero-up.o-mosaic .plate .first-copy { margin-top:56px !important; } }
.r5.fr-close .plate.full > img.bg { object-position:72% 30%; transform:scale(1.4); transform-origin:72% 30%; }

/* Rooms: wide crops so each room reads; a montage on desktop too */
@media (min-width:761px){
  .r5.rm-mont .r3 { display:grid !important; grid-template-columns:repeat(3,minmax(0,1fr)) !important; grid-template-rows:320px 220px !important; grid-template-areas:"a a b" "c d e"; gap:12px !important; width:auto !important; margin:56px 0 0 !important; overflow:visible !important; }
  .r5.rm-mont .r3 figure { aspect-ratio:auto !important; height:100% !important; margin:0; border-radius:14px; overflow:hidden; position:relative; }
}
.r5.rm-mont .r3 figure:nth-child(1){grid-area:a} .r5.rm-mont .r3 figure:nth-child(2){grid-area:b} .r5.rm-mont .r3 figure:nth-child(3){grid-area:c} .r5.rm-mont .r3 figure:nth-child(4){grid-area:d} .r5.rm-mont .r3 figure:nth-child(5){grid-area:e}
.r5.rm-mont .r3 img { width:100%; height:100%; object-fit:cover; object-position:50% 55% !important; }
@media (max-width:760px){
  .r5.rm-mont.o-mosaic .r3 { grid-template-rows:190px 130px 130px !important; grid-template-areas:"a a" "b c" "d e" !important; }
}

/* "We do it all": body text options */
.r5.wd-stack .band .head { display:block !important; max-width:46rem; }
.r5.wd-stack .band .head > p { margin-top:18px; font-size:1.125rem; line-height:1.6; color:var(--n700); }
.r5.wd-chips .band .head > div:last-child p { font-size:1.0625rem; color:var(--n700); }
.r5 .band .proof { list-style:none; margin:18px 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.r5 .band .proof li { padding:8px 12px; border:1px solid var(--n200); border-radius:999px; font:500 .875rem/1.2 var(--sans); color:var(--n900); background:var(--n0); }

/* What we cover: the phone accordion on desktop too */
.r5.acc-d .pts2 ol { grid-template-columns:minmax(0,1fr) !important; max-width:820px; }
.r5.acc-d .pts2 li { padding:0; cursor:pointer; }
.r5.acc-d .pts2 li > div { padding:20px 0; }
.r5.acc-d .pts2 li b { display:flex; justify-content:space-between; align-items:center; gap:12px; font-size:1.25rem; }
.r5.acc-d .pts2 li b::after { content:"+"; font:400 1.5rem/1 var(--sans); color:var(--b600); transition:transform .2s; }
.r5.acc-d .pts2 li.open b::after { transform:rotate(45deg); }
.r5.acc-d .pts2 li span { display:grid; grid-template-rows:0fr; overflow:hidden; margin-top:0; }
.r5.acc-d .pts2 li span { display:none; }
.r5.acc-d .pts2 li.open span { display:block; margin-top:10px; font-size:1rem; max-width:40rem; }

/* Estimate button on a dark render: the dark-mode accent (Blue 200, near-black label), as in Scout */
.r5 .gest .btn-primary.phone-only { background:var(--b200) !important; color:var(--n950) !important; }

/* Build-your-cluster: the same light glass as the estimate form, as a side panel */
.r5.cl-side .scrim { justify-content:flex-end !important; align-items:stretch !important; padding:16px !important; backdrop-filter:none !important; background:linear-gradient(90deg, rgba(12,21,34,.05), rgba(12,21,34,.45)) !important; }
.r5.cl-side .dlg { max-width:460px; width:100%; height:calc(100dvh - 32px); max-height:none; overflow:auto; border-radius:20px; background:linear-gradient(180deg,rgba(255,255,255,.62),rgba(255,255,255,.42)), rgba(244,246,248,.5) !important; border:1px solid rgba(255,255,255,.6) !important; backdrop-filter:blur(30px) saturate(180%); -webkit-backdrop-filter:blur(30px) saturate(180%); box-shadow:inset 0 1px 0 rgba(255,255,255,.7), 0 30px 70px rgba(0,0,0,.35) !important; }
@media (max-width:760px){
  .r5.cl-side .scrim { padding:0 !important; align-items:flex-end !important; }
  .r5.cl-side .dlg { height:auto; max-height:92dvh; border-radius:20px 20px 0 0; }
}

/* Footer 11: a modern lobby directory (header band, aligned floor numbers, thin rules, arrows), compact on a phone */
.fz11 .board { background:var(--n0) !important; border:1px solid var(--n200); border-radius:6px; padding:0 !important; box-shadow:none !important; overflow:hidden; }
.fz11 .board-head { background:var(--n900); padding:14px 24px; border:0 !important; margin:0; }
.fz11 .board-head span { color:var(--n200) !important; }
.fz11 .dir { padding:0 24px 8px; }
.fz11 .dir .grp { padding:18px 0 8px !important; }
.fz11 .dir a, .fz11 .dir .co a { grid-template-columns:48px minmax(0,11rem) minmax(0,1fr) auto !important; padding:16px 0 !important; }
.fz11 .dir .fl { font:500 .9375rem/1 var(--mono) !important; color:var(--n900) !important; font-variant-numeric:tabular-nums; }
.fz11 .dir .co a::after { content:"→"; justify-self:end; color:var(--b600); }
.fz11 .dir .co .what { color:var(--n600); }
@media (max-width:760px){
  .fz11 .fz7-grid { gap:28px !important; }
  .fz11 .side { order:-1; }
  .fz11 .side .line10 { font-size:1rem !important; margin-top:12px !important; }
  .fz11 .side .contact { margin-top:12px !important; }
  .fz11 .board-head { padding:12px 16px; }
  .fz11 .dir { padding:0 16px 4px; }
  .fz11 .dir a, .fz11 .dir .co a { grid-template-columns:32px minmax(0,1fr) auto !important; padding:13px 0 !important; gap:4px 10px !important; }
  .fz11 .dir .what { display:none !important; }
  .fz11 .dir .go { font-size:0 !important; }
  .fz11 .dir .go::after { content:"→"; font-size:1.0625rem; color:var(--b600); }
  .fz11 .dir li.next { display:none; }
  .fz11 .dir .grp { padding:14px 0 4px !important; }
}
@media (min-width:761px){
  .r5.acc-d .pts2 { display:grid; grid-template-columns:minmax(0,4fr) minmax(0,8fr); gap:56px; margin-top:72px; align-items:start; }
  .r5.acc-d .pts2 > .pts2-h { font:600 clamp(1.75rem,2.4vw,2.25rem)/1.15 var(--display); padding-top:18px; margin:0; }
  .r5.acc-d .pts2 ol { margin:0 !important; max-width:none; }
}
@media (max-width:760px){
  .r5.m-flip .team .person .front .txt::after { content:none !important; display:none !important; }
  .r5.m-flip .team .person .front { position:relative; }
  .r5.m-flip .team .person .front::after { content:"+"; position:absolute; top:10px; right:10px; width:30px; height:30px; display:grid; place-items:center; border-radius:999px; background:rgba(255,255,255,.88); border:1px solid rgba(255,255,255,.9); color:var(--b600); font:400 1.25rem/1 var(--sans); box-shadow:0 2px 8px rgba(9,15,21,.18); }
}
.r5.cl-side .scrim .dlg ~ .dlg { display:none !important; }
.r5.cl-side .scrim { display:flex !important; }
.r5.cl-side .scrim .dlg { margin:0 0 0 auto !important; position:relative !important; left:auto !important; transform:none !important; }
@media (min-width:761px){ .r5.cl-side .scrim .dlg { position:fixed !important; right:16px !important; top:16px !important; bottom:16px !important; height:auto !important; margin:0 !important; } }

/* W6: "What we cover" is a real heading at every width; on phone it sits above the list. */
.pts2-h { font:600 1.75rem/1.15 var(--display); color:var(--n900); margin:48px 0 0; letter-spacing:normal; }
@media (max-width:760px){ .pts2-h + ol { margin-top:20px !important; } }
