/* PivotPoint home only. Real project screens on an editorial field. */
body.pp-home-page {
  --ph-bg: #151517;
  --ph-fg: #f3f3f0;
  --ph-muted: #b1b1b8;
  --ph-line: #3a3a40;
  --ph-accent: #b79be8;
  --ph-stage: #7450b2;
  background: var(--ph-bg);
  color: var(--ph-fg);
}
html.pp-lt body.pp-home-page {
  --ph-bg: #f5f5f2;
  --ph-fg: #202024;
  --ph-muted: #616168;
  --ph-line: #d5d5d5;
  --ph-accent: #7340bd;
}
.pp-home-page #pp-header {
  background: var(--ph-bg) !important;
  border-bottom: 1px solid var(--ph-line) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.pp-home-page #pp-header .pp-logo,
.pp-home-page #pp-header nav > a,
.pp-home-page #pp-header .pp-drop > a,
.pp-home-page #pp-header .pp-phone,
.pp-home-page #pp-header #pp-theme-toggle,
.pp-home-page #pp-header #pp-burger { color: var(--ph-fg) !important; }
.pp-home-page #pp-header .pp-logo-text { color: inherit !important; }
.pp-home-page #pp-header #pp-theme-toggle, .pp-home-page #pp-header #pp-burger { background: transparent !important; border-color: var(--ph-line) !important; }
.pp-home-page #pp-header-bar { max-width: 1440px !important; padding-inline: clamp(22px,4.2vw,64px) !important; gap: 24px !important; }
.pp-home-page #pp-header nav { gap: 24px !important; font-size: 14px !important; white-space: nowrap; }
.pp-home-page #pp-header nav > a[href="/"],
.pp-home-page #pp-header nav > a[href="/blog/"],
.pp-home-page #pp-header nav > a[href="/kontakty/"] { display: none; }
.pp-home-page #pp-header .pp-header-cta {
  background: #7540c5 !important; box-shadow: none !important;
  border-radius: 5px !important; padding: 12px 20px !important; white-space: nowrap;
}
.pp-home-page #pp-header .pp-phone { font-family: 'Manrope',sans-serif !important; font-size: 14px !important; }
.pp-home-page #pp-theme-toggle { box-shadow: none; border-radius: 5px; }
.pp-home-page #pp-progress { background: #7540c5; box-shadow: none; }
.pp-home-page #pp-cw { left: auto !important; right: 22px !important; align-items: flex-end; }
.pp-home-page #pp-cw-items { align-items: flex-end; }
/* Aisello mounts after cookie consent; keep its existing launcher accessible. */
body.pp-home-page:has(#sa-launcher) #pp-cw { bottom: 98px !important; }
.pp-home-page #pp-cw-fab { background: #7540c5; box-shadow: none !important; animation: none !important; }
.ph-home { font-family: 'Manrope',sans-serif; color: var(--ph-fg); }
.ph-home *, .ph-home *::before, .ph-home *::after { box-sizing: border-box; }
.ph-home svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ph-wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(22px,4.2vw,64px); }
.ph-home h1, .ph-home h2, .ph-home h3, .ph-home p { margin: 0; }
.ph-home h1, .ph-home h2, .ph-home h3 { font-family: 'Manrope',sans-serif; font-weight: 600; }
.ph-home h2 { font-size: clamp(36px,4.2vw,62px); line-height: 1.1; letter-spacing: -.04em; }
.ph-home p { font-size: 16px; line-height: 1.65; }
.ph-home a { color: inherit; text-decoration: none; }
.ph-home a:focus-visible, .ph-home summary:focus-visible { outline: 3px solid var(--ph-accent); outline-offset: 6px; }
.ph-home .pp-r { opacity: 1 !important; transform: none !important; transition: none !important; }
.ph-hero { padding-top: 124px; padding-bottom: 24px; }
.ph-hero-top { display: grid; grid-template-columns: 1.8fr 1fr; gap: 46px; align-items: center; }
.ph-hero h1 { font-size: clamp(42px,5.4vw,82px); line-height: 1.08; letter-spacing: -.04em; }
.ph-hero h1 span { color: var(--ph-accent); }
.ph-intro { max-width: 35ch; }
.ph-intro p { font-size: 17px; color: var(--ph-muted); }
.ph-button { display: inline-flex; justify-content: space-between; align-items: center; gap: 34px; min-height: 54px; padding: 15px 23px; background: #7540c5; color: #fff !important; border-radius: 5px; font-size: 15px; font-weight: 600; transition: background .2s, gap .2s; }
.ph-button:hover { background: #6130ad; gap: 42px; }
.ph-intro .ph-button { margin-top: 24px; }
.ph-text-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; font-size: 15px; font-weight: 600; }
.ph-text-link svg { transition: transform .2s; }
.ph-text-link:hover svg { transform: translateX(4px); }
.ph-intro .ph-text-link { display: flex; margin-top: 8px; font-size: 13px; color: var(--ph-muted); }
.ph-intro .ph-text-link:hover svg { transform: translateY(4px); }
.ph-project-stage { position: relative; height: clamp(268px,25vw,360px); margin-top: 38px; background: var(--ph-stage); overflow: hidden; isolation: isolate; --ph-drift: 0px; }
.ph-stage-item { position: absolute; display: block; border-radius: 6px; box-shadow: 0 18px 30px rgba(30,15,52,.24); background: #fff; transition: box-shadow .25s; }
.ph-stage-item img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 6px; }
.ph-stage-item > span { display: flex; justify-content: space-between; gap: 12px; position: absolute; left: 0; right: 0; bottom: -30px; color: #fff; font-size: 13px; font-weight: 600; }
.ph-stage-item small { font-size: 10px; font-weight: 400; }
.ph-stage-ai > span, .ph-stage-brand > span { display: none; }
.ph-stage-ai { top: 36px; left: 3.5%; width: 33%; height: 75%; z-index: 2; transform: translateY(calc(var(--ph-drift) * -.4)) rotate(-7deg); }
.ph-stage-main { top: 25px; left: 29%; width: 45%; height: calc(100% - 84px); z-index: 3; transform: translateY(var(--ph-drift)) rotate(1.5deg); }
.ph-stage-brand { top: 33px; left: 70%; width: 27%; height: 74%; z-index: 1; transform: translateY(calc(var(--ph-drift) * -.6)) rotate(8deg); }
.ph-stage-item:hover { box-shadow: 0 22px 40px rgba(30,15,52,.38); z-index: 4; }
.ph-stage-word { position: absolute; left: 15px; bottom: -26px; z-index: 0; font-size: clamp(72px,13vw,190px); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: #4c287e; pointer-events: none; }
.ph-hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; border-bottom: 1px solid var(--ph-line); }
.ph-hero-foot p { font-size: 12px; color: var(--ph-muted); }
.ph-hero-foot p span { padding-inline: 8px; }
.ph-hero-foot a { display: flex; align-items: center; gap: 15px; font-size: 12px; }
.ph-hero-foot svg { width: 18px; height: 18px; }
.ph-work { padding-top: 102px; padding-bottom: 116px; }
.ph-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 50px; margin-bottom: 54px; }
.ph-section-head > p { color: var(--ph-muted); max-width: 34ch; }
.ph-work-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px 50px; }
.ph-work-item { min-width: 0; display: block; }
.ph-work-small { padding-top: 90px; }
.ph-work-third { max-width: 85%; }
.ph-work-image { position: relative; overflow: hidden; aspect-ratio: 1.55; background: #dce1e4; }
.ph-work-image img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; transition: transform .65s cubic-bezier(.22,1,.36,1); }
.ph-work-item:hover .ph-work-image img { transform: scale(1.025); }
.ph-work-open { position: absolute; right: 18px; bottom: 18px; display: flex; justify-content: center; align-items: center; width: 42px; height: 42px; background: #f5f5f2; color: #202024; border-radius: 50%; }
.ph-work-caption { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; }
.ph-work-caption h3 { font-size: 27px; letter-spacing: -.025em; }
.ph-work-caption span { color: var(--ph-muted); font-size: 11px; }
.ph-work-item > p { color: var(--ph-muted); font-size: 14px; margin-top: 12px; max-width: 57ch; }
.ph-work-invite { align-self: center; justify-self: center; }
.ph-work-invite > p { font-size: clamp(25px,2.5vw,38px); line-height: 1.3; letter-spacing: -.025em; }
.ph-work-invite .ph-text-link { margin-top: 20px; color: var(--ph-accent); }
.ph-result { background: #202024; color: #f5f5f2; padding-block: 85px; }
.ph-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 85px; }
.ph-result-story h2 { font-size: clamp(34px,3.8vw,54px); }
.ph-result-story > p { margin-top: 26px; color: #c5c5cf; max-width: 48ch; }
.ph-result-story .ph-text-link { margin-top: 22px; }
.ph-result-number { font-size: clamp(92px,11vw,156px) !important; font-weight: 500; line-height: .95 !important; letter-spacing: -.04em; color: #c6aafa; }
.ph-result-number span { display: block; margin-top: 16px; color: #f5f5f2; font-size: 18px; letter-spacing: 0; font-weight: 400; }
.ph-result-bottom { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid #55555d; padding-top: 24px; margin-top: 32px; }
.ph-result-bottom p { font-size: 13px; color: #c5c5cf; }
.ph-result-bottom strong { display: block; color: #f5f5f2; font-size: 22px; font-weight: 500; }
.ph-result-source { margin-top: 18px !important; font-size: 11px !important; color: #c5c5cf; }
.ph-services { padding-top: 112px; padding-bottom: 100px; }
.ph-service-row { display: grid; grid-template-columns: 1.1fr 1.4fr .65fr; gap: 38px; padding-block: 36px; border-top: 1px solid var(--ph-line); }
.ph-service-row h3 { font-size: clamp(23px,2.3vw,32px); line-height: 1.22; letter-spacing: -.03em; }
.ph-service-row p { font-size: 15px; color: var(--ph-muted); }
.ph-service-links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; }
.ph-service-links a { font-size: 12px; color: var(--ph-accent); padding-block: 6px; border-bottom: 1px solid var(--ph-line); }
.ph-service-links a:hover { border-color: var(--ph-accent); }
.ph-service-action { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 5px; }
.ph-service-action > span { font-size: 14px; white-space: nowrap; }
.ph-service-action > a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--ph-line); border-radius: 50%; margin-top: -8px; flex-shrink: 0; }
.ph-service-action > a:hover { background: var(--ph-accent); color: var(--ph-bg); }
.ph-services-foot { display: flex; align-items: center; justify-content: space-between; gap: 36px; border-top: 1px solid var(--ph-line); padding-top: 24px; }
.ph-services-foot p { font-size: 12px; color: var(--ph-muted); }
.ph-partner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 82px; padding-block: 80px 115px; }
.ph-partner-title h2 { font-size: clamp(36px,4vw,60px); }
.ph-partner-title h2 span { color: var(--ph-accent); }
.ph-partner-title .ph-text-link { margin-top: 26px; }
.ph-partner-copy .ph-partner-lead { color: var(--ph-fg); font-size: 20px; line-height: 1.55; margin-bottom: 30px; }
.ph-partner-copy > div { padding-top: 22px; margin-top: 22px; border-top: 1px solid var(--ph-line); }
.ph-partner-copy h3 { font-size: 17px; margin-bottom: 8px; }
.ph-partner-copy p { font-size: 14px; color: var(--ph-muted); }
.ph-faq { display: grid; grid-template-columns: 1fr 1.5fr; gap: 70px; padding-bottom: 115px; }
.ph-faq-list { border-top: 1px solid var(--ph-line); }
.ph-faq details { border-bottom: 1px solid var(--ph-line); }
.ph-faq summary { position: relative; cursor: pointer; list-style: none; padding: 23px 38px 23px 0 !important; font-size: 17px; font-weight: 500; }
.ph-faq summary::-webkit-details-marker { display: none; }
.ph-faq summary::before, .ph-faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 15px; height: 1px; background: currentColor; }
.ph-faq summary::after { transform: rotate(90deg); transition: transform .2s; }
.ph-faq details[open] summary::after { transform: rotate(0); }
.ph-faq details > p { padding-bottom: 22px; font-size: 14px; color: var(--ph-muted); max-width: 70ch; }
.ph-contact { padding-block: 72px; background: #7340bd; color: #fff; }
.ph-contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 80px; }
.ph-contact h2 { font-size: clamp(40px,4.8vw,68px); }
.ph-contact p { margin-top: 24px; color: #ece4f8; }
.ph-contact-actions { justify-self: end; }
.ph-button-light { background: #f5f5f2; color: #3b1e62 !important; min-width: 255px; }
.ph-button-light:hover { background: #e9dcfa; }
.ph-contact-phone { display: block; font-size: 23px; margin-top: 22px; font-weight: 500; letter-spacing: -.02em; }
.ph-contact-actions p { font-size: 12px; margin-top: 10px; }
.ph-checklist { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 30px; }
.ph-checklist p { font-size: 13px; color: var(--ph-muted); }
.ph-checklist .ph-text-link { font-size: 13px; }
@media (min-width: 1600px) { .ph-hero-top { grid-template-columns: 1.9fr 1fr; } }
@media (max-width: 1180px) {
  .pp-home-page #pp-header .pp-phone { display: none !important; }
  .ph-hero-top { gap: 32px; grid-template-columns: 1.6fr 1fr; }
  .ph-hero h1 { font-size: 5.3vw; }
  .ph-result-grid { gap: 50px; }
  .ph-service-row { grid-template-columns: 1fr 1.25fr .65fr; gap: 24px; }
  .ph-partner { gap: 50px; }
}
@media (max-width: 900px) {
  .ph-hero-top { grid-template-columns: 1fr; gap: 28px; }
  .ph-hero h1 { font-size: clamp(40px,7.3vw,68px); }
  .ph-intro { max-width: 65ch; }
  .ph-intro p { max-width: 58ch; }
  .ph-intro .ph-text-link { display: inline-flex; margin-left: 24px; }
  .ph-project-stage { height: 265px; }
  .ph-work-grid { gap: 40px 30px; }
  .ph-work-caption { display: block; }
  .ph-work-caption span { display: block; margin-top: 5px; }
  .ph-service-row { grid-template-columns: 1fr 1.3fr; }
  .ph-service-action { grid-column: 2; justify-content: flex-start; align-items: center; gap: 24px; padding-top: 0; }
  .ph-service-action > a { margin-top: 0; }
  .ph-faq { gap: 40px; }
  .ph-contact-grid { gap: 40px; }
}
@media (max-width: 600px) {
  .pp-home-page #pp-header-bar { height: 64px !important; gap: 10px !important; }
  .pp-home-page #pp-header-bar > div { gap: 10px !important; }
  .pp-home-page #pp-theme-toggle { width: 38px; height: 38px; }
  .ph-hero { padding-top: 104px; padding-bottom: 10px; }
  .ph-hero-top { gap: 23px; }
  .ph-hero h1 { font-size: clamp(30px,8.2vw,46px); line-height: 1.13; }
  .ph-intro p { font-size: 15px; }
  .ph-intro .ph-button { margin-top: 20px; min-height: 50px; }
  .ph-intro .ph-text-link { display: flex; margin: 8px 0 0; }
  .ph-project-stage { height: 226px; margin-top: 25px; }
  .ph-stage-main { width: 76%; left: 12%; top: 24px; height: 68%; transform: translateY(var(--ph-drift)) rotate(0); }
  .ph-stage-ai { width: 62%; left: -39%; top: 36px; height: 67%; }
  .ph-stage-brand { width: 58%; left: 82%; top: 36px; height: 65%; }
  .ph-stage-item > span { font-size: 12px; bottom: -26px; }
  .ph-stage-item small { font-size: 9px; }
  .ph-stage-ai span, .ph-stage-brand span { display: none; }
  .ph-stage-word { font-size: 83px; bottom: -13px; left: -2px; }
  .ph-hero-foot { flex-wrap: wrap; gap: 4px 18px; padding-block: 18px; }
  .ph-hero-foot p { font-size: 10px; }
  .ph-hero-foot a { display: none; }
  .ph-home h2 { font-size: 35px; }
  .ph-work { padding-top: 60px; padding-bottom: 62px; }
  .ph-section-head { display: block; margin-bottom: 28px; }
  .ph-section-head > p { font-size: 13px; margin-top: 18px; }
  .ph-work-grid { display: flex; flex-direction: column; gap: 34px; }
  .ph-work-small { padding-top: 0; }
  .ph-work-third { max-width: 100%; }
  .ph-work-caption { display: flex; margin-top: 13px; }
  .ph-work-caption h3 { font-size: 24px; }
  .ph-work-caption span { font-size: 10px; }
  .ph-work-item > p { font-size: 13px; margin-top: 8px; }
  .ph-work-invite { align-self: flex-start; justify-self: auto; margin-top: 3px; }
  .ph-work-invite > p { font-size: 27px; }
  .ph-work-invite .ph-text-link { margin-top: 8px; }
  .ph-result { padding-block: 54px; }
  .ph-result-grid { grid-template-columns: 1fr; gap: 38px; }
  .ph-result-story > p { font-size: 14px; margin-top: 20px; }
  .ph-result-number { font-size: 110px !important; }
  .ph-result-bottom { margin-top: 25px; padding-top: 20px; }
  .ph-result-number span { font-size: 16px; }
  .ph-services { padding-top: 62px; padding-bottom: 40px; }
  .ph-service-row { display: grid; grid-template-columns: 1fr; gap: 18px; padding-block: 26px; }
  .ph-service-row h3 { font-size: 27px; }
  .ph-service-row h3 br { display: none; }
  .ph-service-row p { font-size: 14px; }
  .ph-service-links { gap: 8px 20px; margin-top: 12px; }
  .ph-service-links a { font-size: 12px; min-height: 38px; }
  .ph-service-action { grid-column: auto; justify-content: space-between; }
  .ph-services-foot { display: block; padding-top: 20px; }
  .ph-services-foot .ph-text-link { margin-top: 10px; }
  .ph-partner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 62px; gap: 28px; }
  .ph-partner-title .ph-text-link { margin-top: 15px; }
  .ph-partner-copy .ph-partner-lead { font-size: 17px; margin-bottom: 20px; }
  .ph-faq { grid-template-columns: 1fr; gap: 27px; padding-bottom: 62px; }
  .ph-faq summary { font-size: 15px; padding-block: 19px !important; }
  .ph-faq details > p { font-size: 13px; }
  .ph-contact { padding-block: 48px; }
  .ph-contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .ph-contact h2 { font-size: 37px; }
  .ph-contact p { margin-top: 18px; font-size: 14px; }
  .ph-contact-actions { justify-self: start; width: 100%; }
  .ph-button-light { width: 100%; }
  .ph-contact-actions p { font-size: 12px; margin-top: 8px; }
  .ph-checklist { display: block; padding-block: 25px; }
  .ph-checklist .ph-text-link { margin-top: 6px; font-size: 12px; line-height: 1.5; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-home *, .ph-home *::before, .ph-home *::after { transition: none !important; }
}
