:root {
  --ptg-accent: #206456;
  --ptg-soft: #edf5f0;
  --ptg-line: #dce8e1;
  --ptg-shadow: 0 16px 42px #1738370d;
}
.dark { --ptg-accent: #98d6bd; --ptg-soft: #10232a; --ptg-line: #2d4649; --ptg-shadow: none; }

.ptg-feature-hero {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
  padding-block: clamp(40px, 7vw, 105px);
}
.ptg-feature-hero__body { min-width: 0; }
.ptg-kicker { color: var(--ptg-accent); font-weight: 700; font-size: .82rem; letter-spacing: .13em; }
.ptg-feature-hero h1 { margin: 14px 0 21px; font-size: clamp(2.4rem, 5.1vw, 5.1rem); line-height: 1.07; letter-spacing: -.044em; text-wrap: balance; }
.ptg-feature-hero__body > p:not(.ptg-kicker) { max-width: 38rem; color: var(--muted); font-size: clamp(1.02rem,1.4vw,1.22rem); line-height: 1.65; }
.ptg-feature-hero > img { display: block; width: 100%; aspect-ratio: 6/5; object-fit: cover; border-radius: 28px 28px 96px 28px; box-shadow: var(--ptg-shadow); }
.ptg-feature-hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 27px; }
.ptg-button { display: inline-flex; align-items: center; min-height: 46px; padding: 8px 17px; border-radius: 10px; color: #fff; background: #205d51; font-weight: 700; }
.ptg-button:hover { color: #fff; background: #174b40; }
.ptg-back { color: var(--ptg-accent); font-weight: 650; }
.ptg-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.ptg-capabilities, .ptg-delivery, .ptg-industries { background: var(--ptg-soft); padding-block: clamp(42px,6vw,88px); }
.ptg-section-heading { max-width: 780px; margin-bottom: 28px; }
.ptg-section-heading h2, .ptg-delivery h2, .ptg-offers h2, .ptg-industries h2 { margin: 0 0 12px; font-size: clamp(1.75rem,3.1vw,2.65rem); line-height: 1.18; letter-spacing: -.025em; }
.ptg-section-heading p { color: var(--muted); }
.ptg-cap-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,235px),1fr)); gap: 15px; }
.ptg-cap-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ptg-line); border-radius: 19px; background: var(--card); box-shadow: var(--ptg-shadow); }
.ptg-cap-card:hover { border-color: var(--ptg-accent); }
.ptg-cap-card img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ptg-cap-card__body { flex: 1; display: flex; flex-direction: column; gap: 11px; padding: 19px; color: var(--muted); line-height: 1.55; }
.ptg-cap-card strong { font-size: 1.22rem; line-height: 1.28; color: var(--ink); }
.ptg-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; color: var(--ptg-accent); background: var(--ptg-soft); }
.ptg-icon svg { width: 23px; height: 23px; }
.ptg-cap-card__action { margin-top: auto; color: var(--ptg-accent); font-weight: 700; }
.ptg-delivery ol { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; list-style-position: inside; padding: 0; margin: 23px 0 0; }
.ptg-delivery li { background: var(--card); border-radius: 12px; border: 1px solid var(--ptg-line); padding: 18px; }
.ptg-delivery li::marker { color: var(--ptg-accent); font-weight: 750; }
.ptg-offers { padding-block: clamp(40px,6vw,88px); scroll-margin-top: 90px; }
.ptg-offers ul, .ptg-industries ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.ptg-offers li a, .ptg-industries li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 100%; padding: 14px 16px; border: 1px solid var(--ptg-line); border-radius: 10px; background: var(--card); color: var(--ink); font-weight: 650; }
.ptg-offers li a:hover, .ptg-industries li a:hover { border-color: var(--ptg-accent); }
.ptg-link-meta { flex: none; color: var(--ptg-accent); font-size: .8rem; }
.ptg-catalog-search { margin: 32px 0 14px; }
.ptg-catalog-search label { display: block; color: var(--ink); font-weight: 650; margin: 0 0 6px; }
.ptg-catalog-search input { width: min(100%,480px); border: 1px solid var(--ptg-line); border-radius: 10px; padding: 12px 16px; background: var(--card); color: var(--ink); }
.ptg-catalog-search p { color: var(--muted); margin: 10px 0 0; }
.htc-hub-hero .htc-hub-hero__content h1 { letter-spacing: -.032em; line-height: 1.1; text-wrap: balance; }
.htc-catalog .htc-catalog-card, .enterprise-page-shell .htc-card { border-radius: 15px; }
.htc-catalog .htc-catalog-card:hover { border-color: var(--ptg-accent); box-shadow: var(--ptg-shadow); }
.htc-catalog-group__index { display: none; }
.htc-page-header { border-bottom: 1px solid var(--ptg-line); background: var(--ptg-soft); }
.htc-page-header h1 { letter-spacing: -.03em; text-wrap: balance; }
.enterprise-page-content :is(img,video) { max-width: 100%; }
.enterprise-page-content :is(h2,h3) { scroll-margin-top: 90px; text-wrap: balance; }
.enterprise-page-content :is(pre,figure.table) { max-width: 100%; overflow: auto; }
.ptg-capabilities:has(.ptg-cap-card:only-child) .ptg-cap-card { width: min(100%,580px); }
@media (max-width: 760px) {
 .ptg-feature-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 32px 40px; }
 .ptg-feature-hero > img { aspect-ratio: 16/10; border-radius: 18px 18px 58px 18px; }
 .ptg-delivery ol, .ptg-offers ul, .ptg-industries ul { grid-template-columns: 1fr; }
}

