/*
 * Triple e Digital — Print Advertising Service Page
 * print.css — this page's hero and accents, loads AFTER branding.css
 *
 * DEPLOY:
 * 1. Upload to /templates/wavo/css/print.css
 * 2. Load from the first Custom HTML addon on the page (the STYLES row in
 *    that page's sections file), in this order:
 *      <link href="https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap" rel="stylesheet">
 *      <link rel="stylesheet" href="/templates/wavo/css/branding.css">
 *      <link rel="stylesheet" href="/templates/wavo/css/print.css">
 * 3. Menu item → Page Display → Page Class: te-branding-page
 *
 * This file adds the "Print That Registers" hero and a few print-page accents.
 * Everything else (hook, chapters, signal, process, portfolio, CTA, FAQ) uses branding.css as-is.
 *
 * FONT NOTE: Archivo Black on the hero headline is intentional. The halftone
 * dots need very heavy, wide letters to read. Everything else uses the site fonts.
 */

/* ══ PRINT HERO ═════════════════════════════════════════════════════════════ */
.ph-hero {
  --ph-paper:#f7f6f2;
  --ph-ink:#1d1b1c;
  --ph-muted:#7a7672;
  --ph-display:'Archivo Black','Arial Black',Impact,sans-serif;
  --header-h:110px;      /* JS overwrites this with the real #sp-header height */
  --sheet-top:120px;     /* space between the menu and the separated words */
  position:relative; z-index:2;
  background:var(--ph-paper); color:var(--ph-ink);
}
.ph-hero *, .ph-hero *::before, .ph-hero *::after { box-sizing:border-box; margin:0; padding:0; }
.ph-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

.ph-track { position:relative; height:280vh; }
.ph-sheet {
  position:sticky; top:0;
  height:100vh; height:100svh;
  overflow:clip;
  display:grid; align-items:start; justify-items:center;
  padding:calc(var(--header-h) + var(--sheet-top)) 16px 24px;
  background:var(--ph-paper);
}

/* crop marks */
.ph-crop { position:absolute; width:34px; height:34px; pointer-events:none; }
.ph-crop::before, .ph-crop::after { content:''; position:absolute; background:var(--ph-ink); }
.ph-crop::before { width:22px; height:1px; }
.ph-crop::after  { width:1px; height:22px; }
.ph-tl { top:calc(var(--header-h) + 20px); left:20px; }  .ph-tl::before{top:12px;left:0}   .ph-tl::after{left:12px;top:0}
.ph-tr { top:calc(var(--header-h) + 20px); right:20px; } .ph-tr::before{top:12px;right:0}  .ph-tr::after{right:12px;top:0}
.ph-bl { bottom:20px; left:20px; }  .ph-bl::before{bottom:12px;left:0}  .ph-bl::after{left:12px;bottom:0}
.ph-br { bottom:20px; right:20px; } .ph-br::before{bottom:12px;right:0} .ph-br::after{right:12px;bottom:0}

/* registration targets */
.ph-reg { position:absolute; width:26px; height:26px; top:calc(var(--header-h) + var(--sheet-top) + 8vw); margin-top:-13px; }
.ph-reg-l { left:18px; } .ph-reg-r { right:18px; }
.ph-reg svg { width:100%; height:100%; overflow:visible; display:block; }

/* status line: hint → live readout → "In register" */
.ph-status {
  position:absolute; z-index:2; top:calc(var(--header-h) + 26px); left:0; right:0;
  text-align:center; font-family:'Questrial',sans-serif; font-size:12px; letter-spacing:.12em;
  text-transform:uppercase; color:var(--ph-muted);
}
/* the changing number sits in a fixed-width slot so the line doesn't jitter */
.ph-num { display:inline-block; width:2.6em; text-align:right; }

/* headline + tagline */
.ph-stage {
  --gap:calc(var(--sheet-top) - 41px);
  display:grid; justify-items:center; gap:var(--gap);
  width:min(1100px, 100%, calc((100svh - var(--header-h) - var(--sheet-top) - 40px) * 2.3));
  transform-origin:50% 0;
}
.ph-plates { width:100%; height:auto; display:block; overflow:visible; }
.ph-plate { mix-blend-mode:multiply; }
.ph-tagline {
  font-family:'Questrial',sans-serif; font-size:clamp(18px,2.1vw,24px); line-height:1.45;
  max-width:38ch; text-align:center; text-wrap:balance; color:var(--ph-ink);
  will-change:transform,opacity;
}
.ph-tagline strong { font-weight:700; }

/* bottom of the sheet: color bar + bottom crop marks */
.ph-foot {
  position:relative; display:flex; justify-content:center;
  padding:40px 16px 84px; background:var(--ph-paper);
}
.ph-slug {
  display:flex; justify-content:center; align-items:center; gap:18px; flex-wrap:wrap;
  font-family:'Questrial',sans-serif; font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--ph-muted);
}
.ph-bar { display:flex; height:12px; }
.ph-bar i { display:block; width:14px; height:12px; }

@media (max-width:600px){
  .ph-hero { --sheet-top:80px; }
  .ph-reg { display:none; }
}
/* Upright phones and tablets: center the headline and tagline in the sheet
   instead of pinning them to the top, and shorten the scroll so the
   animation doesn't drag on through empty paper. */
@media (max-width:900px) and (orientation:portrait){
  .ph-sheet { align-items:center; }
  .ph-track { height:200vh; }
}
@media (orientation:landscape) and (max-height:520px){
  .ph-hero { --sheet-top:40px; }
  .ph-reg { display:none; }
  .ph-status { top:calc(var(--header-h) + 12px); }
}
@media (prefers-reduced-motion:reduce){
  .ph-track { height:auto; }
  .ph-sheet { position:relative; height:auto; min-height:100vh; }
  .ph-tagline { opacity:1 !important; transform:none !important; }
}

/* ══ PRINT-PAGE ACCENTS ════════════════════════════════════════════════════ */
/* Hook eyebrow line becomes a CMYK color bar (branding page uses a solid line).
   Same 60px × 1px size as every other eyebrow line. */
.ph-hook .hook-eyebrow::before { width:60px; background:linear-gradient(90deg,#00a3e0 0 25%,#e6007e 25% 50%,#ffe600 50% 75%,#fff 75% 100%); }
/* Signal word in brand blue on this page (branding page uses yellow) */
.ph-signal .signal-word { color:var(--b); }
/* PRESENCE is 2 letters longer than SIGNAL, so it gets a slightly smaller size on phones */
@media (max-width:480px){ .ph-signal .signal-word { font-size:clamp(40px,12vw,110px); } }
