/* Tamas Tanya pitch deck - presentation-mode overrides.
   Load order: shared/fonts.css, shared/tokens.css, shared/deck.css, then this file. */

html, body { height: 100%; }
body.deck-body { margin: 0; overflow: hidden; font-family: var(--font-body); }

/* one slide at a time, stage centred and scaled by deck.js */
.deck { position: fixed; inset: 0; display: block; padding: 0; gap: 0; }
.slide-frame {
  position: absolute; left: 50%; top: 50%;
  transform-origin: center center;
  display: none;
}
.slide-frame.is-current { display: block; }

/* chrome */
.deck-chrome {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px; pointer-events: none;
}
.deck-chrome button {
  pointer-events: auto;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .06em;
  color: var(--pale); background: rgba(21, 31, 23, .72);
  border: 1px solid rgba(194, 169, 126, .4); border-radius: var(--radius-pill);
  padding: 7px 16px; cursor: pointer;
}
.deck-chrome button:hover { background: rgba(44, 62, 48, .95); }

/* speaker notes */
body.notes-on .speaker-note {
  display: block; position: absolute; left: 0; right: 0; bottom: 0; z-index: 5;
  background: rgba(21, 31, 23, .93); color: var(--pale);
  font-size: 15px; line-height: 1.5; padding: 14px 88px 22px;
}

/* screenshot slots. deck.js swaps data-src in, the placeholder shows until then */
.shot-frame {
  position: relative; overflow: hidden;
  background: var(--pale); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
}
.shot-frame .shot { display: none; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.shot-frame.is-loaded .shot { display: block; }
.shot-frame.is-loaded .shot-ph { display: none; }
.shot-ph { font-size: 13px; color: var(--muted-soft); letter-spacing: .06em; text-align: center; padding: 12px; }
.shot-cap { font-size: 12px; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: 6px; }

.shot-main { height: 468px; }
.shot-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.shot-pair .shot-frame { height: 300px; }
.shot-phone-row { display: grid; grid-template-columns: 210px 1fr; gap: var(--s5); align-items: start; }
.shot-phone-row .shot-phone { height: 380px; }
.shot-phone-row .shot-desk { height: 380px; }
.shot-quad { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s4); }
.shot-quad .shot-frame { height: 210px; }

/* screenshot slide layout */
.slide-shot .slide-body { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--s7); align-content: center; }
.slide-shot h2 { font-size: 36px; margin-bottom: var(--s3); }
.slide-shot li { font-size: 18px; }

/* generic helpers */
.slide .dense p, .slide .dense li { font-size: 16px; line-height: 1.55; }
.slide .src { font-size: 13px; color: var(--muted-soft); margin-top: var(--s4); }
.slide .link-row { margin-top: var(--s5); }
.slide h2 .sub { font-family: var(--font-body); font-size: 17px; color: var(--muted); display: block; margin-top: 6px; letter-spacing: 0; }

/* flow diagram */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.flow-step {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 18px 20px;
}
.flow-step .n { font-family: var(--font-head); font-size: 24px; color: var(--gold); line-height: 1; }
.flow-step h3 { font-size: 19px; margin: 8px 0 6px; }
.flow-step p { font-size: 15px; line-height: 1.5; color: var(--muted); margin: 0; }
.flow-step + .flow-step::before {
  content: ""; position: absolute; left: -17px; top: 50%;
  width: 9px; height: 9px; border-top: 2px solid var(--gold); border-right: 2px solid var(--gold);
  transform: translateY(-50%) rotate(45deg);
}

/* two panel comparison */
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h3 { font-size: 22px; margin-bottom: var(--s3); }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { font-size: 16px; line-height: 1.5; padding: 7px 0 7px 20px; position: relative; }
.panel li::before { content: ""; position: absolute; left: 0; top: 16px; width: 10px; height: 2px; background: var(--gold); }