.htc-header__bar { box-shadow: 0 8px 30px #152d2e09; border-bottom-color: var(--ptg-line); }
.htc-header .enterprise-nav--desktop > li > a:hover { color: var(--ptg-accent); }
.enterprise-footer .ef-guide-card { border-radius: 17px; }
.blog__details-wrap .blog__details-thumb, .blog__post-thumb { border-radius: 18px; overflow: hidden; }
.blog__details-content h1.title { letter-spacing: -.028em; text-wrap: balance; line-height: 1.15; }
.blog__details-content .ck-content { line-height: 1.75; }

.ptg-hub .ptg-feature-hero h1 { font-size: clamp(2.25rem, 4.3vw, 4.4rem); }
.ptg-hub-stats { display: flex; flex-wrap: wrap; gap: 14px 26px; padding: 18px 0 0; margin-top: 22px; border-top: 1px solid var(--ptg-line); }
.ptg-hub-stats > div { display: flex; flex-direction: column-reverse; }
.ptg-hub-stats dt { color: var(--muted); font-size: .83rem; }
.ptg-hub-stats dd { color: var(--ink); font-weight: 700; font-size: 1.45rem; }
.ptg-hub-nav { border-block: 1px solid var(--ptg-line); background: var(--card); }
.ptg-hub-nav div { display: flex; gap: 9px; overflow-x: auto; padding-block: 12px; }
.ptg-hub-nav a { flex: none; color: var(--ptg-accent); border: 1px solid var(--ptg-line); border-radius: 8px; padding: 7px 12px; font-size: .9rem; font-weight: 650; }
.ptg-hub-nav a:hover { background: var(--ptg-soft); }

.ptg-pagehero.htc-pagehero { background: var(--ptg-soft); color: var(--ink); border-bottom: 1px solid var(--ptg-line); }
.ptg-pagehero.htc-pagehero::before, .ptg-pagehero.htc-pagehero::after { display: none; }
.ptg-pagehero .htc-pagehero__copy :is(h1,p) { color: var(--ink); }
.ptg-pagehero .htc-pagehero__copy h1 { font-size: clamp(2.1rem,4.2vw,4.25rem); letter-spacing: -.028em; line-height: 1.1; text-wrap: balance; }
.ptg-pagehero .htc-pagehero__copy p { color: var(--muted); }
.ptg-pagehero .htc-pagehero__badge { color: var(--ptg-accent); background: var(--card); border-color: var(--ptg-line); }
.ptg-pagehero .htc-pagehero__media img { border-radius: 17px; max-height: 430px; object-fit: contain; }

:root { --ptg-gold: #9c6d19; --ptg-gold-soft: #f7efdb; }
.dark { --ptg-gold: #edc57a; --ptg-gold-soft: #2c2419; }
.ptg-kicker { color: var(--ptg-gold); }
.ptg-mascot { height: auto; object-fit: contain; }
.ptg-hero-art { margin: 0; position: relative; min-width: 0; isolation: isolate; }
.ptg-hero-art__photo { display: block; width: 100%; aspect-ratio: 6/5; object-fit: cover; border-radius: 28px 28px 96px 28px; box-shadow: var(--ptg-shadow); }
.ptg-hero-art__mascot { position: absolute; z-index: 1; right: -2%; bottom: -2%; width: clamp(130px,40%,300px); filter: drop-shadow(0 12px 14px #092e3b42); pointer-events: none; }
.ptg-hero-art figcaption { position: absolute; bottom: 12px; left: 12px; padding: 3px 8px; color: #1f3344; background: #ffffffe8; border-radius: 6px; font-size: .72rem; }
.ptg-guide { background: var(--ptg-soft); border-block: 1px solid var(--ptg-line); }
.ptg-guide__inner { display: flex; align-items: center; gap: clamp(16px,3.5vw,46px); padding-block: 23px; }
.ptg-guide__inner > img { flex: none; width: clamp(90px,11vw,145px); max-height: 150px; }
.ptg-guide__copy { flex: 1; }
.ptg-guide__copy h2 { font-size: clamp(1.4rem,2.7vw,2.25rem); line-height: 1.18; letter-spacing: -.022em; }
.ptg-guide__copy p { color: var(--muted); margin-top: 8px; }
.ptg-guide__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ptg-mobile-capabilities { display: inline-flex; align-items: center; margin-block-start: 10px; gap: 8px; min-height: 44px; color: var(--ptg-accent); font-weight: 650; }
.ptg-mobile-capabilities svg { width: 19px; height: 19px; }
@media (max-width: 760px) {
 .ptg-hero-art__photo { aspect-ratio: 16/10; border-radius: 18px 18px 58px 18px; }
 .ptg-guide__inner { flex-wrap: wrap; }
 .ptg-guide__inner > img { width: 80px; }
 .ptg-guide__copy { min-width: 180px; }
 .ptg-guide__actions { flex-basis: 100%; }
}

.ptg-industry-tiles { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr)); gap: 14px; }
.ptg-industry-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--ptg-line); border-radius: 14px; background: var(--card); }
.ptg-industry-tile:hover { border-color: var(--ptg-accent); }
.ptg-industry-tile img { display: block; width: 100%; aspect-ratio: 2/1; object-fit: cover; }
.ptg-industry-tile > span { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--ink); font-weight: 700; }
.ptg-industry-tile > span > span { color: var(--ptg-accent); }
.ptg-cap-grid .ptg-icon { background: linear-gradient(140deg,var(--ptg-soft),var(--ptg-gold-soft)); }
@media (max-width: 550px) {
 .ptg-industry-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
 .ptg-industry-tile > span { padding: 10px; gap: 7px; font-size: .89rem; }
}

.ptg-mega-link { display: inline-flex; gap: 8px; margin-top: 16px; padding: 9px 11px; border-radius: 8px; color: var(--ptg-accent); background: var(--ptg-soft); font-weight: 700; font-size: .86rem; }
.ptg-mega-link:hover { text-decoration: underline; }

/* A legacy cached fragment can still contain the old loading overlay. */
#preloader { display: none !important; }

.ptg-cap-card__art { position: relative; display: block; isolation: isolate; }
.ptg-cap-card__art .ptg-cap-card__photo { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.ptg-cap-card__art .ptg-cap-card__mascot { position: absolute; bottom: 0; right: 4%; width: 43%; height: 80%; aspect-ratio: auto; object-fit: contain; object-position: bottom right; filter: drop-shadow(0 4px 6px #10304055); }
.ptg-mobile-capabilities .ptg-mascot { width: 38px; }

.ptg-capability-decisions { padding-block: clamp(32px,5vw,62px) 0; }
.ptg-capability-decisions h2 { margin-bottom: 18px; font-size: clamp(1.65rem,3.2vw,2.5rem); line-height: 1.16; }
.ptg-capability-decisions__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.ptg-capability-decisions article { border: 1px solid var(--ptg-line); border-radius: 15px; background: var(--card); padding: clamp(18px,3vw,30px); }
.ptg-capability-decisions h3 { margin: 0 0 8px; font-size: 1.17rem; }
.ptg-capability-decisions p { color: var(--muted); margin: 0; line-height: 1.62; }
@media(max-width:640px) { .ptg-capability-decisions__grid { grid-template-columns: 1fr; } }
