/* This file now holds ONLY the print/PDF deck styles (the light-mode
   .print-deck template used when generating the downloadable PDF).
   Screen styles moved to profile-screen.css as part of the redesign
   away from the original dark 'space' look — see that file's header
   comment. The print deck itself wasn't restyled in this pass; it
   still reflects the original theme.

   Fixed 2026-08-18: regenerating the PDF (Playwright page.pdf() with
   media emulated to 'print') only ever produced page 1 of 10 — the
   cover, nothing else. Cause: profile-screen.css resets plain html/body
   to height:100%;overflow:hidden (needed on screen so .profile-booklet's
   own scroll container doesn't grow a second native scrollbar behind
   it), and that rule was never scoped away from print. This file's own
   @media print block already put height:auto/overflow:visible back on
   .profile-booklet itself, but never on ITS parent (html/body) -- so
   the parent kept clipping everything past the first viewport-height
   of content regardless. Added the matching html,body reset right after
   @page below. */

@media print{@page{size:13.333in 8.5in;margin:0}html,body{height:auto!important;overflow:visible!important}.profile-booklet-shell .profile-home-btn,.profile-booklet .dotnav,.profile-booklet .scroll-hint,.profile-booklet .mascot-wrap,.profile-booklet #bg-canvas,.profile-booklet>.page{display:none!important}.profile-booklet{scroll-snap-type:none!important;background:#f5f8fc!important;height:auto!important;overflow:visible!important}.profile-booklet .print-deck{display:block!important}.profile-booklet .print-deck,.profile-booklet .print-deck *{-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important;box-shadow:none!important;text-shadow:none!important;filter:none!important;animation:none!important}.profile-booklet .pp{width:100%;height:100vh;min-height:100vh;color:var(--navy);page-break-after:always;break-after:page;page-break-inside:avoid;break-inside:avoid;background:#f5f8fc;flex-direction:column;justify-content:flex-start;padding:150px 80px 70px;font-family:Inter,sans-serif;display:flex;position:relative;overflow:hidden}.profile-booklet .pp:last-child{page-break-after:auto;break-after:auto}.profile-booklet .pp-center{text-align:center;justify-content:center;align-items:center;padding-top:70px}.profile-booklet .pp-logo{z-index:5;width:auto;height:30px;position:absolute;top:40px;left:64px}.profile-booklet .pp-index{z-index:5;letter-spacing:.1em;color:var(--sky);font-family:Space Grotesk,sans-serif;font-size:12px;position:absolute;top:40px;right:64px}.profile-booklet .pp-index b{color:var(--royal);font-size:14px}.profile-booklet .pp-eyebrow{color:var(--royal);letter-spacing:.14em;text-transform:uppercase;z-index:5;align-items:center;gap:10px;margin-bottom:12px;font-family:Space Grotesk,sans-serif;font-size:12px;font-weight:700;display:flex;position:relative}.profile-booklet .pp-eyebrow:before{content:"";background:var(--lime);width:22px;height:2px;display:inline-block}.profile-booklet .pp-h1{color:var(--navy);z-index:5;margin:0 0 26px;font-family:Space Grotesk,sans-serif;font-size:36px;font-weight:700;line-height:1.15;position:relative}.profile-booklet .pp-accent{color:var(--royal)}.profile-booklet .pp-badge{background:var(--lime);width:32px;height:32px;color:var(--navy);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;font-family:Space Grotesk,sans-serif;font-size:13px;font-weight:700;display:inline-flex}.profile-booklet .pp-wave{z-index:1;width:46%;height:60%;position:absolute}.profile-booklet .pp-wave--bl{bottom:-10%;left:-8%}.profile-booklet .pp-wave--br{bottom:-10%;right:-8%}.profile-booklet .pp-wave-blob{border-radius:38% 62% 61% 39%/45% 40% 60% 55%;position:absolute;inset:0}.profile-booklet .pp-wave-blob--a{background:linear-gradient(135deg,var(--royal),var(--navy));opacity:.16;transform:scale(1.12)translate(4%,4%)}.profile-booklet .pp-wave-blob--b{background:linear-gradient(135deg,var(--sky),var(--royal));opacity:.9;transform:scale(.9)}.profile-booklet .pp-wave-photo{object-fit:cover;border-radius:38% 62% 61% 39%/45% 40% 60% 55%;width:84%;height:84%;position:absolute;inset:8%}.profile-booklet .pp-cover{justify-content:center;align-items:center;padding:0;background:var(--navy);color:#fff;position:relative;overflow:hidden}.profile-booklet .pp-cover-tech-grid{position:absolute;inset:0;z-index:0;opacity:.85;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.14)' stroke-width='1'%3E%3Cpath d='M15,0 L15,30 L45,30 L45,70 L75,70'/%3E%3Cpath d='M110,15 L80,15 L80,50 L120,50 L120,90 L150,90'/%3E%3Cpath d='M0,100 L30,100 L30,130 L60,130'/%3E%3Cpath d='M95,108 L95,150'/%3E%3Cpath d='M132,0 L132,40 L150,40'/%3E%3Cpath d='M0,45 L15,45'/%3E%3C/g%3E%3Cg fill='rgba(227,254,105,0.5)'%3E%3Ccircle cx='15' cy='30' r='2'/%3E%3Ccircle cx='45' cy='70' r='2'/%3E%3Ccircle cx='80' cy='50' r='2'/%3E%3Ccircle cx='120' cy='90' r='2'/%3E%3Ccircle cx='30' cy='130' r='2'/%3E%3Ccircle cx='95' cy='108' r='2'/%3E%3C/g%3E%3C/svg%3E");background-size:150px 150px}.profile-booklet .pp-cover-wave-wrap{position:absolute;top:-6%;right:-10%;width:78%;height:112%;z-index:1}.profile-booklet .pp-cover-wave{position:absolute;inset:0;width:100%;height:100%;overflow:visible}.profile-booklet .pp-cover-mascot{z-index:5;width:220px;position:absolute;top:11%;left:6%}.profile-booklet .pp-cover-content{position:relative;z-index:5;display:flex;flex-direction:column;align-items:center;text-align:center;width:100%}.profile-booklet .pp-lockup-wrap{position:relative;display:inline-block;width:min(300px,40vw);height:110px;margin-bottom:8px}.profile-booklet .pp-lockup-wrap img.pp-lockup{opacity:0;width:100%;height:100%;display:block}.profile-booklet .pp-lockup-wrap::before{content:'';position:absolute;inset:0;background:linear-gradient(105deg,#7d8f89 0%,#eef8e6 14%,#b9d2ae 26%,#5f7267 40%,#f4fce9 52%,#93a892 64%,#dcefd2 78%,#6c8078 90%,#eef8e6 100%);-webkit-mask-image:url(/images/profile/lockup.jpg);mask-image:url(/images/profile/lockup.jpg);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}.profile-booklet .pp-cover .pp-cover-stats{background:rgba(1,21,49,.92);border-top:none;border-radius:16px;padding:20px 8px}.profile-booklet .pp-cover .pp-cover-stat{border-left:1px solid rgba(255,255,255,.18)}.profile-booklet .pp-cover .pp-cover-stat:first-child{border-left:none}.profile-booklet .pp-cover .pp-cover-stat .num{color:var(--lime)}.profile-booklet .pp-cover .pp-cover-stat .lbl{color:rgba(255,255,255,.7)}.profile-booklet .pp-cover-content{z-index:5;text-align:center;flex-direction:column;align-items:center;display:flex;position:relative}.profile-booklet .pp-cover-lockup{width:260px;margin-bottom:22px}.profile-booklet .pp-cover-tag{color:var(--sky);letter-spacing:.16em;text-transform:uppercase;max-width:460px;margin:0;font-family:Space Grotesk,sans-serif;font-size:13px;line-height:1.6}.profile-booklet .pp-cover-stats{border-top:1px solid #1844d838;grid-template-columns:repeat(4,1fr);gap:0;width:min(700px,88vw);margin-top:40px;padding-top:24px;display:grid}.profile-booklet .pp-cover-stat{border-left:1px solid #1844d829;padding:0 18px}.profile-booklet .pp-cover-stat:first-child{border-left:none}.profile-booklet .pp-cover-stat .num{color:var(--royal);font-family:Space Grotesk,sans-serif;font-size:28px;font-weight:700;line-height:1;display:block}.profile-booklet .pp-cover-stat .lbl{letter-spacing:.02em;color:#01153199;margin-top:8px;font-size:11px;line-height:1.4;display:block}.profile-booklet .pp-cover-mascot{z-index:5;width:280px;position:absolute;top:11%;left:7%}.profile-booklet .pp-cover-mascot .mascot-rig{filter:none!important}.profile-booklet .pp-ghost-year{color:#1844d812;z-index:0;-webkit-user-select:none;user-select:none;letter-spacing:-.02em;font-family:Space Grotesk,sans-serif;font-size:min(14vw,150px);font-weight:700;position:absolute;top:8%;left:1%}.profile-booklet .pp-lead{color:#334;z-index:5;max-width:56%;margin:0;font-size:15px;line-height:1.7;position:relative}.profile-booklet .pp-stat-grid{z-index:5;gap:34px;margin-top:26px;display:flex;position:relative}.profile-booklet .pp-stat-grid-item{flex-direction:column;gap:4px;display:flex}.profile-booklet .pp-stat-grid-item .num{color:var(--royal);font-family:Space Grotesk,sans-serif;font-size:24px;font-weight:700;line-height:1}.profile-booklet .pp-stat-grid-item .lbl{color:#01153199;font-size:11.5px}.profile-booklet .pp-vm-grid{text-align:left;z-index:5;grid-template-columns:1fr 1fr;gap:26px;max-width:820px;margin:8px auto 0;display:grid;position:relative}.profile-booklet .pp-vm-card{background:#fff;border:1px solid #1844d838;border-radius:16px;padding:28px}.profile-booklet .pp-vm-icon{width:44px;height:44px;color:var(--royal);margin-bottom:18px}.profile-booklet .pp-vm-icon svg{width:100%;height:100%}.profile-booklet .pp-vm-card h4{color:var(--navy);margin:0 0 10px;font-family:Space Grotesk,sans-serif;font-size:16px}.profile-booklet .pp-vm-card p{color:#334;margin:0;font-size:13px;line-height:1.65}.profile-booklet .pp-quad{width:340px;height:340px;margin:10px auto 0;position:relative}.profile-booklet .pp-quad-seg{color:#fff;text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:170px;height:170px;padding:12px;display:flex;position:absolute;overflow:hidden}.profile-booklet .pp-quad-seg svg{width:24px;height:24px}.profile-booklet .pp-quad-seg .lbl{max-width:100px;font-family:Space Grotesk,sans-serif;font-size:11px;font-weight:600;line-height:1.3}.profile-booklet .pp-quad-seg--1{background:var(--navy);border-radius:170px 0 0;top:0;left:0}.profile-booklet .pp-quad-seg--2{background:var(--royal);border-radius:0 170px 0 0;top:0;right:0}.profile-booklet .pp-quad-seg--3{background:var(--royal);opacity:.75;border-radius:0 0 0 170px;bottom:0;left:0}.profile-booklet .pp-quad-seg--4{background:var(--navy);opacity:.85;border-radius:0 0 170px;bottom:0;right:0}.profile-booklet .pp-quad-center{background:var(--lime);width:84px;height:84px;color:var(--navy);border:6px solid #f5f8fc;border-radius:50%;flex-direction:column;justify-content:center;align-items:center;font-family:Space Grotesk,sans-serif;font-size:22px;font-weight:700;display:flex;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.profile-booklet .pp-quad-center span{letter-spacing:.05em;text-transform:uppercase;font-size:9px;font-weight:600}.profile-booklet .pp-road{width:min(760px,80%);margin:20px auto 0}.profile-booklet .pp-road-bed{fill:none;stroke:var(--royal);stroke-width:14px;stroke-linecap:round;opacity:.85}.profile-booklet .pp-road-dash{fill:none;stroke:#fff;stroke-width:2px;stroke-dasharray:8 10;stroke-linecap:round;opacity:.7}.profile-booklet .pp-road-stop circle{fill:var(--lime);stroke:var(--navy);stroke-width:3px}.profile-booklet .pp-road-stop text{fill:var(--navy);text-anchor:middle;font-family:Space Grotesk,sans-serif;font-size:14px;font-weight:700}.profile-booklet .pp-road-label{fill:var(--navy);font-family:Space Grotesk,sans-serif;font-size:12px;font-weight:600}.profile-booklet .pp-tri{z-index:5;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:8px;display:grid;position:relative}.profile-booklet .pp-tri-item{background:#fff;border:1px solid #1844d838;border-radius:14px;padding:22px}.profile-booklet .pp-tri-item h4{color:var(--navy);margin:12px 0 8px;font-family:Space Grotesk,sans-serif;font-size:14px}.profile-booklet .pp-tri-item p{color:#334;margin:0;font-size:12px;line-height:1.6}.profile-booklet .pp-split{z-index:5;grid-template-columns:1fr 1fr;gap:40px;max-width:60%;display:grid;position:relative}.profile-booklet .pp-split-col h4{color:var(--navy);margin:0 0 10px;font-family:Space Grotesk,sans-serif;font-size:15px}.profile-booklet .pp-split-col p{color:#334;margin:0;font-size:12.5px;line-height:1.65}.profile-booklet .pp-check{flex-direction:column;gap:9px;margin:0;padding:0;list-style:none;display:flex}.profile-booklet .pp-check li{color:#223;padding-left:24px;font-size:12.5px;position:relative}.profile-booklet .pp-check li:before{content:"";background:var(--lime);border-radius:50%;width:15px;height:15px;position:absolute;top:3px;left:0}.profile-booklet .pp-check li:after{content:"";border-left:2px solid var(--navy);border-bottom:2px solid var(--navy);width:6px;height:3px;position:absolute;top:6px;left:4.5px;transform:rotate(-45deg)}.profile-booklet .pp-closing-lockup{z-index:5;width:min(220px,40vw);margin-bottom:8px;position:relative}.profile-booklet .pp-closing-divider{background:var(--lime);z-index:5;width:60px;height:2px;margin:10px auto 0;position:relative}.profile-booklet .pp-closing-sub{color:#01153199;z-index:5;margin-top:18px;font-size:14px;position:relative}.profile-booklet .pp-pill-row{z-index:5;flex-wrap:wrap;justify-content:center;gap:16px;margin-top:30px;display:flex;position:relative}.profile-booklet .pp-pill-btn{background:#fff;border:1px solid #1844d838;border-radius:100px;align-items:center;gap:12px;padding:10px 22px 10px 10px;display:flex;color:inherit;text-decoration:none}.profile-booklet .pp-pill-btn span:last-child{color:var(--navy);font-size:13.5px;font-weight:600}.profile-booklet .pp-contact-icon{background:var(--lime);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:34px;height:34px;display:flex}.profile-booklet .pp-contact-icon svg{width:16px;height:16px;color:var(--navy)}.profile-booklet .pp-team-grid{z-index:5;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:10px;display:grid;position:relative}.profile-booklet .pp-team-card{background:#fff;border:1px solid #1844d838;border-radius:14px;padding:22px 16px}.profile-booklet .pp-team-avatar{background:var(--lime);width:56px;height:56px;color:var(--navy);border-radius:50%;justify-content:center;align-items:center;margin:0 auto 14px;display:flex}.profile-booklet .pp-team-avatar svg{width:26px;height:26px}.profile-booklet .pp-team-card h4{color:var(--navy);margin:0 0 4px;font-family:Space Grotesk,sans-serif;font-size:13.5px}.profile-booklet .pp-team-card p{color:var(--sky);margin:0;font-size:11px}.profile-booklet .pp-agenda{z-index:5;flex-direction:column;gap:12px;max-width:54%;margin:0;padding:0;list-style:none;display:flex;position:relative}.profile-booklet .pp-agenda li{color:var(--navy);background:#fff;border:1px solid #1844d838;border-radius:12px;align-items:center;gap:16px;padding:12px 18px;font-size:15px;font-weight:500;display:flex}.profile-booklet .pp-clients-grid{z-index:5;grid-template-columns:repeat(3,1fr);gap:22px;max-width:820px;margin:20px auto 0;display:grid;position:relative}.profile-booklet .pp-client-card{background:#fff;border:1px solid #1844d838;border-radius:14px;height:100px;align-items:center;justify-content:center;padding:16px;display:flex}.profile-booklet .pp-client-card img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}}

/* Hand patch: the cover tagline ("Engineering the Future of Business —
   Where Marketing Meets AI") gets its last 1-2 characters visually clipped
   by .page's overflow:hidden on narrow viewports — the wide letter-spacing
   (0.16em) on a long uppercase string leaves only a few px of slack against
   the clip boundary at ~375px widths, and rounding/subpixel rendering eats
   it. Pre-existing in the original Next.js source too (confirmed by testing
   the old static export), not introduced by this port. Tightening the
   letter-spacing slightly on narrow screens gives enough real margin to
   fix it without visibly changing the design. */
@media (max-width: 480px) {
  .profile-booklet .cover-tag {
    letter-spacing: 0.08em;
  }
}
