/*
 * PrinceTech WordPress theme — design system.
 * Ported 1:1 from the original Next.js site's Tailwind tokens.
 * Colors are measured from official brand sources: the 2023 logo
 * (#0047BC, #2A2A2A) and the corporate profile brochure.
 */

:root {
  --brand-navy: #0f1428;
  --brand-navy-deep: #14285f;
  --brand-deep-blue: #193278;
  --brand-blue-vivid: #1e3787;
  --brand-blue-bright: #144b96;
  --brand-primary-blue: #0047bc;
  --brand-primary-blue-dark: #003a99;
  --brand-cyan: #38bdf8;
  --brand-light-blue: #80c0e2;
  --brand-link-blue: #0082c3;
  --brand-charcoal: #2a2a2a;
  --brand-white: #ffffff;
  --brand-surface: #f8fafc;
  --brand-mist: #eaf0f7;
  --brand-text: #0f172a;
  --brand-muted: #47536b;
  --brand-border: #c8d2e1;
  --brand-border-soft: #e2e8f0;
  --brand-success: #15803d;
  --brand-warning: #b45309;
  --brand-error: #b91c1c;

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", ui-sans-serif, system-ui, sans-serif;

  --text-display: clamp(2.25rem, 1.35rem + 3.4vw, 3.625rem);
  --text-h1: clamp(2rem, 1.35rem + 2.2vw, 2.875rem);
  --text-h2: clamp(1.625rem, 1.2rem + 1.5vw, 2.25rem);
  --text-h3: clamp(1.25rem, 1.08rem + 0.6vw, 1.5rem);
}

/* ---------- Reset-ish base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--brand-white);
  color: var(--brand-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
#pt-page { flex: 1 0 auto; display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--brand-primary-blue); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--brand-cyan);
  outline-offset: 2px;
  border-radius: 2px;
}
::selection { background: var(--brand-primary-blue); color: var(--brand-white); }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  overflow: hidden;
  word-wrap: normal !important;
}
.skip-link:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  width: auto; height: auto; clip: auto; clip-path: none;
  background: #fff; color: var(--brand-text);
  padding: 0.5rem 1rem; border-radius: 6px;
  font-size: 0.875rem; font-weight: 600; text-decoration: none;
}

/* ---------- Layout ---------- */
.pt-container {
  margin-inline: auto;
  width: 100%;
  max-width: 1320px;
  padding-inline: 20px;
}
@media (min-width: 640px) { .pt-container { padding-inline: 32px; } }

.pt-section { padding-block: 5rem; }
.pt-section--tint {
  background: var(--brand-surface);
  border-top: 1px solid var(--brand-border-soft);
  border-bottom: 1px solid var(--brand-border-soft);
}
@media (min-width: 640px) { .pt-section { padding-block: 6rem; } }

/* ---------- Navy hero band (brochure treatment) ---------- */
.hero-navy {
  background-color: var(--brand-navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='48' viewBox='0 0 28 48'%3E%3Cg fill='none' stroke='%232e5fbf' stroke-opacity='.28'%3E%3Cpath d='M14 0l14 8v16l-14 8L0 24V8zM14 32v16'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(132deg, #0f1428 0%, #14285f 42%, #193278 68%, #1e3787 84%, #144b96 100%);
  background-size: 44px 76px, cover;
  color: #fff;
}
/* Header overlaps the band — pull it under the sticky header */
.hero-navy.pt-hero, .hero-navy.pt-page-hero { margin-top: -64px; padding-top: 64px; }

/* ---------- Page-to-page transitions ---------- */
/* Every page eases in on load; clicking an internal link fades the page
   out before navigating (see main.js). Disabled automatically under
   prefers-reduced-motion by the global rule at the bottom. */
#pt-page {
  animation: pt-page-in 0.4s ease both;
}
@keyframes pt-page-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
#pt-page.pt-page-exit {
  animation: none;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* ---------- Loading overlay ---------- */
/* Shown while navigating to another page or submitting the demo form:
   the PrinceTech orbit mark pulses inside a spinning ring. Sits outside
   #pt-page so the page fade-out doesn't dim it. */
#pt-loader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}
#pt-loader.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 0.18s ease, visibility 0s;
}
.pt-loader__box {
  position: relative; width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
}
.pt-loader__ring {
  position: absolute; inset: 0; border-radius: 999px;
  border: 3px solid rgba(0, 71, 188, 0.15);
  border-top-color: var(--brand-primary-blue);
  animation: pt-spin 0.9s linear infinite;
}
.pt-loader__mark {
  width: 48px; height: 48px;
  animation: pt-loader-pulse 1.4s ease-in-out infinite;
}
@keyframes pt-spin { to { transform: rotate(360deg); } }
@keyframes pt-loader-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.88); opacity: 0.7; }
}

