/* Listing presentation deck (letter landscape, prints one slide per page). Brand colors: --p --s --a */
body.deck2 { background: #e7eaf0; margin: 0; }
.deck2 .wrapdeck { padding: 24px 16px 60px; container-type: inline-size; }
/* Type scales with the slide itself (15px at the full 1100px width), so a slide looks the same at every window size and in print.
   --fit is lowered by pres-fit.js on slides whose content would otherwise run past the footer. */
.s2 { --fit: 1; position: relative; width: min(1100px, 100%); margin: 0 auto 28px; aspect-ratio: 11 / 8.5; background: #fff; border-radius: 4px;
  box-shadow: 0 10px 40px rgba(16, 24, 40, .12); overflow: hidden; display: flex; flex-direction: column; color: #1d2433;
  font-size: calc(min(1100px, 100cqw) * 15 / 1100); }
.s2 .body { flex: 1; padding: 0 6.5% 0; display: flex; flex-direction: column; min-height: 0; font-size: calc(1em * var(--fit)); }
.pcover .left { font-size: calc(1em * var(--fit)); }
.s2h { display: flex; align-items: center; gap: 12px; padding: 4.2% 6.5% 0; }
.s2n { font: 700 1em 'Archivo Narrow', sans-serif; color: var(--a); letter-spacing: 1px; }
.s2k { font: 700 .78em Figtree, sans-serif; letter-spacing: 3px; text-transform: uppercase; color: #6b7285; }
.s2h::after { content: ''; flex: 1; height: 1px; background: #e3e6ee; }
.s2 h2 { font: 700 2.55em/1.05 'Archivo Narrow', sans-serif; color: var(--p); margin: .45em 0 .35em; letter-spacing: .2px; }
.s2 .lead { font-size: 1.12em; color: #4a5266; margin: 0 0 1.1em; max-width: 58em; line-height: 1.5; }
.s2f { display: flex; align-items: center; gap: 12px; padding: 1.3% 6.5%; border-top: 3px solid var(--p); font-size: .78em; color: #6b7285; margin-top: auto; }
.s2f img { height: 1.9em; width: auto; max-width: 9em; object-fit: contain; }
.s2f .pg { margin-left: auto; font-weight: 700; color: var(--p); }
.s2 ul { margin: 0; padding: 0; list-style: none; }
.chk li { position: relative; padding: .38em 0 .38em 1.9em; line-height: 1.4; border-bottom: 1px solid #eef0f5; }
.chk li:last-child { border-bottom: 0; }
.chk li::before { content: ''; position: absolute; left: 0; top: .62em; width: 1.05em; height: 1.05em; border-radius: 50%;
  background: var(--a) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/80% no-repeat; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4em 5%; align-items: start; }
.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2em 3.2%; }
.panel { background: #f6f7fa; border-radius: 10px; padding: 1.2em 1.3em; }
.panel h3 { font: 700 1.25em 'Archivo Narrow', sans-serif; color: var(--p); margin: 0 0 .5em; display: flex; gap: .5em; align-items: center; }
.panel h3 .ic { width: 1.7em; height: 1.7em; border-radius: 8px; background: var(--p); color: var(--on-p); display: grid; place-items: center; font-size: .8em; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5em, 1fr)); gap: .8em; margin-bottom: 1.1em; }
.tile { background: #f6f7fa; border-radius: 10px; padding: .85em 1em; border-left: 4px solid var(--a); }
.tile b { display: block; font: 700 1.85em/1.05 'Archivo Narrow', sans-serif; color: var(--p); }
.tile span { font-size: .78em; letter-spacing: 1px; text-transform: uppercase; color: #6b7285; }
.src { font-size: .72em; color: #8a90a2; margin-top: auto; padding-top: .8em; line-height: 1.4; }

/* cover */
.s2.pcover { flex-direction: row; }
.pcover .left { width: 46%; background: var(--p); color: var(--on-p); padding: 5.5% 5%; display: flex; flex-direction: column; }
.pcover .right { flex: 1; background: #cfd5df center/cover; position: relative; }
.pcover .logo-chip { background: #fff; border-radius: 8px; padding: .7em 1em; align-self: flex-start; margin-bottom: 2.4em; }
.pcover .logo-chip img { height: 2.8em; width: auto; max-width: 13em; object-fit: contain; display: block; }
.pcover .brandname { font: 700 1.3em 'Archivo Narrow'; margin-bottom: 2.4em; }
.pcover .kick { font-weight: 700; font-size: .85em; letter-spacing: 3.5px; text-transform: uppercase; opacity: .85; }
.pcover h1 { font: 700 3.3em/1.02 'Archivo Narrow', sans-serif; margin: .3em 0 .2em; color: var(--on-p); }
.pcover .loc { font-size: 1.25em; opacity: .9; }
.pcover .bar { width: 3.5em; height: 4px; background: var(--a); margin: 1.6em 0; border-radius: 2px; }
.pcover .prep { font-size: .92em; opacity: .8; }
.pcover .seller { font: 700 1.6em 'Archivo Narrow'; margin-top: .15em; }
.pcover .date { font-size: .9em; opacity: .75; margin-top: .4em; }
.pcover .who { margin-top: auto; display: flex; gap: .9em; align-items: center; font-size: .95em; }
.pcover .who img { width: 3.6em; height: 3.6em; border-radius: 50%; object-fit: cover; border: 3px solid var(--a); }
.pcover .vs { left: auto; right: 14px; bottom: 14px; }

/* agenda */
.agenda { counter-reset: ag; columns: 2; column-gap: 4em; margin-top: .6em; }
.agenda li { break-inside: avoid; display: flex; align-items: baseline; gap: .9em; padding: .62em 0; border-bottom: 1px solid #eef0f5; font-size: 1.12em; }
.agenda li .no { font: 700 1.1em 'Archivo Narrow'; color: var(--a); min-width: 1.8em; }
.agenda li .pg { margin-left: auto; color: #9aa0b0; font-size: .85em; }

/* agent */
.agentgrid { display: grid; grid-template-columns: 34% 1fr; gap: 1.4em 5%; flex: 1; min-height: 0; }
.agentcard2 { background: #f6f7fa; border-radius: 12px; padding: 1.4em; text-align: center; }
.agentcard2 img { width: 9em; height: 9em; border-radius: 50%; object-fit: cover; border: 4px solid var(--a); margin-bottom: .7em; }
.agentcard2 .nm { font: 700 1.6em 'Archivo Narrow'; color: var(--p); }
.agentcard2 .meta { font-size: .9em; color: #4a5266; line-height: 1.6; }
.agentcard2 .meta a { color: var(--s); text-decoration: none; }
.stats2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; margin: 1em 0 0; }
.stats2 div { background: #fff; border-radius: 8px; padding: .55em .4em; }
.stats2 b { display: block; font: 700 1.45em 'Archivo Narrow'; color: var(--p); }
.stats2 span { font-size: .66em; letter-spacing: .8px; text-transform: uppercase; color: #6b7285; }
.bio { font-size: 1.05em; line-height: 1.6; color: #3a4256; margin: 0 0 1em; white-space: pre-line; }

.sub3 { font: 700 1.2em 'Archivo Narrow', sans-serif; color: var(--p); margin: .2em 0 .4em; }
.edit-hint { background: #fff8e1; border: 1.5px dashed #e0b44c; color: #6b4d00; border-radius: 10px; padding: .8em 1em; font-size: .95em; }

/* testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.quote { background: #f6f7fa; border-radius: 12px; padding: 1.4em 1.5em 1.2em; position: relative; }
.quote::before { content: '“'; position: absolute; top: -.15em; left: .25em; font: 700 4.5em Georgia, serif; color: var(--a); opacity: .5; }
.quote p { margin: 0 0 .8em; font-size: 1.08em; line-height: 1.55; font-style: italic; color: #2a3142; position: relative; }
.quote b { color: var(--p); font-size: .95em; }

/* home */
.homegrid { display: grid; grid-template-columns: 47% 1fr; gap: 1.4em 4.5%; flex: 1; min-height: 0; }
.homeimg { border-radius: 12px; background: #cfd5df center/cover; position: relative; min-height: 16em; }
.factstrip { display: flex; gap: 0; margin: .2em 0 1em; border: 1px solid #e3e6ee; border-radius: 10px; overflow: hidden; }
.factstrip div { flex: 1; text-align: center; padding: .55em .2em; border-right: 1px solid #e3e6ee; }
.factstrip div:last-child { border-right: 0; }
.factstrip b { display: block; font: 700 1.4em 'Archivo Narrow'; color: var(--p); }
.factstrip span { font-size: .66em; letter-spacing: 1px; text-transform: uppercase; color: #6b7285; }
.desc { font-size: .95em; line-height: 1.55; color: #3a4256; margin: 0 0 .8em; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; }
.editing .desc { display: block; -webkit-line-clamp: none; }

/* gallery */
.collage { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .6em; flex: 1; min-height: 0; margin-bottom: 1em; }
.collage div { background: #cfd5df center/cover; border-radius: 8px; position: relative; }
.collage div:first-child { grid-row: span 2; }

/* comps */
.ctable2 { width: 100%; border-collapse: collapse; font-size: .9em; }
.ctable2 th { text-align: left; font-size: .72em; letter-spacing: 1px; text-transform: uppercase; color: #6b7285; padding: .5em .6em; border-bottom: 2px solid var(--p); }
.ctable2 td { padding: .5em .6em; border-bottom: 1px solid #eef0f5; }
.ctable2 tr.subject td { background: color-mix(in srgb, var(--a) 18%, white); font-weight: 700; }
.pill { display: inline-block; font-size: .78em; font-weight: 700; padding: .1em .6em; border-radius: 99px; background: #eef0f5; color: #4a5266; }
.pill.sold { background: #e3f4ea; color: #0a6b45; } .pill.active { background: #e6f0fb; color: #0b4c94; } .pill.pending { background: #fff4d6; color: #8a5a00; }
.compgrid { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.4em 4%; align-items: start; }
.bars { display: grid; gap: .35em; font-size: .82em; }
.bars .b { display: grid; grid-template-columns: 9.5em 1fr 4.2em; gap: .6em; align-items: center; }
.bars .b .t { height: .9em; border-radius: 4px; background: var(--s); opacity: .85; }
.bars .b.me .t { background: var(--a); opacity: 1; }
.bars .b .n { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #4a5266; }
.bars .b .v { text-align: right; font-weight: 700; color: var(--p); }

/* pricing */
.bigprice { font: 700 4.6em/1 'Archivo Narrow', sans-serif; color: var(--p); margin: .1em 0 .2em; }
.range2 { position: relative; height: .9em; border-radius: 99px; background: linear-gradient(90deg, color-mix(in srgb, var(--s) 45%, white), var(--p)); margin: 2.6em 0 2.4em; }
.range2 .mk { position: absolute; top: -2.3em; transform: translateX(-50%); font-weight: 700; color: var(--p); white-space: nowrap; font-size: .95em; }
.range2 .mk::after { content: ''; display: block; width: 4px; height: 1.7em; background: var(--a); margin: .2em auto 0; border-radius: 2px; }
.range2 .lo, .range2 .hi { position: absolute; top: 1.4em; font-size: .9em; color: #6b7285; }
.range2 .hi { right: 0; }

/* strategy */
.curve svg { width: 100%; height: auto; }
.brk { margin-top: 1em; background: color-mix(in srgb, var(--a) 14%, white); border-radius: 10px; padding: .9em 1.1em; font-size: .98em; line-height: 1.5; }

/* timeline */
.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .9em; counter-reset: st; margin-top: 1em; }
.timeline li { counter-increment: st; background: #f6f7fa; border-radius: 12px; padding: 2.6em 1em 1em; position: relative; line-height: 1.45; font-size: .95em; border-top: 4px solid var(--p); }
.timeline li::before { content: counter(st); position: absolute; top: .7em; left: 1em; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--a); color: var(--on-a); display: grid; place-items: center; font-weight: 700; font-size: .95em; }
.timeline li b { display: block; color: var(--p); font-size: 1.08em; margin-bottom: .3em; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15em, 1fr)); gap: .9em; }
.cards li { background: #f6f7fa; border-radius: 12px; padding: 1.1em 1.2em 1.1em 3.4em; position: relative; line-height: 1.45; font-size: 1.02em; }
.cards li::before { content: ''; position: absolute; left: 1.1em; top: 1.15em; width: 1.4em; height: 1.4em; border-radius: 6px; background: var(--a); }

/* net sheet */
.netsheet { width: 100%; border-collapse: collapse; font-size: .95em; }
.netsheet th { font: 700 1em 'Archivo Narrow'; color: var(--p); text-align: right; padding: .45em .7em; border-bottom: 2px solid var(--p); }
.netsheet th:first-child { text-align: left; }
.netsheet th.rec { background: color-mix(in srgb, var(--a) 18%, white); }
.netsheet td { padding: .4em .7em; border-bottom: 1px solid #eef0f5; text-align: right; }
.netsheet td:first-child { text-align: left; color: #3a4256; }
.netsheet td.rec { background: color-mix(in srgb, var(--a) 9%, white); }
.netsheet tr.price td { font-weight: 700; color: #1d2433; }
.netsheet tr.total td { font: 700 1.5em 'Archivo Narrow'; color: var(--p); border-top: 3px solid var(--p); border-bottom: 0; }
.netsheet .sub { color: #8a90a2; font-size: .85em; }

/* next */
.steps2 { counter-reset: nx; display: grid; gap: .7em; }
.steps2 li { counter-increment: nx; display: flex; gap: 1em; align-items: center; font-size: 1.2em; }
.steps2 li::before { content: counter(nx); width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--p); color: var(--on-p); display: grid; place-items: center; font-weight: 700; flex: none; }
.closing { font-size: 1.1em; color: #3a4256; line-height: 1.55; margin-top: 1.4em; }

/* tools bar on public view */
.deckbar { position: fixed; right: 16px; bottom: 16px; z-index: 50; display: flex; gap: 8px; }

@media (max-width: 760px) {
  .s2 { aspect-ratio: auto; font-size: 13px; }
  .s2.pcover { flex-direction: column-reverse; } .pcover .left, .pcover .right { width: auto; } .pcover .right { min-height: 220px; }
  .cols2, .agentgrid, .homegrid, .cols3, .quotes, .compgrid { grid-template-columns: 1fr; }
  .s2 .body, .agentgrid, .homegrid, .collage { flex: none; }
  .ctable2 { display: block; overflow-x: auto; }
  .timeline { grid-auto-flow: row; } .agenda { columns: 1; } .collage { grid-template-columns: 1fr 1fr; } .collage div:first-child { grid-row: auto; grid-column: span 2; min-height: 180px; } .collage div { min-height: 110px; }
  .s2 .body { padding-bottom: 1.2em; }
}
@media print {
  body.deck2 { background: #fff; } .deck2 .wrapdeck { padding: 0; }
  .deck2 .wrapdeck { container-type: normal; }
  /* 14.4px on an 11in (1056px) page = the same proportions as 15px on the 1100px screen slide, so the on-screen fit carries over */
  .s2 { width: 11in; height: 8.5in; aspect-ratio: auto; margin: 0; border-radius: 0; box-shadow: none; break-after: page; font-size: 14.4px; }
  .s2.is-hidden, .deckbar, .s2tools, .editbar, .drawer { display: none !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
