/* ============================================================
   Treantly SALES-DECK system: 16:9, DM Sans, design-studio brand.
   Link order: brand/tokens.css, brand/fonts.css, templates/components/components.css,
   templates/print.css, THEN this file. Each slide = <section class="sheet s-light|s-forest">.
   Aligned to the Matthew partner deck language (forest/cream, lime blocks, big callouts,
   tabular numerals, rounded corners). No em dashes in content. No Faculty Glyphic.
   ============================================================ */

@page { size: 13.333in 7.5in; margin: 0; }

.sheet {
  width: 13.333in; height: 7.5in; padding: 0.62in 0.7in;
  position: relative; overflow: hidden; break-after: page;
  display: flex; flex-direction: column;
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;   /* binding: every numeral tabular */
}
.sheet:last-child { break-after: auto; }

/* ---- surfaces ---- */
.s-light  { background: var(--t-bg-warm); color: var(--t-forest); }
.s-forest { background: var(--t-forest);  color: var(--t-bg-warm); }

/* ---- persistent chrome: logo top-left, url bottom-right ---- */
.deck-logo { position: absolute; top: 0.5in; left: 0.7in; height: 26px; z-index: 3; }
.deck-url  { position: absolute; right: 0.7in; bottom: 0.42in; font-size: 11px; z-index: 3;
  letter-spacing: 0.02em; }
.s-light  .deck-url { color: var(--t-mid-green); }
.s-forest .deck-url { color: rgba(245,243,236,0.7); }

/* ---- fingerprint motif (REAL favicon mark, faint, anchor-bleed-clip in negative space) ---- */
.fp { position: absolute; z-index: 0; pointer-events: none;
  width: 9in; height: auto; right: -2.2in; top: -1.4in; }
.s-light  .fp { opacity: 0.16; }   /* lime favicon on cream */
.s-forest .fp { opacity: 0.10; }   /* cream favicon on forest */
.fp-left { right: auto; left: -2.6in; top: -1.2in; }
.sheet > *:not(.fp):not(.deck-logo):not(.deck-url):not(.shape-circle):not(.shape-bowl):not(.grid-floor) { position: relative; z-index: 1; }

/* ---- decorative shapes (negative space only) ---- */
.shape-circle { position: absolute; z-index: 0; border-radius: 50%;
  background: var(--t-lime); width: 1.7in; height: 1.7in; right: -0.5in; top: 1.4in; }
.shape-bowl { position: absolute; z-index: 0; left: 0.9in; bottom: -0.1in;
  width: 1.3in; height: 0.65in; background: var(--t-lime);
  border-radius: 0 0 999px 999px; }
.shape-bowl::after { content: ''; position: absolute; left: 50%; top: -0.18in;
  transform: translateX(-50%); width: 0.42in; height: 0.42in; border-radius: 50%;
  background: var(--t-forest); }

/* ---- type scale ---- */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  margin: 0 0 16px; }
.s-forest .kicker { color: var(--t-lime); }
.s-light  .kicker { color: var(--t-mid-green); }

.h-display { font-family: var(--font-display); font-weight: 700; line-height: 1.04;
  font-size: 64px; margin: 0; letter-spacing: -0.01em; }
.s-forest .h-display { color: var(--t-bg-warm); }
.s-light  .h-display { color: var(--t-forest); }