/* ---------- Utility bar ---------- */
.pt-utility { background: var(--brand-navy); color: rgba(255,255,255,0.85); font-size: 13px; }
.pt-utility .pt-container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 6px;
}
.pt-utility__loc { display: none; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) { .pt-utility__loc { display: block; } }
.pt-utility__links { display: flex; align-items: center; gap: 1.25rem; }
.pt-utility a { color: inherit; text-decoration: none; white-space: nowrap; }
.pt-utility a:hover { color: #fff; }
.pt-utility .u-sm { display: none; }
.pt-utility .u-lg { display: none; }
@media (min-width: 640px)  { .pt-utility .u-sm { display: inline; } }
@media (min-width: 1024px) { .pt-utility .u-lg { display: inline; } }

/* ---------- Header ---------- */
.pt-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 20, 40, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.pt-header.is-scrolled, .pt-header.is-open {
  background: var(--brand-navy);
  box-shadow: 0 10px 15px -3px rgba(15, 20, 40, 0.3);
}
.pt-nav {
  margin-inline: auto; max-width: 1320px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 64px; padding-inline: 20px;
}
@media (min-width: 640px) { .pt-nav { padding-inline: 32px; } }
.pt-logo { flex-shrink: 0; display: inline-flex; }
.pt-logo img { height: 32px; width: auto; }
@media (min-width: 1024px) { .pt-logo img { height: 36px; } }

.pt-menu-wrap { display: none; }
@media (min-width: 1200px) { .pt-menu-wrap { display: block; } }
.pt-menu { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.pt-menu > li { position: relative; }
.pt-menu__link {
  display: flex; align-items: center; gap: 4px;
  border-radius: 6px; padding: 8px 12px;
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,0.9); text-decoration: none;
  background: transparent; border: 0; cursor: pointer; font-family: inherit;
  transition: background-color 0.18s ease, color 0.18s ease;
}
.pt-menu__link:hover, .pt-menu > li.is-open > .pt-menu__link {
  color: #fff; background: rgba(255,255,255,0.1);
}
.pt-menu__chev { transition: transform 0.15s ease; }
.pt-menu > li.is-open .pt-menu__chev { transform: rotate(180deg); }

.pt-menu .pt-submenu {
  position: absolute; left: 0; top: 100%; margin-top: 8px;
  min-width: 280px; max-width: 640px;
  border-radius: 12px; border: 1px solid rgba(15,20,40,0.08);
  background: #fff; padding: 8px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  list-style: none; z-index: 60;
  /* Animated open/close: fade + rise. Kept in the layout (not display:none)
     so opacity/transform can transition. */
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.pt-menu > li.is-open > .pt-submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}
.pt-menu > li:last-child .pt-submenu,
.pt-menu > li:nth-last-child(2) .pt-submenu { left: auto; right: 0; }
/* Wide two-column panel when a dropdown has many items */
.pt-menu .pt-submenu--wide { width: 640px; column-count: 2; column-gap: 8px; padding: 16px; }
.pt-menu .pt-submenu--wide > li { break-inside: avoid; }
.pt-submenu > li { list-style: none; }
.pt-submenu__link {
  display: block; border-radius: 8px; padding: 8px 12px;
  text-decoration: none; color: var(--brand-text);
}
.pt-submenu__link:hover { background: var(--brand-surface); }
.pt-submenu__label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--brand-text); }
.pt-submenu__desc { display: block; font-size: 13px; color: var(--brand-muted); }
/* Nested (3rd level) lists just indent — always visible inside an open panel */
.pt-submenu .pt-submenu {
  position: static; margin: 0 0 0 12px; border: 0; box-shadow: none;
  display: block; padding: 0;
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: none;
}
.pt-submenu__link { transition: background-color 0.15s ease; }

