/*
 * home.css — PinellasIT home page ("Shield" design system).
 * Loaded after custom.css on index.html only. Every class here is prefixed `ph-`
 * so nothing leaks into the theme. Shared motion (data-reveal, data-count,
 * .pit-divider, .pit-card-hover) lives in custom.css/custom.js; brand
 * tokens are read from custom.css with fallbacks so this file stands alone.
 *
 * Sections, in page order: hero, services (+ "also" card), how we work,
 * local team + facts, free resources, technology marquee, FAQ, contact.
 */

:root{
  --ph-navy-950: var(--pit-navy-950, #010816);
  --ph-navy-900: var(--pit-navy-900, #02142E);
  --ph-navy-800: var(--pit-navy-800, #082044);
  --ph-blue: var(--pit-primary, #0058F8);
  --ph-anchor: var(--pit-anchor, #0040C0);
  --ph-cyan: var(--pit-cyan, #00B8F8);
  --ph-cyan-bright: var(--pit-cyan-bright, #00D8F8);
  --ph-ice: #8CC4FF;                 /* light blue for text/lines on navy */
  --ph-ink: #03162F;                 /* headings on light */
  --ph-body: #46566A;                /* body text on light (7.3:1 on white) */
  --ph-mist: #F5F8FB;
  --ph-line: #E3E8EF;
  --ph-on-dark: rgba(255,255,255,.76);
  --ph-ease: cubic-bezier(.2,.7,.2,1);
  --ph-shadow: 0 1px 2px rgba(2,20,46,.04), 0 24px 48px -28px rgba(2,20,46,.22);
  --ph-shadow-hover: 0 1px 2px rgba(2,20,46,.05), 0 34px 70px -30px rgba(0,64,192,.34);
}

/* ---- Base ---------------------------------------------------------------- */
.ph-main{ display:block; }
.ph-wrap{ width:100%; max-width:1240px; margin:0 auto; padding:0 32px; }
.ph-sr{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
.ph-home section.ph-section{
  padding:128px 0;
  background-color:#fff;
}
.ph-home .ph-main ul,
.ph-home .ph-main ol{ list-style:none; margin:0; padding:0; }
.ph-home .ph-main img{ max-width:100%; }

/* type */
.ph-home .ph-h2{
  font-family:"Poppins",sans-serif;
  font-size:clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  line-height:1.08;
  letter-spacing:-.032em;
  font-weight:600;
  color:var(--ph-ink);
  margin:0 0 20px;
  text-wrap:balance;
}
.ph-home .ph-lead{
  font-size:1.1875rem;
  line-height:1.6;
  font-weight:400;
  color:var(--ph-body);
  margin:0 0 18px;
  max-width:36em;
}
.ph-home .ph-p{
  font-size:1.0625rem;
  line-height:1.7;
  color:var(--ph-body);
  margin:0 0 18px;
  max-width:38em;
}
.ph-home .ph-p--small{ font-size:.9375rem; }
.ph-home .ph-main p a:not(.ph-btn):not(.ph-link){
  color:var(--ph-anchor);
  font-weight:600;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
}
.ph-home .ph-main p a:not(.ph-btn):not(.ph-link):hover{ color:var(--ph-blue); text-decoration-thickness:2px; }

/* split section header: heading left, lead + action right */
.ph-head{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);
  gap:20px 72px;
  align-items:end;
  margin-bottom:64px;
}
.ph-home .ph-head .ph-h2{ margin:0; max-width:13em; }
.ph-head__aside .ph-lead:last-child,
.ph-head__aside .ph-p:last-child{ margin-bottom:0; }
.ph-head--compact{ margin-bottom:48px; }

/* text link with drawn underline */
.ph-home a.ph-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  font-size:1rem;
  color:var(--ph-anchor);
  text-decoration:none;
  background:linear-gradient(currentColor,currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom:3px;
  transition:color .25s, background-size .35s var(--ph-ease);
}
.ph-home a.ph-link:hover{ color:var(--ph-blue); background-size:35% 1.5px; }

/* buttons (own class so theme .btn rules never apply) */
.ph-home .ph-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:52px;
  padding:0 26px;
  margin:0;
  border-radius:12px;
  border:1px solid transparent;
  font-family:"Poppins",sans-serif;
  font-size:15px;
  font-weight:600;
  line-height:1.2;
  letter-spacing:.005em;
  text-transform:none;
  text-decoration:none;
  white-space:nowrap;
  cursor:pointer;
  transition:transform .3s var(--ph-ease), box-shadow .3s var(--ph-ease), background-color .25s, color .25s, border-color .25s;
}
/* primary: deep electric-blue gradient, white label (>=5:1 everywhere on it),
   a bevel highlight on the top edge, and a cyan light that rises on hover */
.ph-home .ph-btn--primary{
  background-color:var(--ph-blue);
  background-image:var(--pit-grad-deep, linear-gradient(120deg,#0046D8 0%,#0058F8 55%,#0064F8 100%));
  color:#fff;
  text-shadow:0 1px 1px rgba(1,8,22,.25);
  box-shadow:0 12px 30px -14px rgba(0,88,248,.9), inset 0 1px 0 rgba(255,255,255,.3), inset 0 -1px 0 rgba(0,16,40,.22);
}
.ph-home .ph-btn--primary:hover,
.ph-home .ph-btn--primary:focus-visible{
  color:#fff;
  background-image:radial-gradient(70% 110% at 50% 135%, rgba(0,216,248,.5), transparent 62%), linear-gradient(120deg,#004CE8 0%,#005CF8 55%,#0066F8 100%);
  transform:translateY(-2px);
  box-shadow:0 18px 40px -14px rgba(0,88,248,.95), 0 0 26px -6px rgba(0,184,248,.55), inset 0 1px 0 rgba(255,255,255,.32), inset 0 -1px 0 rgba(0,16,40,.22);
}
.ph-home .ph-btn--ghost{
  background-color:rgba(255,255,255,.06);
  color:#fff;
  border-color:rgba(232,240,240,.32);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
}
.ph-home .ph-btn--ghost:hover,
.ph-home .ph-btn--ghost:focus-visible{
  background-color:rgba(255,255,255,.14);
  border-color:rgba(255,255,255,.6);
  color:#fff;
  transform:translateY(-2px);
}
.ph-home .ph-btn--block{ width:100%; padding:0 18px; white-space:normal; text-align:center; }
.ph-home .ph-btn:active{ transform:translateY(0); }

/* focus: electric-blue ring on light, bright cyan ring on dark */
.ph-home .ph-main a:focus-visible,
.ph-home .ph-main button:focus-visible,
.ph-home .ph-main summary:focus-visible,
.ph-home .ph-main [tabindex]:focus-visible{
  outline:3px solid var(--ph-blue);
  outline-offset:3px;
}
.ph-hero a:focus-visible,
.ph-contact__copy a:focus-visible{ outline-color:var(--ph-cyan-bright) !important; }

/* live dot: a ping ring made with transform/opacity only */
.ph-live-dot{
  position:relative;
  flex:none;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ph-cyan-bright);
  box-shadow:0 0 12px rgba(0,216,248,.75);
}
.ph-live-dot::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:50%;
  background:var(--ph-cyan-bright);
  animation:ph-ping 2.4s cubic-bezier(.2,.6,.3,1) infinite;
}
@keyframes ph-ping{
  0%{ transform:scale(1); opacity:.7; }
  80%,100%{ transform:scale(3.4); opacity:0; }
}

/* art frames: gradient placeholder shows if an image is missing or still loading */
[data-ph-frame]{
  background:
    radial-gradient(70% 60% at 75% 25%, rgba(0,184,248,.28), transparent 70%),
    radial-gradient(60% 70% at 15% 90%, rgba(0,88,248,.35), transparent 70%),
    linear-gradient(135deg, #02142E, #082044);
}
img[data-ph-fallback].is-missing{ visibility:hidden; }

/* ========================================================================
 * HERO
 * ===================================================================== */
.ph-home section.ph-hero{
  position:relative;
  isolation:isolate;
  display:flex;
  align-items:center;
  min-height:calc(100vh - 80px);
  min-height:calc(100svh - 80px);
  padding:104px 0 136px;
  overflow:hidden;
  background-color:var(--ph-navy-950);
  color:#fff;
}
.ph-hero__bg{
  position:absolute;
  inset:0;
  z-index:-3;
  background:
    radial-gradient(55% 65% at 78% 38%, rgba(0,88,248,.38), transparent 70%),
    radial-gradient(40% 50% at 96% 92%, rgba(0,184,248,.22), transparent 70%),
    radial-gradient(35% 40% at 8% 105%, rgba(0,88,248,.25), transparent 70%),
    linear-gradient(180deg, #021230 0%, #010816 100%);
}
.ph-hero__bg::before{
  content:"";
  position:absolute;
  inset:0;
  background:url("/images/hero/hero-bay-network.jpg?v=fe2f025880") 68% 50% / cover no-repeat;
  background-image:image-set(url("/images/hero/hero-bay-network-2400.webp?v=b12ba351eb") type("image/webp"), url("/images/hero/hero-bay-network.jpg?v=fe2f025880") type("image/jpeg"));
}
@media (max-width:767.98px){
  .ph-hero__bg::before{
    background-image:image-set(url("/images/hero/hero-bay-network-1920.webp?v=82040f1d6f") type("image/webp"), url("/images/hero/hero-bay-network.jpg?v=fe2f025880") type("image/jpeg"));
  }
}
.ph-hero__veil{
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg, rgba(1,8,22,.94) 0%, rgba(1,8,22,.82) 34%, rgba(1,8,22,.35) 62%, rgba(1,8,22,.1) 100%),
    linear-gradient(0deg, rgba(1,8,22,.95) 0%, rgba(1,8,22,0) 34%),
    linear-gradient(180deg, rgba(1,8,22,.6) 0%, rgba(1,8,22,0) 22%);
}
/* Tablet/small laptop: the one-line headline runs out to ~80% of the width and crosses the lit
   Pinellas coastline, so the veil stays deep further right. 1100px+ keeps the
   lighter veil (the headline wraps to two lines and ends left of the coast there). */
@media (min-width:768px) and (max-width:991.98px){
  .ph-hero__veil{
    background:
      linear-gradient(90deg, rgba(1,8,22,.94) 0%, rgba(1,8,22,.86) 38%, rgba(1,8,22,.7) 70%, rgba(1,8,22,.34) 90%, rgba(1,8,22,.12) 100%),
      linear-gradient(0deg, rgba(1,8,22,.95) 0%, rgba(1,8,22,0) 34%),
      linear-gradient(180deg, rgba(1,8,22,.6) 0%, rgba(1,8,22,0) 22%);
  }
}
@media (min-width:992px) and (max-width:1099.98px){
  .ph-hero__veil{
    background:
      linear-gradient(90deg, rgba(1,8,22,.94) 0%, rgba(1,8,22,.84) 36%, rgba(1,8,22,.7) 64%, rgba(1,8,22,.45) 76%, rgba(1,8,22,.14) 92%, rgba(1,8,22,.1) 100%),
      linear-gradient(0deg, rgba(1,8,22,.95) 0%, rgba(1,8,22,0) 34%),
      linear-gradient(180deg, rgba(1,8,22,.6) 0%, rgba(1,8,22,0) 22%);
  }
}
.ph-hero__veil::after{
  /* faint 1px grid, strongest where the constellation is */
  content:"";
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size:72px 72px;
  background-position:-1px -1px;
  -webkit-mask-image:radial-gradient(60% 70% at 72% 45%, #000 0%, transparent 75%);
          mask-image:radial-gradient(60% 70% at 72% 45%, #000 0%, transparent 75%);
}
.ph-hero__canvas{
  position:absolute;
  inset:0;
  z-index:-1;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
}
.ph-hero__inner{ position:relative; z-index:1; }
.ph-hero__content{ max-width:780px; }

.ph-home .ph-hero__chip{
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin:0 0 30px;
  padding:8px 16px 8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter:blur(10px);
  backdrop-filter:blur(10px);
  font-size:14px;
  font-weight:500;
  line-height:1.3;
  color:rgba(255,255,255,.88);
}
/* two-tier headline: the name of the thing, then what it does */
.ph-home .ph-hero__title{
  font-family:"Poppins",sans-serif;
  font-weight:600;
  color:#fff;
  margin:0 0 30px;
}
.ph-hero__title-main{
  display:block;
  font-size:clamp(1.9rem, .9rem + 5.2vw, 5.25rem);
  line-height:1;
  letter-spacing:-.045em;
}
.ph-hero__title-sub{
  display:block;
  max-width:19em;
  margin-top:.45em;
  font-size:clamp(1.45rem, .95rem + 1.9vw, 2.5rem);
  font-weight:500;
  line-height:1.14;
  letter-spacing:-.03em;
  color:rgba(255,255,255,.8);
  text-wrap:balance;
}
.ph-hero__title-sub::first-letter{ text-transform:uppercase; }

/* rotating line: words stack in one grid cell, so width never changes (no CLS) */
.ph-home .ph-hero__rotator{ margin:0 0 20px; }
.ph-rotator{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:2px 12px;
  font-size:clamp(1.15rem, .85rem + 1vw, 1.625rem);
  font-weight:500;
  line-height:1.35;
  letter-spacing:-.012em;
  color:rgba(255,255,255,.92);
}
/* the shield-check mark (same glyph as the shield divider, from the logo):
   its tick redraws each time the phrase changes */
.ph-rotator__mark,
.ph-badge__mark{
  flex:none;
  width:22px;
  height:26px;
  overflow:visible;
  filter:drop-shadow(0 4px 10px rgba(0,88,248,.45));
}
.ph-badge__mark{ width:20px; height:24px; }
.ph-shield-tick{
  fill:none;
  stroke:var(--ph-cyan-bright);
  stroke-width:3.2;
  stroke-linecap:round;
  stroke-linejoin:round;
  stroke-dasharray:1;
  stroke-dashoffset:0;
}
.ph-rotator__mark.is-check .ph-shield-tick{ animation:ph-trace .7s var(--ph-ease) .1s both; }
@keyframes ph-trace{
  from{ stroke-dashoffset:1; }
  to{ stroke-dashoffset:0; }
}
.ph-rotator__words{ display:inline-grid; }
.ph-rotator__word{
  grid-area:1 / 1;
  white-space:nowrap;
  font-weight:600;
  color:var(--ph-cyan-bright);
  background:linear-gradient(90deg, var(--ph-ice) 0%, var(--ph-cyan-bright) 80%);
  -webkit-background-clip:text;
          background-clip:text;
  -webkit-text-fill-color:transparent;
  visibility:hidden;
  opacity:0;
  transform:translateY(.6em);
  transition:opacity .45s var(--ph-ease), transform .6s var(--ph-ease), visibility 0s linear .6s;
}
.ph-rotator__word.is-active{
  visibility:visible;
  opacity:1;
  transform:none;
  transition:opacity .5s var(--ph-ease) .12s, transform .65s var(--ph-ease) .12s, visibility 0s;
}
.ph-rotator__word.is-leaving{
  visibility:visible;
  opacity:0;
  transform:translateY(-.6em);
  transition:opacity .35s var(--ph-ease), transform .5s var(--ph-ease), visibility 0s linear .5s;
}

.ph-home .ph-hero__sub{
  font-size:1.0625rem;
  line-height:1.65;
  color:rgba(255,255,255,.84);
  max-width:34em;
  margin:0 0 38px;
}
.ph-hero__ctas{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:34px;
}
.ph-home .ph-hero__trust{
  display:flex;
  flex-wrap:wrap;
  gap:10px 28px;
  font-size:14px;
  line-height:1.4;
  color:rgba(255,255,255,.74);
}
.ph-hero__trust li{ display:inline-flex; align-items:center; gap:8px; }
.ph-hero__trust svg{
  flex:none;
  fill:none;
  stroke:var(--ph-cyan-bright);
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.ph-scroll-cue{
  position:absolute;
  left:50%;
  bottom:30px;
  z-index:2;
  width:26px;
  height:42px;
  margin-left:-13px;
  border-radius:999px;
  border:1.5px solid rgba(255,255,255,.34);
  transition:border-color .25s;
}
.ph-scroll-cue::after{
  content:"";
  position:absolute;
  left:50%;
  top:8px;
  width:4px;
  height:8px;
  margin-left:-2px;
  border-radius:4px;
  background:var(--ph-cyan-bright);
  box-shadow:0 0 10px rgba(0,216,248,.8);
  animation:ph-cue 2.2s var(--ph-ease) infinite;
}
.ph-scroll-cue:hover{ border-color:rgba(255,255,255,.7); }
@keyframes ph-cue{
  0%{ transform:translateY(0); opacity:0; }
  25%{ opacity:1; }
  70%{ transform:translateY(14px); opacity:0; }
  100%{ transform:translateY(14px); opacity:0; }
}

/* one orchestrated entrance for the hero (CSS only, so it never blocks content) */
@media (prefers-reduced-motion:no-preference){
  .ph-hero__content > *{ animation:ph-rise .9s var(--ph-ease) both; }
  .ph-hero__content > :nth-child(2){ animation-delay:.08s; }
  .ph-hero__content > :nth-child(3){ animation-delay:.2s; }
  .ph-hero__content > :nth-child(4){ animation-delay:.28s; }
  .ph-hero__content > :nth-child(5){ animation-delay:.36s; }
  .ph-hero__content > :nth-child(6){ animation-delay:.44s; }
  .ph-hero__canvas{ animation:ph-fade 1.6s ease both .1s; }
}
@keyframes ph-rise{
  from{ opacity:0; transform:translateY(22px); }
  to{ opacity:1; transform:none; }
}
@keyframes ph-fade{ from{ opacity:0; } to{ opacity:1; } }

/* ========================================================================
 * SERVICES: managed IT bento + one slim "also" card (.pit-also in custom.css)
 * ===================================================================== */
.ph-home section.ph-services{ background-color:var(--ph-mist); }

/* bento: feature tile 2x2, four tiles, two wide tiles */
.ph-bento{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:20px;
}
.ph-bento > li{ display:flex; min-width:0; }
.ph-bento__feature{ grid-column:span 2; grid-row:span 2; }
.ph-bento__wide{ grid-column:span 2; }

.ph-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  padding:10px;
  background:#fff;
  border:1px solid var(--ph-line);
  border-radius:22px;
  box-shadow:var(--ph-shadow);
  transition:transform .4s var(--ph-ease), box-shadow .4s var(--ph-ease), border-color .4s;
}
.ph-tile:hover{
  transform:translateY(-5px);
  box-shadow:var(--ph-shadow-hover);
  border-color:rgba(0,88,248,.32);
}
.ph-tile:focus-within{ border-color:var(--ph-blue); }
.ph-tile__art{
  position:relative;
  flex:none;
  aspect-ratio:4 / 3;
  border-radius:14px;
  overflow:hidden;
}
.ph-tile__art img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .8s var(--ph-ease);
}
.ph-tile:hover .ph-tile__art img{ transform:scale(1.04); }
.ph-tile__body{
  display:flex;
  flex-direction:column;
  flex:1 1 auto;
  padding:20px 12px 12px;
}
.ph-home .ph-tile__title{
  font-family:"Poppins",sans-serif;
  font-size:1.1875rem;
  font-weight:600;
  letter-spacing:-.018em;
  line-height:1.3;
  margin:0 0 8px;
  color:var(--ph-ink);
}
.ph-home .ph-tile__title a{ color:inherit; text-decoration:none; }
.ph-home .ph-tile__title a::after{
  /* whole tile is the click target; the link text stays the accessible name */
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  border-radius:22px;
}
.ph-home .ph-tile__title a:focus-visible{ outline:none; }
.ph-home .ph-tile__title a:focus-visible::after{ outline:3px solid var(--ph-blue); outline-offset:3px; }
.ph-home .ph-tile__text{
  font-size:.9375rem;
  line-height:1.6;
  color:var(--ph-body);
  margin:0;
}
.ph-tile__more{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  padding-top:18px;
  font-size:.9375rem;
  font-weight:600;
  color:var(--ph-anchor);
}
.ph-tile__more::after{
  content:"";
  width:18px;
  height:1.5px;
  background:currentColor;
  transform-origin:left;
  transition:transform .35s var(--ph-ease);
}
.ph-tile:hover .ph-tile__more::after{ transform:scaleX(1.8); }

.ph-tile--feature{ padding:12px; }
.ph-tile--feature .ph-tile__body{ padding:26px 18px 16px; }
.ph-home .ph-tile--feature .ph-tile__title{ font-size:1.625rem; letter-spacing:-.025em; margin-bottom:10px; }
.ph-home .ph-tile--feature .ph-tile__text{ font-size:1.0625rem; max-width:32em; }

.ph-included{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:20px !important;
}
.ph-included li{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px 7px 10px;
  border-radius:999px;
  font-size:13px;
  font-weight:500;
  line-height:1.2;
  color:var(--ph-ink);
  background:var(--ph-mist);
  border:1px solid var(--ph-line);
}
.ph-included li::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:1px;
  transform:rotate(45deg);
  background:var(--pit-grad, linear-gradient(135deg,#0058F8 0%,#00B8F8 100%));
}
.ph-tile--wide{ flex-direction:row; align-items:stretch; }
.ph-tile--wide .ph-tile__art{ flex:0 0 44%; aspect-ratio:4 / 3; }
.ph-tile--wide .ph-tile__body{ justify-content:center; padding:16px 18px 16px 24px; }

/* the slim "Also from PinellasIT" card sits one grid-gap below the bento */
.ph-home .ph-also{ margin-top:20px; }

/* ========================================================================
 * HOW WE WORK: a progress line fills across four shield step markers
 * (the line runs from the first marker's centre to the last: 30px .. 75%+30px).
 * Finished state is the default, so it reads fully with no JS or reduced
 * motion; under html.pit-motion it starts empty and js/home.js adds .is-drawn.
 * ===================================================================== */
.ph-home section.ph-how{ background-color:#fff; }
.ph-timeline{ position:relative; }
.ph-timeline__track{
  position:absolute;
  left:30px;
  top:29px;
  width:75%;
  height:2px;
  border-radius:2px;
  background:var(--ph-line);
  pointer-events:none;
}
.ph-timeline__fill{
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(90deg, #0058F8 0%, #0080F8 50%, #00B8F8 100%);
  box-shadow:0 0 12px rgba(0,128,248,.45);
  transform-origin:0 50%;
}
html.pit-motion .ph-timeline:not(.is-drawn) .ph-timeline__fill{ transform:scaleX(0); }
.ph-timeline.is-drawn .ph-timeline__fill{ transition:transform 2.4s cubic-bezier(.5,0,.2,1) .15s; }
.ph-steps{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:0;
}
.ph-step{ position:relative; padding-right:40px; }
.ph-step__node{
  position:relative;
  z-index:1;
  display:grid;
  place-items:center;
  width:60px;
  height:60px;
  margin-bottom:26px;
}
/* idle marker (outline shield) under the lit one (two-tone rim + navy field) */
.ph-step__node::before,
.ph-step__node::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:46px;
  height:55px;
  margin:-28px 0 0 -23px;
  background:center / contain no-repeat;
}
.ph-step__node::before{ background-image:var(--pit-shield-node); }
.ph-step__node::after{
  background-image:var(--pit-shield-node-on);
  filter:drop-shadow(0 10px 14px rgba(0,88,248,.32));
  transition:opacity .5s ease, transform .6s var(--ph-ease);
}
.ph-step__node span{
  position:relative;
  z-index:1;
  margin-top:-2px;
  font-size:15px;
  font-weight:600;
  color:#fff;
  transition:color .5s;
}
html.pit-motion .ph-timeline:not(.is-drawn) .ph-step__node::after{ opacity:0; transform:scale(.82); }
html.pit-motion .ph-timeline:not(.is-drawn) .ph-step__node span{ color:var(--ph-ink); }
.ph-timeline.is-drawn .ph-step:nth-child(1) .ph-step__node::after,
.ph-timeline.is-drawn .ph-step:nth-child(1) .ph-step__node span{ transition-delay:.15s; }
.ph-timeline.is-drawn .ph-step:nth-child(2) .ph-step__node::after,
.ph-timeline.is-drawn .ph-step:nth-child(2) .ph-step__node span{ transition-delay:.95s; }
.ph-timeline.is-drawn .ph-step:nth-child(3) .ph-step__node::after,
.ph-timeline.is-drawn .ph-step:nth-child(3) .ph-step__node span{ transition-delay:1.75s; }
.ph-timeline.is-drawn .ph-step:nth-child(4) .ph-step__node::after,
.ph-timeline.is-drawn .ph-step:nth-child(4) .ph-step__node span{ transition-delay:2.5s; }
.ph-home .ph-step__title{
  font-family:"Poppins",sans-serif;
  font-size:1.3125rem;
  font-weight:600;
  letter-spacing:-.02em;
  line-height:1.3;
  color:var(--ph-ink);
  margin:0 0 10px;
}
.ph-home .ph-step__text{
  font-size:.96875rem;
  line-height:1.65;
  color:var(--ph-body);
  margin:0;
  max-width:22em;
}

/* ========================================================================
 * SHIELD DIVIDERS (component from custom.css; these wrappers only set the band colour)
 * ===================================================================== */
.ph-divider{ position:relative; overflow:hidden; }
.ph-divider--light{ background-color:#fff; }
/* between "How we work" and "Local team" (both white): pull the sections in a little */
.ph-home section.ph-how{ padding-bottom:88px; }
.ph-home .ph-divider--tight + section.ph-local{ padding-top:88px; }

/* ========================================================================
 * LOCAL TEAM + FACTS
 * ===================================================================== */
.ph-home section.ph-local{ background-color:#fff; }
.ph-local__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:88px;
  align-items:center;
}
.ph-local__media{
  position:relative;
  isolation:isolate;
  padding:0 0 44px 0;
}
.ph-local__media::before{
  /* offset gradient slab behind the photo */
  content:"";
  position:absolute;
  z-index:-1;
  top:40px;
  right:-28px;
  bottom:12px;
  left:44px;
  border-radius:30px;
  background:var(--pit-grad, linear-gradient(135deg, #0058F8 0%, #00B8F8 100%));
  opacity:.95;
}
.ph-local__media::after{
  /* dot field peeking out top-left */
  content:"";
  position:absolute;
  z-index:-1;
  top:-26px;
  left:-26px;
  width:140px;
  height:140px;
  background-image:radial-gradient(rgba(2,20,46,.35) 1.2px, transparent 1.6px);
  background-size:14px 14px;
}
.ph-photo{
  position:relative;
  aspect-ratio:5 / 4;
  border-radius:26px;
  overflow:hidden;
  background:var(--ph-navy-800);
  box-shadow:0 40px 80px -40px rgba(2,20,46,.55);
}
.ph-photo img{ display:block; width:100%; height:100%; object-fit:cover; }
.ph-photo::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.12);
  background:linear-gradient(180deg, transparent 55%, rgba(1,8,22,.35));
}
.ph-badge{
  position:absolute;
  z-index:2;
  display:flex;
  align-items:center;
  gap:14px;
  color:#fff;
  border-radius:18px;
  background:rgba(2,20,46,.74);
  border:1px solid rgba(232,240,240,.18);
  -webkit-backdrop-filter:blur(16px) saturate(140%);
          backdrop-filter:blur(16px) saturate(140%);
  box-shadow:0 24px 48px -24px rgba(1,8,22,.7);
}
.ph-badge--since{
  left:-28px;
  bottom:0;
  padding:16px 22px 16px 20px;
  max-width:300px;
}
.ph-badge__year{
  font-size:2.5rem;
  font-weight:600;
  letter-spacing:-.04em;
  line-height:1;
  color:#fff;
}
.ph-badge__label{
  max-width:150px;
  font-size:13px;
  line-height:1.35;
  color:rgba(255,255,255,.88);
}
.ph-badge--live{
  top:24px;
  right:-18px;
  padding:10px 16px 10px 12px;
  font-size:13px;
  font-weight:600;
  border-radius:999px;
}
@media (prefers-reduced-motion:no-preference){
  .ph-badge--since{ animation:ph-float 7s ease-in-out infinite; }
  .ph-badge--live{ animation:ph-float 7s ease-in-out -3.5s infinite; }
}
@keyframes ph-float{
  0%,100%{ transform:translateY(0); }
  50%{ transform:translateY(-8px); }
}
.ph-home .ph-local__copy .ph-h2{ max-width:12em; }
.ph-support{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:22px 28px;
  margin:30px 0 38px !important;
  padding-top:30px !important;
  border-top:1px solid var(--ph-line);
}
.ph-support li{
  display:flex;
  gap:14px;
  font-size:.9375rem;
  line-height:1.55;
  color:var(--ph-body);
}
.ph-support strong{
  display:block;
  margin-bottom:2px;
  font-weight:600;
  color:var(--ph-ink);
}
.ph-support__icon{
  flex:none;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  border-radius:12px;
  font-size:16px;
  color:var(--ph-anchor);
  background:linear-gradient(135deg, rgba(0,88,248,.1), rgba(0,184,248,.14));
  box-shadow:inset 0 0 0 1px rgba(0,88,248,.1);
}

.ph-facts{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  margin-top:112px !important;
  border-top:1px solid var(--ph-line);
}
.ph-fact{
  position:relative;
  padding:36px 28px 0 28px;
  border-left:1px solid var(--ph-line);
}
.ph-fact:first-child{ padding-left:0; border-left:0; }
.ph-fact::before{
  /* short gradient tick on the top rule */
  content:"";
  position:absolute;
  top:-1px;
  left:28px;
  width:40px;
  height:3px;
  border-radius:3px;
  background:var(--pit-grad, linear-gradient(135deg, #0058F8 0%, #00B8F8 100%));
}
.ph-fact:first-child::before{ left:0; }
.ph-fact__num{
  display:block;
  font-size:clamp(3rem, 2rem + 3vw, 4.75rem);
  font-weight:200;
  letter-spacing:-.05em;
  line-height:1;
  color:var(--ph-ink);
  font-variant-numeric:tabular-nums;
}
.ph-fact__label{
  display:block;
  margin-top:14px;
  max-width:15em;
  font-size:.9375rem;
  line-height:1.5;
  color:var(--ph-body);
}

/* ========================================================================
 * FREE RESOURCES
 * ===================================================================== */
.ph-home section.ph-resources{ background-color:var(--ph-mist); }
.ph-res-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:20px;
}
.ph-res-grid > li{ display:flex; min-width:0; }
.ph-res{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  padding:30px 30px 28px;
  background:#fff;
  border:1px solid var(--ph-line);
  border-radius:22px;
  box-shadow:0 1px 2px rgba(2,20,46,.03);
  transition:transform .4s var(--ph-ease), box-shadow .4s var(--ph-ease), border-color .4s;
}
.ph-res:hover{
  transform:translateY(-4px);
  box-shadow:var(--ph-shadow-hover);
  border-color:rgba(0,88,248,.32);
}
.ph-res__icon{
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  margin-bottom:24px;
  border-radius:15px;
  font-size:21px;
  color:var(--ph-anchor);
  background:linear-gradient(135deg, rgba(0,88,248,.1), rgba(0,184,248,.16));
  box-shadow:inset 0 0 0 1px rgba(0,88,248,.1);
  transition:transform .4s var(--ph-ease), background .4s, color .4s, box-shadow .4s;
}
.ph-res:hover .ph-res__icon{
  color:#fff;
  background:var(--pit-grad-chip, linear-gradient(135deg,#0046D8 0%,#0060F8 52%,#0094F8 100%));
  box-shadow:var(--pit-bevel, inset 1px 1px 0 rgba(255,255,255,.34));
  transform:rotate(-6deg) scale(1.05);
}
.ph-home .ph-res__title{
  font-family:"Poppins",sans-serif;
  font-size:1.1875rem;
  font-weight:600;
  letter-spacing:-.018em;
  line-height:1.3;
  color:var(--ph-ink);
  margin:0 0 10px;
}
.ph-home .ph-res__text{
  font-size:.9375rem;
  line-height:1.6;
  color:var(--ph-body);
  margin:0 0 22px;
}
.ph-home a.ph-res__cta{
  margin-top:auto;
  align-self:flex-start;
  font-size:.9375rem;
  font-weight:600;
  color:var(--ph-anchor);
  text-decoration:none;
  background:linear-gradient(currentColor,currentColor) 0 100% / 100% 1.5px no-repeat;
  padding-bottom:2px;
}
.ph-home a.ph-res__cta::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  border-radius:22px;
}
.ph-home a.ph-res__cta:focus-visible{ outline:none; }
.ph-home a.ph-res__cta:focus-visible::after{ outline:3px solid var(--ph-blue); outline-offset:3px; }

/* ========================================================================
 * TECHNOLOGY MARQUEE (structure + animation come from custom.css .vendor-*)
 * ===================================================================== */
.ph-home section.ph-tech{ padding:112px 0 96px; background-color:#fff; }
.ph-marquee{ margin-top:0 !important; padding:22px 0 !important; border-top:1px solid var(--ph-line); border-bottom:1px solid var(--ph-line); }
.ph-marquee .vendor-word{
  font-size:24px;
  font-weight:600;
  letter-spacing:-.025em;
  color:#536173;
  opacity:1;
}
.ph-marquee .vendor-word:hover{ color:var(--ph-anchor); }

/* ========================================================================
 * FAQ (native <details>, so it works without JS)
 * ===================================================================== */
.ph-home section.ph-faq{
  background-color:#fff;
  overflow:hidden;
  overflow:clip;   /* clip (not hidden) keeps the sticky intro working */
  padding-top:96px;
}
.ph-faq__grid{
  display:grid;
  grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:40px 88px;
  align-items:start;
}
.ph-faq__intro{ position:sticky; top:120px; }
.ph-faq__list{ border-top:1px solid var(--ph-line); }
.ph-faq__item{ border-bottom:1px solid var(--ph-line); }
.ph-faq__item summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:24px 4px;
  cursor:pointer;
  list-style:none;
  border-radius:10px;
}
.ph-faq__item summary::-webkit-details-marker{ display:none; }
.ph-faq__item summary::marker{ content:""; }
.ph-home .ph-faq__q{
  font-family:"Poppins",sans-serif;
  font-size:1.125rem;
  font-weight:600;
  letter-spacing:-.012em;
  line-height:1.4;
  color:var(--ph-ink);
  margin:0;
  transition:color .25s;
}
.ph-faq__item summary:hover .ph-faq__q{ color:var(--ph-anchor); }
.ph-faq__icon{
  position:relative;
  flex:none;
  width:34px;
  height:34px;
  border-radius:50%;
  border:1px solid #CBD5E1;
  transition:transform .4s var(--ph-ease), background-color .3s, border-color .3s;
}
.ph-faq__icon::before,
.ph-faq__icon::after{
  content:"";
  position:absolute;
  left:50%;
  top:50%;
  width:12px;
  height:1.5px;
  margin:-.75px 0 0 -6px;
  border-radius:2px;
  background:var(--ph-ink);
  transition:background-color .3s;
}
.ph-faq__icon::after{ transform:rotate(90deg); }
.ph-faq__item[open] .ph-faq__icon{
  transform:rotate(45deg);
  background:var(--ph-navy-900);
  border-color:var(--ph-navy-900);
}
.ph-faq__item[open] .ph-faq__icon::before,
.ph-faq__item[open] .ph-faq__icon::after{ background:var(--ph-cyan-bright); }
.ph-faq__a{ padding:0 64px 28px 4px; }
.ph-home .ph-faq__a p{
  font-size:1rem;
  line-height:1.75;
  color:var(--ph-body);
  margin:0;
}
@media (prefers-reduced-motion:no-preference){
  .ph-faq__item[open] .ph-faq__a{ animation:ph-open .45s var(--ph-ease) both; }
}
@keyframes ph-open{
  from{ opacity:0; transform:translateY(-6px); }
  to{ opacity:1; transform:none; }
}

/* ========================================================================
 * CONTACT (dark band, white form card)
 * ===================================================================== */
.ph-home section.ph-section.ph-contact{
  padding-top:80px;
  color:#fff;
  background:
    radial-gradient(50% 60% at 95% 0%, rgba(0,88,248,.28), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(0,110,248,.16), transparent 70%),
    var(--ph-navy-950);
}
.ph-contact__grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:48px 88px;
  align-items:start;
}
.ph-home .ph-contact .ph-h2{ color:#fff; max-width:11em; }
.ph-home .ph-contact .ph-lead{ color:var(--ph-on-dark); }
.ph-next{
  display:grid;
  gap:18px;
  margin:36px 0 40px !important;
}
.ph-next li{
  display:flex;
  gap:16px;
  font-size:.9375rem;
  line-height:1.55;
  color:var(--ph-on-dark);
}
.ph-next strong{ display:block; color:#fff; font-weight:600; margin-bottom:2px; }
.ph-next__n{
  flex:none;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  border-radius:50%;
  font-size:14px;
  font-weight:600;
  color:var(--ph-cyan-bright);
  border:1px solid rgba(0,216,248,.4);
  background:rgba(0,216,248,.08);
}
.ph-home .ph-contact__email{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px 14px;
  margin:0 0 14px;
  font-size:1.375rem;
  font-weight:600;
  letter-spacing:-.015em;
  color:#fff;
}
.ph-contact__email-label{
  font-size:.875rem;
  font-weight:500;
  letter-spacing:0;
  color:rgba(255,255,255,.6);
}
.ph-home .ph-contact__email a{
  color:#fff !important;
  text-decoration:none !important;
  background:linear-gradient(90deg, var(--ph-ice), var(--ph-cyan-bright)) 0 100% / 100% 2px no-repeat;
  padding-bottom:2px;
}
.ph-home .ph-contact__email a:hover{ color:var(--ph-cyan-bright) !important; }
.ph-home .ph-contact__area{
  font-size:.9375rem;
  line-height:1.6;
  color:rgba(255,255,255,.66);
  margin:0;
  max-width:30em;
}

.ph-contact__card{
  position:relative;
  padding:40px 40px 32px;
  border-radius:26px;
  background:#fff;
  color:var(--ph-ink);
  box-shadow:0 0 0 1px rgba(255,255,255,.08), 0 50px 100px -40px rgba(0,0,0,.7);
}
.ph-contact__card::before{
  /* lit edge along the top of the card (same light as .pit-edge) */
  content:"";
  position:absolute;
  left:40px;
  right:40px;
  top:-1px;
  height:2px;
  border-radius:2px;
  background:linear-gradient(90deg, transparent, rgba(232,240,240,.7) 25%, #0058F8 55%, var(--ph-cyan-bright) 75%, transparent);
  box-shadow:0 0 18px rgba(0,128,248,.6);
}
.ph-contact__card .row{ margin-left:-10px; margin-right:-10px; }
.ph-contact__card .row > [class*="col-"]{ padding-left:10px; padding-right:10px; }
.ph-contact__card .form-group{ margin-bottom:18px; }
.ph-home .ph-contact__card label{
  display:block;
  margin:0 0 8px;
  font-size:14px;
  font-weight:600;
  letter-spacing:0;
  text-transform:none;
  color:var(--ph-ink);
}
.ph-optional{ font-weight:400; color:#5F6E80; }
.ph-home .ph-contact__card .form-control{
  height:52px;
  width:100%;
  margin:0;
  padding:12px 16px;
  font-family:"Poppins",sans-serif;
  font-size:16px;              /* 16px stops iOS zoom on focus */
  font-weight:400;
  line-height:1.4;
  color:var(--ph-ink);
  background-color:#F8FAFC;
  border:1px solid #CBD5E1;
  border-radius:12px;
  box-shadow:none;
  transition:border-color .2s, box-shadow .2s, background-color .2s;
}
.ph-home .ph-contact__card textarea.form-control{ height:auto; min-height:148px; resize:vertical; }
.ph-home .ph-contact__card .form-control::placeholder{ color:#647080; opacity:1; }  /* 4.8:1 on the card */
.ph-home .ph-contact__card .form-control:focus{
  outline:none;
  background-color:#fff;
  border-color:var(--ph-blue);
  box-shadow:0 0 0 4px rgba(0,88,248,.16);
}
.ph-home .ph-contact__card .was-validated .form-control:invalid,
.ph-home .ph-contact__card.was-validated .form-control:invalid,
.ph-home .ph-contact__card form.was-validated .form-control:invalid{ border-color:#C2410C; }
.ph-form-submit{ margin:6px 0 0 !important; }
.ph-home .ph-contact__card .ph-btn--primary{ min-height:56px; font-size:16px; }

/* ========================================================================
 * RESPONSIVE
 * ===================================================================== */
@media (max-width:1199.98px){
  .ph-bento{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .ph-bento__feature{ grid-column:1 / -1; grid-row:auto; }
  .ph-tile--feature{ flex-direction:row; align-items:stretch; }
  .ph-tile--feature .ph-tile__art{ flex:0 0 52%; }
  .ph-tile--feature .ph-tile__body{ justify-content:center; padding:24px 24px 24px 32px; }
  .ph-bento__wide{ grid-column:span 1; }
  .ph-tile--wide{ flex-direction:column; }
  .ph-tile--wide .ph-tile__art{ flex:none; }
  .ph-tile--wide .ph-tile__body{ padding:20px 12px 12px; justify-content:flex-start; }
  .ph-local__grid{ gap:64px; }
  .ph-faq__grid{ gap:40px 56px; }
  .ph-contact__grid{ gap:48px 56px; }
}

@media (max-width:991.98px){
  .ph-home section.ph-section{ padding:96px 0; }
  .ph-head{ grid-template-columns:minmax(0,1fr); margin-bottom:44px; }
  .ph-home .ph-head .ph-h2{ max-width:16em; }

  /* timeline goes vertical: CSS line instead of the SVG */
  .ph-timeline__track{ display:none; }
  .ph-steps{ grid-template-columns:1fr; gap:34px; }
  .ph-steps::before{
    content:"";
    position:absolute;
    left:29px;
    top:30px;
    bottom:30px;
    width:2px;
    border-radius:2px;
    background:linear-gradient(180deg, #0058F8, #00B8F8);
    box-shadow:0 0 10px rgba(0,128,248,.35);
    transform-origin:top;
  }
  html.pit-motion .ph-timeline:not(.is-drawn) .ph-steps::before{ transform:scaleY(0); }
  .ph-timeline.is-drawn .ph-steps::before{ transition:transform 2s cubic-bezier(.5,0,.2,1) .1s; }
  .ph-step{
    display:grid;
    grid-template-columns:60px minmax(0,1fr);
    column-gap:22px;
    padding-right:0;
  }
  .ph-step__node{ grid-row:1 / span 2; margin:0; }
  .ph-home .ph-step__title{ margin-top:14px; }
  .ph-home .ph-step__text{ max-width:none; }

  .ph-local__grid{ grid-template-columns:minmax(0,1fr); gap:72px; }
  .ph-local__media{ max-width:640px; }
  .ph-facts{ grid-template-columns:repeat(2, minmax(0,1fr)); margin-top:88px !important; }
  .ph-fact:nth-child(3){ padding-left:0; border-left:0; }
  .ph-fact:nth-child(3)::before{ left:0; }
  .ph-fact:nth-child(n+3){ padding-top:28px; margin-top:28px; border-top:1px solid var(--ph-line); }
  .ph-res-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
  .ph-faq__grid{ grid-template-columns:minmax(0,1fr); }
  .ph-faq__intro{ position:static; }
  .ph-contact__grid{ grid-template-columns:minmax(0,1fr); }
}

@media (max-width:767.98px){
  .ph-wrap{ padding:0 20px; }
  .ph-home section.ph-section{ padding:72px 0; }
  .ph-home section.ph-hero{ padding:72px 0 104px; align-items:flex-start; }
  .ph-hero__veil{
    background:
      linear-gradient(180deg, rgba(1,8,22,.55) 0%, rgba(1,8,22,.72) 45%, rgba(1,8,22,.94) 100%);
  }
  .ph-home .ph-hero__chip{ font-size:13px; margin-bottom:24px; }
  .ph-home .ph-hero__title{ margin-bottom:24px; }
  .ph-home .ph-hero__sub{ font-size:1rem; margin-bottom:30px; }
  .ph-hero__ctas{ flex-direction:column; align-items:stretch; }
  .ph-hero__ctas .ph-btn{ width:100%; }
  .ph-home .ph-hero__trust{ flex-direction:column; gap:8px; }
  .ph-scroll-cue{ bottom:26px; }

  .ph-home .ph-lead{ font-size:1.0625rem; }
  .ph-home .ph-btn{ max-width:100%; white-space:normal; text-align:center; padding:12px 22px; }
  .ph-bento{ grid-template-columns:1fr; gap:14px; }
  .ph-bento__wide{ grid-column:auto; }
  .ph-tile,
  .ph-tile--wide,
  .ph-tile--feature{ flex-direction:row; align-items:center; padding:8px; border-radius:18px; }
  .ph-tile__art,
  .ph-tile--wide .ph-tile__art,
  .ph-tile--feature .ph-tile__art{ flex:0 0 34%; border-radius:12px; align-self:stretch; aspect-ratio:auto; min-height:96px; }
  .ph-tile__body,
  .ph-tile--wide .ph-tile__body,
  .ph-tile--feature .ph-tile__body{ padding:10px 10px 10px 16px; justify-content:center; }
  .ph-home .ph-tile__title,
  .ph-home .ph-tile--feature .ph-tile__title{ font-size:1.0625rem; margin-bottom:4px; }
  .ph-home .ph-tile__text,
  .ph-home .ph-tile--feature .ph-tile__text{ font-size:.875rem; line-height:1.5; }
  .ph-tile__more{ padding-top:8px; font-size:.875rem; }
  .ph-home .ph-tile__title a::after{ border-radius:18px; }
  /* the feature tile keeps a full-width picture on phones */
  .ph-tile--feature{ flex-direction:column; align-items:stretch; padding:10px; }
  .ph-tile--feature .ph-tile__art{ flex:none; aspect-ratio:4 / 3; min-height:0; }
  .ph-tile--feature .ph-tile__body{ padding:18px 8px 8px; }
  .ph-home .ph-tile--feature .ph-tile__title{ font-size:1.375rem; }
  .ph-home .ph-tile--feature .ph-tile__text{ font-size:.9375rem; }

  .ph-home .ph-also{ margin-top:14px; }
  .ph-home section.ph-how{ padding-bottom:64px; }
  .ph-home .ph-divider--tight + section.ph-local{ padding-top:64px; }

  .ph-local__media{ padding-bottom:56px; }
  .ph-local__media::before{ right:-12px; left:28px; top:28px; }
  .ph-local__media::after{ left:-14px; top:-14px; width:96px; height:96px; }
  .ph-badge--since{ left:12px; bottom:0; padding:12px 16px; max-width:250px; }
  .ph-badge__year{ font-size:2rem; }
  .ph-badge--live{ right:10px; top:14px; }
  .ph-support{ grid-template-columns:1fr; gap:18px; }
  .ph-local__copy .ph-btn{ width:100%; }

  .ph-facts{ margin-top:72px !important; }
  .ph-fact{ padding:26px 12px 0 18px; }
  .ph-fact::before{ left:18px; }
  .ph-fact:nth-child(n+3){ padding-top:24px; margin-top:24px; }
  .ph-fact__label{ font-size:.875rem; }

  .ph-res-grid{ grid-template-columns:1fr; gap:14px; }
  .ph-res{
    display:grid;
    grid-template-columns:44px minmax(0,1fr);
    column-gap:16px;
    align-items:start;
    padding:20px 20px 20px 18px;
  }
  .ph-res__icon{ grid-row:1 / span 3; width:44px; height:44px; margin:0; font-size:18px; border-radius:12px; }
  .ph-home .ph-res__title{ font-size:1.0625rem; margin:10px 0 6px; }
  .ph-home .ph-res__text{ margin-bottom:12px; }
  .ph-home a.ph-res__cta{ grid-column:2; justify-self:start; }

  .ph-home section.ph-tech{ padding:72px 0 64px; }
  .ph-marquee .vendor-word{ font-size:19px; }

  .ph-faq__item summary{ padding:20px 2px; gap:16px; }
  .ph-home .ph-faq__q{ font-size:1.0625rem; }
  .ph-faq__a{ padding:0 8px 24px 2px; }

  .ph-home section.ph-section.ph-contact{ padding-top:56px; }
  .ph-contact__card{ padding:28px 20px 20px; border-radius:22px; }
  .ph-contact__card::before{ left:24px; right:24px; }
  .ph-home .ph-contact__email{ font-size:1.1875rem; }
  .ph-home .ph-contact__card .ph-btn--primary{ font-size:15px; }

  /* Phone reading sizes (the root is 14px, so the rem sizes above land at
     12-15px on a phone): body copy 16px, card and secondary text 14-15px. */
  .ph-home .ph-hero__sub,
  .ph-home .ph-lead,
  .ph-home .ph-p,
  .ph-home .ph-faq__a p{ font-size:16px; }
  .ph-home .ph-p--small,
  .ph-home .ph-contact__area,
  .ph-included li,
  .ph-fact__label{ font-size:14px; }
  .ph-home .ph-tile__text{ font-size:14px; }
  .ph-home .ph-tile--feature .ph-tile__text,
  .ph-home .ph-step__text,
  .ph-home .ph-res__text{ font-size:15px; }
}

@media (max-width:399.98px){
  .ph-tile__art,
  .ph-tile--wide .ph-tile__art{ flex-basis:30%; }
}

/* short landscape screens: no scroll cue */
@media (max-height:640px){ .ph-scroll-cue{ display:none; } }
/* phones in landscape (~320-430px tall): the hero can't fit the screen anyway,
   so trim its padding and let the headline and buttons come up sooner */
@media (max-height:500px) and (min-width:568px){
  .ph-home section.ph-hero{ min-height:0; padding:40px 0 56px; align-items:flex-start; }
  .ph-home .ph-hero__chip{ margin-bottom:16px; }
}

/* ========================================================================
 * REDUCED MOTION: final states, nothing moves
 * ===================================================================== */
@media (prefers-reduced-motion:reduce){
  .ph-live-dot::after,
  .ph-scroll-cue::after,
  .ph-rotator__mark.is-check .ph-shield-tick{ animation:none !important; }
  .ph-rotator__word{ transition:none !important; }
  .ph-timeline__fill{ transition:none !important; transform:none !important; }
  .ph-steps::before{ transition:none !important; transform:none !important; }
  .ph-step__node::after,
  .ph-step__node span{ transition:none !important; }
  .ph-tile, .ph-res, .ph-btn,
  .ph-tile__art img, .ph-res__icon,
  .ph-faq__icon{ transition:none !important; }
  .ph-tile:hover, .ph-res:hover, .ph-btn:hover{ transform:none !important; }
  .ph-tile:hover .ph-tile__art img{ transform:none !important; }
}

/* ---- Conversion review 2026-10-21: asks after the services and the four steps, industries row,
 * the form's on-page status (a live region, so it stays rendered while empty) and privacy note. */
.ph-home .ph-services__industries{ margin:40px auto 0; max-width:62em; text-align:center; }
.ph-home .ph-services__industries{ text-wrap:balance; }
.ph-home .ph-services__industries a{ white-space:nowrap; }
.ph-home .ph-services__next{ margin:12px auto 0; text-align:center; }
.ph-how__cta{ display:flex; flex-wrap:wrap; align-items:center; gap:14px 28px; margin-top:56px; }
.ph-how__cta .ph-p{ margin:0; max-width:36em; }
.ph-form-status{ margin:12px 0 0; font-size:.95rem; line-height:1.5; }
.ph-form-status:empty{ margin:0; }
.ph-form-status.is-ok{ color:var(--pit-pass-ink); }
.ph-form-status.is-err{ color:var(--pit-fail-ink); }
.ph-form-note{ margin:12px 0 0; font-size:.875rem; line-height:1.5; color:#5F6E80; text-align:center; }
@media (max-width:767.98px){
  .ph-how__cta{ margin-top:40px; }
  .ph-how__cta .ph-btn{ width:100%; }
}