/* lime highlight block behind a phrase (multi-line safe), forest text */
.hl { background: var(--t-lime); color: var(--t-forest); border-radius: 6px;
  padding: 0.04em 0.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ===== SLIDE: cover ===== */
.cover { align-items: center; justify-content: center; text-align: center; }
.cover .lockup { display: flex; align-items: center; justify-content: center; gap: 40px; }
.cover .lockup img.tre { height: 58px; }
.cover .lockup .x { font-size: 26px; color: var(--t-mid-green); font-weight: 500; }
.cover .lockup img.client { max-height: 64px; max-width: 3.4in; object-fit: contain; }
.cover .sub { margin-top: 30px; }
.cover .sub .hl { font-size: 17px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cover .url-c { margin-top: 14px; font-size: 14px; color: var(--t-mid-green); }

/* ===== SLIDE: section divider (lime title block) ===== */
.divider { align-items: center; justify-content: center; }
.title-block { background: var(--t-lime); color: var(--t-forest); border-radius: var(--r-md);
  padding: 0.3in 0.5in; max-width: 8.5in; }
.title-block h2 { font-family: var(--font-display); font-weight: 700; font-size: 60px;
  line-height: 1.05; margin: 0; color: var(--t-forest); }

/* ===== SLIDE: numbered divider ===== */
.numbered { align-items: center; justify-content: center; }
.numbered .row { display: flex; align-items: center; gap: 0.5in; }
.big-num { font-family: var(--font-display); font-weight: 700; font-size: 200px; line-height: 0.8;
  color: var(--t-forest); position: relative; flex: none; }
.big-num::after { content: attr(data-n); position: absolute; left: 14px; top: 14px; z-index: -1;
  color: var(--t-lime); }
.grid-floor { position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 3.6in;
  background:
    repeating-linear-gradient(90deg, transparent 0 1.1in, rgba(200,232,90,0.5) 1.1in 1.105in),
    repeating-linear-gradient(0deg, transparent 0 0.7in, rgba(200,232,90,0.5) 0.7in 0.705in);
  transform: perspective(40px) rotateX(28deg); transform-origin: bottom; opacity: 0.5; }

/* ===== SLIDE: candidate profile (HERO) ===== */
.cand { padding-top: 0.55in; }
.cand .head { display: flex; align-items: flex-start; gap: 0.32in; }
.cand .avatar { flex: none; width: 0.9in; height: 0.9in; border-radius: 50%;
  background: var(--t-lime); color: var(--t-forest); display: flex; align-items: center;
  justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 34px; }
.cand .id { flex: 1; }
.cand .id .name { font-family: var(--font-display); font-weight: 700; font-size: 40px;
  line-height: 1; color: var(--t-bg-warm); margin: 0; }
.cand .id .role { font-size: 15px; color: var(--t-lime); margin-top: 6px; font-weight: 500; }
.cand .video { flex: none; width: 2.1in; }
.cand .video .thumb { position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--r-md); overflow: hidden; background: var(--t-forest-deep);
  border: 1px solid rgba(245,243,236,0.2); display: block; }
.cand .video .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.cand .video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 0.5in; height: 0.5in; border-radius: 50%; background: rgba(245,243,236,0.92);
  display: flex; align-items: center; justify-content: center; }
.cand .video .play svg { width: 18px; height: 18px; fill: var(--t-forest); margin-left: 2px; }
.cand .video .vlabel { display: block; text-align: center; margin-top: 7px; font-size: 11px;
  font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--t-lime); }

.cand .intro { font-size: 15px; line-height: 1.5; color: var(--t-bg-warm);
  margin: 0.26in 0 0; max-width: 10.5in; font-weight: 500; }

.cand .skills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 0.2in; }
.cand .skills .tag { font-size: 11.5px; font-weight: 600; padding: 5px 12px;
  border-radius: var(--r-pill); background: rgba(227,245,153,0.14);
  border: 1px solid rgba(227,245,153,0.4); color: var(--t-lime); }

.cand .cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5in; margin-top: 0.26in; }
.cand .col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--t-lime); margin: 0 0 10px; }
.cand .col ul { list-style: none; margin: 0; padding: 0; }
.cand .col li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.45;
  color: rgba(245,243,236,0.86); margin-bottom: 8px; }
.cand .col li::before { content: ''; position: absolute; left: 0; top: 7px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--t-lime); }
.cand .col .job { font-weight: 700; color: var(--t-bg-warm); font-size: 12.5px; }
.cand .col .job .where { font-weight: 400; color: rgba(245,243,236,0.66); }

.cand .engagement { margin-top: auto; padding-top: 0.2in;
  display: flex; align-items: flex-end; gap: 0.3in; }
.cand .engagement .lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--t-lime); }
.cand .price-box { background: rgba(245,243,236,0.06); border: 1px solid rgba(245,243,236,0.18);
  border-radius: var(--r-md); padding: 12px 18px; }
.cand .price-box.alt { background: var(--t-lime); border-color: var(--t-lime); }
.cand .price-box .pk { font-size: 10.5px; color: rgba(245,243,236,0.7); text-transform: uppercase;
  letter-spacing: 0.06em; }
.cand .price-box.alt .pk { color: var(--t-forest-deep); }
.cand .price-box .pv { font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--t-bg-warm); line-height: 1.1; }
.cand .price-box.alt .pv { color: var(--t-forest); }
.cand .price-box .pv small { font-size: 12px; font-weight: 500; }

/* ===== SLIDE: benefit / statement ===== */
.benefit { justify-content: center; }
.benefit .eyebrow-rule { font-size: 13px; letter-spacing: 0.06em; color: rgba(245,243,236,0.7);
  padding-bottom: 12px; border-bottom: 1px solid rgba(245,243,236,0.25); width: 3.4in; margin-bottom: 0.34in; }
.benefit .h-display { max-width: 8in; }
.benefit .h-display .note { font-family: var(--font-body); font-weight: 500; font-size: 26px;
  color: rgba(245,243,236,0.82); }
.benefit .accent-block { width: 1.8in; height: 0.3in; background: var(--t-lime);
  border-radius: var(--r-sm); margin-top: 0.4in; }