.pt-header__actions { display: flex; align-items: center; gap: 12px; }
.pt-header__cta { display: none; }
@media (min-width: 640px) { .pt-header__cta { display: inline-flex; } }

.pt-burger {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; width: 44px; border-radius: 6px;
  color: #fff; background: transparent; border: 0; cursor: pointer;
}
.pt-burger:hover { background: rgba(255,255,255,0.1); }
@media (min-width: 1200px) { .pt-burger { display: none; } }

/* Mobile drawer — slides down and fades in */
.pt-drawer {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  border-top: 1px solid rgba(255,255,255,0);
  background: var(--brand-navy);
  padding: 0 20px;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease,
    border-color 0.25s ease, visibility 0s linear 0.35s;
}
.pt-drawer.is-open {
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  opacity: 1;
  visibility: visible;
  border-top-color: rgba(255,255,255,0.1);
  padding: 8px 20px 32px;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease,
    border-color 0.25s ease, visibility 0s;
}
@media (min-width: 1200px) { .pt-drawer { display: none; } }
.pt-drawer ul { list-style: none; margin: 0; padding: 0; }
.pt-drawer > ul > li > a, .pt-drawer .pt-drawer__toggle {
  display: flex; width: 100%; align-items: center; justify-content: space-between;
  border-radius: 6px; padding: 12px;
  font-size: 1rem; font-weight: 600; color: #fff; text-decoration: none;
  background: transparent; border: 0; cursor: pointer; font-family: inherit; text-align: left;
}
.pt-drawer > ul > li > a:hover, .pt-drawer .pt-drawer__toggle:hover { background: rgba(255,255,255,0.1); }
/* Drawer accordion sub-menus — animated expand/collapse */
.pt-drawer .pt-submenu {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding-left: 12px;
  position: static; border: 0; box-shadow: none; border-radius: 0;
  background: transparent; min-width: 0; transform: none;
  visibility: visible; pointer-events: auto;
  transition: max-height 0.3s ease, opacity 0.25s ease, margin 0.3s ease;
}
.pt-drawer li.is-open > .pt-submenu {
  max-height: 640px;
  opacity: 1;
  margin: 0 0 8px;
}
.pt-drawer .pt-drawer__toggle svg { transition: transform 0.25s ease; }
.pt-drawer li.is-open > .pt-drawer__toggle svg { transform: rotate(180deg); }
.pt-drawer .pt-submenu a {
  display: block; border-radius: 6px; padding: 10px 12px;
  font-size: 15px; color: rgba(255,255,255,0.85); text-decoration: none;
}
.pt-drawer .pt-submenu a:hover { background: rgba(255,255,255,0.1); color: #fff; }
.pt-drawer .pt-submenu__desc { display: none; }
.pt-drawer__cta {
  margin-top: 1rem; display: flex; min-height: 48px;
  align-items: center; justify-content: center;
  border-radius: 6px; background: var(--brand-cyan);
  padding-inline: 20px; font-size: 1rem; font-weight: 700;
  color: var(--brand-navy); text-decoration: none;
}
body.pt-drawer-locked { overflow: hidden; }

/* ---------- Buttons ---------- */
.pt-btn {
  display: inline-flex; min-height: 44px;
  align-items: center; justify-content: center; gap: 8px;
  border-radius: 6px; padding: 10px 20px;
  font-size: 0.875rem; font-weight: 600; font-family: inherit;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, filter 0.15s ease;
  border: 1px solid transparent;
}
.pt-btn--lg { padding: 14px 28px; font-size: 1rem; }
.pt-btn--primary { background: var(--brand-primary-blue); color: #fff; box-shadow: 0 1px 2px rgba(15,23,42,0.08); }
.pt-btn--primary:hover { background: var(--brand-primary-blue-dark); color: #fff; }
.pt-btn--cyan { background: var(--brand-cyan); color: var(--brand-navy); font-weight: 700; box-shadow: 0 1px 2px rgba(15,23,42,0.08); }
.pt-btn--cyan:hover { filter: brightness(1.1); }
.pt-btn--outline { background: #fff; border-color: var(--brand-border); color: var(--brand-text); }
.pt-btn--outline:hover { border-color: var(--brand-primary-blue); color: var(--brand-primary-blue); }
.pt-btn--inverse { background: #fff; color: var(--brand-deep-blue); }
.pt-btn--inverse:hover { background: var(--brand-mist); }
.pt-btn--inverse-outline { border-color: rgba(255,255,255,0.4); color: #fff; background: transparent; }
.pt-btn--inverse-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); color: #fff; }

/* ---------- Typography helpers ---------- */
.pt-eyebrow {
  margin: 0 0 12px;
  font-size: 0.8125rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-primary-blue);
}
.pt-eyebrow--dark { color: var(--brand-cyan); }

.pt-section-heading { max-width: 52rem; }
.pt-section-heading--center { margin-inline: auto; text-align: center; }
.pt-heading-title { font-size: var(--text-h2); font-weight: 700; color: var(--brand-text); margin: 0; }
.pt-section-heading--dark .pt-heading-title { color: #fff; }
.pt-heading-lead { margin: 1rem 0 0; font-size: 1.125rem; line-height: 1.7; color: var(--brand-muted); }
.pt-section-heading--dark .pt-heading-lead { color: rgba(255,255,255,0.8); }

/* ---------- Home hero ---------- */
.pt-hero__grid {
  display: grid; gap: 3rem; align-items: center;
  padding-block: 3.5rem 5rem;
}
@media (min-width: 640px) { .pt-hero__grid { padding-top: 5rem; } }
@media (min-width: 1024px) {
  .pt-hero__grid { grid-template-columns: 1.15fr 1fr; padding-bottom: 6rem; }
}
.pt-hero__title {
  font-size: var(--text-display); font-weight: 800; line-height: 1.08;
  color: #fff; margin: 0;
}
.pt-hero__lead {
  margin: 1.5rem 0 0; max-width: 36rem;
  font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.85);
}
.pt-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.pt-hero__pdf { margin-top: 1.25rem; font-size: 0.875rem; }
.pt-hero__pdf a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline; text-decoration-color: rgba(255,255,255,0.4);
  text-underline-offset: 4px;
}
.pt-hero__pdf a:hover { color: #fff; }

/* Ecosystem diagram card */
.pt-diagram {
  position: relative; border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  padding: 24px;
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.pt-diagram__note { margin: 4px 0 0; font-size: 0.875rem; color: rgba(255,255,255,0.7); }
.pt-diagram__grid { position: relative; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pt-diagram__cross-v, .pt-diagram__cross-h {
  pointer-events: none; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.pt-diagram__cross-v > span {
  height: 100%; width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(56,189,248,0.5), transparent);
}
.pt-diagram__cross-h > span {
  height: 1px; width: 100%;
  background: linear-gradient(to right, transparent, rgba(56,189,248,0.5), transparent);
}
.pt-diagram__hub {
  position: relative; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(15,20,40,0.6);
  padding: 16px;
}
.pt-diagram__hub-name { margin: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: #fff; }
.pt-diagram__hub-role { margin: 4px 0 0; font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.7); }
.pt-diagram__dot {
  position: absolute; right: 12px; top: 12px;
  height: 6px; width: 6px; border-radius: 999px; background: var(--brand-cyan);
  animation: pt-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pt-pulse { 50% { opacity: 0.4; } }
.pt-diagram__badge {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 999px; border: 1px solid rgba(56,189,248,0.6);
  background: var(--brand-navy); padding: 4px 12px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--brand-cyan); box-shadow: 0 0 24px rgba(56, 189, 248, 0.35);
  white-space: nowrap;
}
.pt-diagram__audience {
  margin: 20px 0 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 4px 16px;
  font-size: 12px; color: rgba(255,255,255,0.7);
}

/* ---------- Page hero (inner pages) ---------- */
.pt-page-hero .pt-container { padding-block: 2.5rem 3.5rem; }
@media (min-width: 640px) { .pt-page-hero .pt-container { padding-block: 3rem 4rem; } }
.pt-page-hero__inner { margin-top: 1.75rem; max-width: 52rem; }
.pt-page-hero h1 { font-size: var(--text-h1); font-weight: 700; color: #fff; margin: 0; }
.pt-page-hero__lead { margin: 1.25rem 0 0; font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.85); }

.pt-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: rgba(255,255,255,0.65); }
.pt-crumbs li + li::before { content: "/"; margin-right: 6px; color: rgba(255,255,255,0.4); }
.pt-crumbs a { color: rgba(255,255,255,0.75); text-decoration: none; }
.pt-crumbs a:hover { color: #fff; }

/* ---------- Grids & cards ---------- */
.pt-grid { display: grid; gap: 1.5rem; }
.pt-grid--2 { grid-template-columns: 1fr; }
.pt-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .pt-grid--3 { grid-template-columns: repeat(2, 1fr); } .pt-grid--2sm { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pt-grid--2 { grid-template-columns: repeat(2, 1fr); } .pt-grid--3 { grid-template-columns: repeat(3, 1fr); } }

.pt-card {
  border-radius: 16px; border: 1px solid var(--brand-border-soft);
  background: #fff; padding: 24px;
}
.pt-card--tint { background: var(--brand-surface); }
.pt-card h3, .pt-card h2 { font-size: 1.125rem; font-weight: 700; color: var(--brand-text); margin: 0 0 0.25rem; }
.pt-card p { margin: 0.5rem 0 0; font-size: 15px; line-height: 1.65; color: var(--brand-muted); }

/* Blog card title image — bleeds to the card edges; a branded navy
   fallback shows when a post has no Featured Image. */
.pt-card__media {
  display: block;
  width: calc(100% + 48px);
  margin: -24px -24px 1.25rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: var(--brand-navy);
}
.pt-card__media img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.pt-card__media--fallback {
  display: flex; align-items: center; justify-content: center;
}
.pt-card__media--fallback img {
  width: 55%; max-width: 220px; height: auto;
  object-fit: contain;
}

/* Featured image on a single post */
.pt-single-media {
  margin: 0 0 2rem; max-width: 52rem;
}
.pt-single-media img {
  width: 100%; height: auto; border-radius: 16px; display: block;
}

.pt-icon-badge {
  display: inline-flex; height: 44px; width: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px; background: rgba(0, 71, 188, 0.1);
  color: var(--brand-primary-blue); margin-bottom: 1rem;
  font-size: 20px;
}

/* Client logos */
.pt-client-grid {
  margin: 3rem 0 0; padding: 0; list-style: none;
  display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px)  { .pt-client-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .pt-client-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .pt-client-grid { grid-template-columns: repeat(5, 1fr); } }
.pt-client-tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; border-radius: 12px; border: 1px solid var(--brand-border-soft);
  background: #fff; padding: 20px 16px;
}
.pt-client-tile img { height: 64px; width: auto; max-width: 120px; object-fit: contain; }
@media (min-width: 640px) { .pt-client-tile img { height: 80px; } }
.pt-client-tile span {
  text-align: center; font-size: 12px; font-weight: 500;
  line-height: 1.3; color: var(--brand-muted);
}

/* Intro proof points */
.pt-intro-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .pt-intro-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; } }
.pt-intro-body { margin-top: 1.5rem; font-size: 17px; line-height: 1.7; color: var(--brand-muted); }
.pt-intro-body p { margin: 0 0 1rem; }
.pt-points { display: grid; gap: 12px; align-content: center; list-style: none; margin: 0; padding: 0; }
.pt-points li {
  display: flex; align-items: center; gap: 12px;
  border-radius: 12px; border: 1px solid var(--brand-border-soft);
  background: var(--brand-surface); padding: 16px 20px;
  font-weight: 500; color: var(--brand-text);
}
.pt-points .pt-check {
  display: flex; height: 32px; width: 32px; flex-shrink: 0;
  align-items: center; justify-content: center;
  border-radius: 999px; background: rgba(0, 71, 188, 0.1);
  color: var(--brand-primary-blue);
}

/* Product cards */
.pt-product {
  display: flex; flex-direction: column;
  border-radius: 16px; border: 1px solid var(--brand-border-soft);
  background: #fff; padding: 24px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
@media (min-width: 640px) { .pt-product { padding: 32px; } }
.pt-product__head { display: flex; align-items: center; gap: 12px; }
.pt-product__badge {
  border-radius: 6px; background: rgba(0, 71, 188, 0.1);
  padding: 4px 10px; font-family: var(--font-display);
  font-size: 0.875rem; font-weight: 700; color: var(--brand-primary-blue);
}
.pt-product__role { font-size: 0.875rem; font-weight: 500; color: var(--brand-muted); }
.pt-product__name { margin: 1rem 0 0; font-size: var(--text-h3); font-weight: 700; color: var(--brand-text); }
.pt-product__purpose { margin: 0.5rem 0 0; line-height: 1.65; color: var(--brand-muted); }
.pt-product__caps {
  margin: 1.25rem 0 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: 1fr; gap: 6px 24px;
  font-size: 0.875rem; color: var(--brand-text);
}
@media (min-width: 640px) { .pt-product__caps { grid-template-columns: 1fr 1fr; } }
.pt-product__caps li { position: relative; padding-left: 14px; }
.pt-product__caps li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  height: 6px; width: 6px; border-radius: 999px; background: var(--brand-primary-blue);
}
.pt-product__more { margin: 0.5rem 0 0; font-size: 13px; color: var(--brand-muted); }
.pt-product__foot {
  margin-top: auto; padding-top: 1.25rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px; border-top: 1px solid var(--brand-border-soft);
}
.pt-product__integrates { margin: 0; font-size: 13px; font-weight: 500; color: var(--brand-muted); }
.pt-product__link { font-size: 0.875rem; font-weight: 700; color: var(--brand-primary-blue); text-decoration: none; }
.pt-product__link:hover { color: var(--brand-primary-blue-dark); }

/* Partner boxes */
.pt-partner-boxes { margin: 2.5rem auto 0; display: grid; gap: 1.5rem; max-width: 48rem; }
@media (min-width: 640px) { .pt-partner-boxes { grid-template-columns: 1fr 1fr; } }
.pt-partner-box {
  border-radius: 16px; border: 1px solid var(--brand-border-soft);
  background: #fff; padding: 24px; text-align: center;
}
.pt-partner-box__logos {
  margin-top: 1rem; display: flex; align-items: center; justify-content: center;
  gap: 2rem; flex-wrap: wrap;
}
.pt-partner-box__logos img { height: 44px; width: auto; object-fit: contain; }
.pt-partner-box__blurb { margin: 1rem 0 0; font-size: 0.875rem; line-height: 1.65; color: var(--brand-muted); }
.pt-partner-disclaimer {
  margin: 2rem auto 0; max-width: 42rem; text-align: center;
  font-size: 0.75rem; line-height: 1.65; color: var(--brand-muted);
}

/* Mission / vision panels + values */
.pt-mv-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media (min-width: 1024px) { .pt-mv-grid { grid-template-columns: 1fr 1fr; } }
.pt-mv-panel { border-radius: 16px; padding: 32px; color: #fff; }
.pt-mv-panel--mission { background: var(--brand-deep-blue); }
.pt-mv-panel--vision { background: var(--brand-navy); }
.pt-mv-panel p { margin: 0.75rem 0 0; font-size: 1.125rem; line-height: 1.7; }
.pt-mv-panel .pt-eyebrow { margin-bottom: 0; }

.pt-values { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: 1rem; }
@media (min-width: 640px)  { .pt-values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pt-values { grid-template-columns: repeat(3, 1fr); } }
.pt-values li {
  display: flex; gap: 1rem; border-radius: 16px;
  border: 1px solid var(--brand-border-soft); background: #fff; padding: 24px;
}
.pt-values .pt-value-letter {
  display: flex; height: 48px; width: 48px; flex-shrink: 0;
  align-items: center; justify-content: center;
  border-radius: 12px; background: var(--brand-primary-blue);
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; color: #fff;
}
.pt-values h3 { margin: 0; font-size: 1rem; font-weight: 700; color: var(--brand-text); }
.pt-values p { margin: 6px 0 0; font-size: 0.875rem; line-height: 1.65; color: var(--brand-muted); }

/* CTA band */
.pt-cta { text-align: center; }
.pt-cta__title { margin: 0 auto; max-width: 48rem; font-size: var(--text-h2); font-weight: 700; color: #fff; }
.pt-cta__copy { margin: 1.25rem auto 0; max-width: 42rem; font-size: 1.125rem; line-height: 1.7; color: rgba(255,255,255,0.85); }
.pt-cta__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1rem; }
.pt-cta__note { margin: 1.5rem 0 0; font-size: 0.875rem; color: rgba(255,255,255,0.7); }

/* FAQ accordion */
.pt-faq { margin-top: 2.5rem; display: grid; gap: 12px; }
.pt-faq details {
  border-radius: 12px; border: 1px solid var(--brand-border-soft);
  background: #fff; padding: 0;
}
.pt-faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 18px 22px;
  font-family: var(--font-display); font-weight: 700; color: var(--brand-text);
}
.pt-faq summary::-webkit-details-marker { display: none; }
.pt-faq summary::after { content: "+"; font-size: 1.25rem; color: var(--brand-primary-blue); flex-shrink: 0; }
.pt-faq details[open] summary::after { content: "–"; }
.pt-faq .pt-faq__a { padding: 0 22px 20px; color: var(--brand-muted); line-height: 1.7; }
.pt-faq .pt-faq__a p { margin: 0 0 0.75rem; }

/* Timeline (history) */
.pt-timeline { position: relative; margin: 3rem 0 0; padding: 0 0 0 2rem; list-style: none; border-left: 2px solid var(--brand-mist); }
.pt-timeline li { position: relative; margin-bottom: 2.5rem; }
.pt-timeline li::before {
  content: ""; position: absolute; left: calc(-2rem - 9px); top: 4px;
  height: 16px; width: 16px; border-radius: 999px;
  border: 4px solid #fff; background: var(--brand-primary-blue);
  box-shadow: 0 1px 3px rgba(15,23,42,0.2);
}

/* ---------- Footer ---------- */
.pt-footer { background: var(--brand-navy); color: #fff; margin-top: auto; }
.pt-footer .pt-container { padding-block: 4rem; }
.pt-footer__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .pt-footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.pt-footer__brand { max-width: 24rem; }
.pt-footer__brand img { height: 36px; width: auto; }
.pt-footer__about { margin: 1.25rem 0 0; font-size: 0.875rem; line-height: 1.65; color: rgba(255,255,255,0.75); }
.pt-footer address { margin: 1.5rem 0 0; font-style: normal; font-size: 0.875rem; color: rgba(255,255,255,0.75); }
.pt-footer address > div { margin-bottom: 1rem; }
.pt-footer address p { margin: 0; }
.pt-footer address .pt-footer__office { font-weight: 600; color: #fff; }
.pt-footer__contacts a { display: inline-block; padding-block: 6px; color: inherit; text-decoration: none; }
.pt-footer__contacts a:hover { color: #fff; }
.pt-footer__col .pt-eyebrow { color: var(--brand-cyan); margin-bottom: 1rem; }
.pt-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pt-footer__col a { font-size: 0.875rem; line-height: 1.4; color: rgba(255,255,255,0.75); text-decoration: none; }
.pt-footer__col a:hover { color: #fff; }
.pt-footer__col + .pt-footer__col { margin-top: 2.5rem; }
.pt-footer__legal {
  margin-top: 3.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  display: flex; flex-direction: column; gap: 1rem;
  font-size: 13px; color: rgba(255,255,255,0.7);
}
@media (min-width: 640px) { .pt-footer__legal { flex-direction: row; align-items: center; justify-content: space-between; } }
.pt-footer__legal p { margin: 0; }
.pt-footer__legal ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.pt-footer__legal a { color: inherit; text-decoration: none; }
.pt-footer__legal a:hover { color: #fff; }

/* ---------- Prose (page/post content) ---------- */
.pt-prose { max-width: 52rem; }
.pt-prose--wide { max-width: 100%; }
.pt-prose h2 { margin: 2.25rem 0 0.625rem; font-size: 1.375rem; font-weight: 700; color: var(--brand-text); }
.pt-prose h3 { margin: 1.75rem 0 0.5rem; font-size: 1.125rem; font-weight: 700; color: var(--brand-text); }
.pt-prose p, .pt-prose ul, .pt-prose ol { margin: 0 0 1rem; font-size: 1rem; line-height: 1.75; color: var(--brand-muted); }
.pt-prose ul { padding-left: 1.5rem; }
.pt-prose a { color: var(--brand-primary-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.pt-prose strong { color: var(--brand-text); }
.pt-prose blockquote {
  margin: 1.5rem 0; padding: 1rem 1.5rem;
  border-left: 4px solid var(--brand-primary-blue);
  background: var(--brand-surface); border-radius: 0 8px 8px 0;
}
.pt-prose img { border-radius: 12px; }
.pt-prose .wp-block-table table { width: 100%; border-collapse: collapse; }
.pt-prose .wp-block-table td, .pt-prose .wp-block-table th {
  border: 1px solid var(--brand-border); padding: 8px 12px; text-align: left;
}

/* Solution page info panels */
.pt-solution-aside { display: grid; gap: 1.5rem; align-self: start; }
.pt-solution-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .pt-solution-layout { grid-template-columns: 1.5fr 1fr; } }
.pt-taglist { display: flex; flex-wrap: wrap; gap: 8px; margin: 1rem 0 0; padding: 0; list-style: none; }
.pt-taglist li {
  border-radius: 999px; border: 1px solid var(--brand-border-soft);
  background: var(--brand-surface); padding: 6px 14px;
  font-size: 13px; font-weight: 500; color: var(--brand-text);
}

/* ---------- Request a Demo form ---------- */
.pt-demo-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1024px) { .pt-demo-layout { grid-template-columns: 1.6fr 1fr; } }

.pt-form__grid { display: grid; gap: 4px 20px; }
@media (min-width: 640px) { .pt-form__grid { grid-template-columns: 1fr 1fr; } }
.pt-form__field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.pt-form__field label,
.pt-form__fieldset legend {
  font-size: 0.875rem; font-weight: 600; color: var(--brand-text);
}
.pt-form input[type="text"],
.pt-form input[type="email"],
.pt-form input[type="tel"],
.pt-form select,
.pt-form textarea {
  width: 100%;
  border: 1px solid var(--brand-border);
  border-radius: 6px;
  background: #fff;
  color: var(--brand-text);
  font: inherit;
  font-size: 0.9375rem;
  padding: 10px 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.pt-form input:focus,
.pt-form select:focus,
.pt-form textarea:focus {
  outline: none;
  border-color: var(--brand-primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 71, 188, 0.15);
}
.pt-form textarea { resize: vertical; min-height: 120px; }

.pt-form__fieldset { border: 0; margin: 4px 0 14px; padding: 0; }
.pt-form__fieldset legend { margin-bottom: 10px; padding: 0; }
.pt-form__checks { display: grid; gap: 8px 20px; }
@media (min-width: 640px) { .pt-form__checks { grid-template-columns: 1fr 1fr; } }
.pt-form__check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--brand-text); cursor: pointer;
}
.pt-form__check input {
  margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0;
  accent-color: var(--brand-primary-blue);
}
.pt-form__consent { margin: 4px 0 18px; font-size: 0.875rem; }
.pt-form__consent span { color: var(--brand-muted); }
.pt-form__consent a { color: var(--brand-primary-blue); }
.pt-form__submit { margin: 0; }

/* Honeypot — visually removed, still in the DOM for bots */
.pt-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.pt-notice { border-radius: 12px; padding: 20px 24px; margin: 0 0 1.5rem; }
.pt-notice h3 { margin: 0 0 0.25rem; font-size: 1.125rem; }
.pt-notice p { margin: 0; font-size: 0.9375rem; line-height: 1.6; }
.pt-notice--success {
  border: 1px solid rgba(21, 128, 61, 0.3);
  background: rgba(21, 128, 61, 0.05);
  color: var(--brand-text);
}
.pt-notice--error {
  border: 1px solid rgba(185, 28, 28, 0.3);
  background: rgba(185, 28, 28, 0.05);
  color: var(--brand-text);
}

/* Admin hint shown only to logged-in admins when content is missing */
.pt-admin-hint {
  border: 1px dashed var(--brand-border); border-radius: 8px;
  background: var(--brand-mist); color: var(--brand-text);
  padding: 12px 16px; font-size: 0.875rem;
}

/* ---------- WordPress core compatibility ---------- */
.alignleft { float: left; margin: 0.5rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.5rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignfull { width: 100%; max-width: 100%; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.8125rem; color: var(--brand-muted); text-align: center; }
.sticky { display: block; }
.gallery-caption { display: block; }
.bypostauthor { display: block; }

/* Elementor: let sections span full width inside the full-width template */
.pt-fullwidth-content > .elementor { width: 100%; }

@media print {
  .pt-header, .pt-utility, .pt-footer, .pt-drawer { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