/* nights example strip */
.nights { display: flex; align-items: stretch; gap: 0; margin-top: var(--s4); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.nights div { flex: 1; padding: 12px 14px; background: var(--white); }
.nights div + div { border-left: 1px solid var(--line); }
.nights .k { font-size: 12px; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.nights .v { font-size: 17px; }
.nights .is-result { background: var(--pale); }

/* seasonality shape */
.season { display: flex; align-items: flex-end; gap: 9px; height: 210px; }
.season .m { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; }
.season .m i { display: block; background: var(--gold-soft); border-radius: 3px 3px 0 0; }
.season .m.is-peak i { background: var(--gold); }
.season .m span { display: block; font-size: 12px; color: var(--muted); text-align: center; padding-top: 6px; }

/* offer */
.offer { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.offer-card { border-top: 3px solid var(--gold); padding-top: var(--s3); }
.offer-card h3 { font-size: 20px; margin-bottom: 2px; }
.offer-price { font-family: var(--font-head); font-size: 27px; color: var(--forest); margin-bottom: var(--s2); }
.offer-card ul { list-style: none; padding: 0; margin: 0; }
.offer-card li { font-size: 15px; line-height: 1.45; padding: 4px 0 4px 16px; position: relative; color: var(--muted); }
.offer-card li::before { content: ""; position: absolute; left: 0; top: 12px; width: 8px; height: 2px; background: var(--gold); }
.offer-extra { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s5); }
.offer-extra div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.offer-extra .k { font-size: 12px; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.offer-extra p { font-size: 15px; margin: 2px 0 0; }
.offer-total {
  margin-top: var(--s5); background: var(--forest); color: var(--pale);
  border-radius: var(--radius); padding: 16px 24px;
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--s5);
}
.offer-total .lbl { font-size: 15px; letter-spacing: .08em; color: var(--gold-soft); font-weight: 700; }
.offer-total .val { font-family: var(--font-head); font-size: 30px; color: var(--cream); }

/* decision question cards */
.qcards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.qcard { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.qcard h3 { font-size: 18px; margin-bottom: 6px; }
.qcard .lbl { font-size: 11px; letter-spacing: .1em; color: var(--gold); font-weight: 700; }
.qcard p { font-size: 14px; line-height: 1.45; margin: 1px 0 7px; }
.qcard p.q { font-weight: 700; color: var(--ink); }
.qcard p.t { color: var(--muted); margin-bottom: 0; }

/* next steps */
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s6); }
.milestones { list-style: none; padding: 0; margin: 0; counter-reset: ms; }
.milestones li { counter-increment: ms; position: relative; padding: 8px 0 8px 38px; font-size: 16px; border-bottom: 1px solid var(--line); }
.milestones li::before {
  content: counter(ms); position: absolute; left: 0; top: 8px;
  font-family: var(--font-head); font-size: 18px; color: var(--gold);
}

/* title and closing slides */
.slide-title .bg { position: absolute; inset: 0; }
.slide-title .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.slide-title .bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(21, 31, 23, .35) 0%, rgba(21, 31, 23, .88) 78%);
}
.slide-title .slide-body { position: relative; z-index: 2; }
.slide-title p { color: var(--pale); font-size: 21px; }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: var(--s6); }
.contact-row .k { font-size: 12px; letter-spacing: .1em; color: var(--gold-soft); font-weight: 700; }
.contact-row .v { font-size: 19px; color: var(--cream); }
#pub-url { display: block; margin-top: var(--s6); font-size: 17px; color: var(--gold-soft); }

/* what we brought */
.bring-note { margin-top: var(--s6); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 16px 20px; }
.bring-note p { font-size: 16px; margin: 0; }

/* print and ?print: every slide stacked */
body.is-print { overflow: auto; background: var(--pale); }
body.is-print .deck { position: static; padding: var(--s5) 0; display: flex; flex-direction: column; align-items: center; gap: var(--s5); }
body.is-print .slide-frame { position: static; display: block; transform: none; margin: 0 auto; }
body.is-print .deck-chrome { display: none; }
body.is-print .speaker-note { display: block; position: static; background: var(--forest-dark); color: var(--pale); padding: 12px 88px 16px; }

@media print {
  body.deck-body { overflow: visible; background: #fff; }
  .deck { position: static; display: block; padding: 0; }
  .slide-frame { position: static; display: block; transform: none; margin: 0 auto; page-break-after: always; break-after: page; }
  .slide { box-shadow: none; }
  .deck-chrome { display: none; }
  .speaker-note { display: block; position: static; background: var(--forest-dark); color: var(--pale); padding: 12px 88px 16px; }
}

/* fit pass: every slide must render inside the 1280x720 stage without clipping.
   Measured with deck/qa/deck.spec.js, which fails the run if a slide grows past it. */
.slide-body.dense { padding: 44px 72px; }
.slide-table .slide-body { padding: 48px 72px; }
.slide-table table.tt th, .slide-table table.tt td { padding: 9px 14px; }
.slide-table .slide-body h2 { margin-bottom: var(--s3); }
.shot-phone-row .shot-phone, .shot-phone-row .shot-desk { height: 332px; }
.shot-pair .shot-frame { height: 268px; }
.shot-quad .shot-frame { height: 186px; }
.qcards { gap: var(--s3); }
.qcard { padding: 12px 15px; }
.qcard h3 { font-size: 17px; margin-bottom: 4px; }
.qcard .lbl { display: block; font-size: 10px; line-height: 1.3; margin-top: 4px; }
.qcard p { font-size: 13.5px; line-height: 1.4; margin: 0 0 2px; }
.slide-body.dense h2 { margin-bottom: var(--s3); }