/* ===== SLIDE: stat-in-lime-block ===== */
.statblock { justify-content: center; }
.statblock .big-stat { font-family: var(--font-display); font-weight: 700; font-size: 58px;
  line-height: 1.08; color: var(--t-forest); background: var(--t-lime); border-radius: var(--r-md);
  padding: 0.16in 0.28in; display: inline; box-decoration-break: clone;
  -webkit-box-decoration-break: clone; }

/* ===== SLIDE: case-study grid ("more businesses who work with us") ===== */
.cases { justify-content: center; }
.cases h2 { font-family: var(--font-display); font-weight: 700; font-size: 40px; text-align: center;
  color: var(--t-bg-warm); margin: 0 0 0.4in; }
.case-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.34in; }
.case-card { background: var(--t-forest-deep); border: 1px solid rgba(245,243,236,0.14);
  border-radius: var(--r-lg); padding: 0.28in 0.24in; display: flex; flex-direction: column;
  align-items: center; text-align: center; text-decoration: none; color: inherit; }
.case-card .stat { background: var(--t-lime); color: var(--t-forest); font-family: var(--font-display);
  font-weight: 700; font-size: 26px; border-radius: var(--r-sm); padding: 2px 12px; line-height: 1.15; }
.case-card .stat small { font-family: var(--font-body); font-size: 11px; font-weight: 600; display: block;
  letter-spacing: 0.02em; }
.case-card .chip { background: var(--t-white); border-radius: var(--r-md); height: 0.62in; width: 100%;
  display: flex; align-items: center; justify-content: center; padding: 0 14px; margin: 0.24in 0; }
.case-card .chip img { max-height: 0.34in; max-width: 1.5in; filter: brightness(0) opacity(0.8); }
.case-card .ind { font-size: 12px; color: rgba(245,243,236,0.8); }
.case-card .link { font-size: 11px; font-weight: 600; color: var(--t-lime); margin-top: 12px;
  text-decoration: underline; }

/* ===== SLIDE: testimonials ===== */
.testi { justify-content: center; }
.testi h2 { font-family: var(--font-display); font-weight: 700; font-size: 40px; text-align: center;
  color: var(--t-bg-warm); margin: 0 0 0.4in; }
.testi-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.32in; }
.testi-card { text-align: center; text-decoration: none; background: var(--t-white);
  border-radius: var(--r-lg); padding: 13px 12px 16px; }
.testi-card .thumb { position: relative; width: 100%; aspect-ratio: 3/4; border-radius: var(--r-md);
  overflow: hidden; background: var(--t-forest-deep); display: block; }
.testi-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.testi-card .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: 0.5in; height: 0.5in; border-radius: 50%; background: rgba(245,243,236,0.92);
  display: flex; align-items: center; justify-content: center; }
.testi-card .play svg { width: 17px; height: 17px; fill: var(--t-forest); margin-left: 2px; }
.testi-card .nm { font-weight: 700; font-size: 13px; color: var(--t-forest); margin-top: 12px; }
.testi-card .rl { font-size: 11px; color: var(--t-mid-green); }
.testi-card .lk { font-size: 11px; color: var(--t-forest); text-decoration: underline; }

/* ===== SLIDE: team photo ===== */
.photo { align-items: center; justify-content: center; text-align: center; }
.photo img { max-width: 9.6in; max-height: 4.7in; border-radius: var(--r-lg); object-fit: cover; }
.photo .cap { font-size: 13px; color: var(--t-mid-green); margin-top: 0.26in; font-style: italic; }

/* ===== SLIDE: next step ===== */
.nextstep { flex-direction: row; align-items: center; gap: 0.9in; }
.nextstep .h-display { flex: none; }
.nextstep .detail .line { font-size: 26px; font-weight: 700; line-height: 1.25; }
.nextstep .detail .when { margin-top: 0.3in; font-size: 22px; font-weight: 700; color: var(--t-forest); }
.nextstep .detail .when span { display: block; font-weight: 400; color: var(--t-mid-green); font-size: 18px; }

/* ===== SLIDE: contact ===== */
.contact { justify-content: center; }
.contact .h-display { margin-bottom: 0.4in; }
.contact .person { margin-bottom: 0.26in; }
.contact .person .nm { font-weight: 700; font-size: 16px; color: var(--t-forest); }
.contact .person .nm .hl { font-weight: 700; }
.contact .person .meta { font-size: 14px; color: var(--t-mid-green); line-height: 1.5; }
.contact .person .meta a { color: var(--t-forest); text-decoration: underline; }

/* slide-number, optional */
.sno { position: absolute; bottom: 0.42in; left: 0.7in; font-size: 11px; }
.s-forest .sno { color: rgba(245,243,236,0.6); }
.s-light  .sno { color: var(--t-text-muted); }
