@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
}

:root {
  --pf-dark: #070b14;
  --pf-dark-soft: #0b1220;
  --pf-panel: #0f172a;
  --pf-light: #f7fafc;
  --pf-light-cool: #f4f8fc;
  --pf-white: #ffffff;
  --pf-heading: #0b1220;
  --pf-body: #475569;
  --pf-muted: #64748b;
  --pf-dark-body: #aebbd0;
  --pf-cyan: #06b6d4;
  --pf-sky: #38bdf8;
  --pf-blue: #2563eb;
  --pf-green: #10b981;
  --pf-radius: 8px;
  --pf-font-heading: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
  --pf-font-body: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.pf-portfolio-page,
.pf-project-page {
  overflow: clip;
  background: var(--pf-dark);
  font-family: var(--pf-font-body);
  font-synthesis: none;
}

.pf-portfolio-page h1,
.pf-portfolio-page h2,
.pf-portfolio-page h3,
.pf-project-page h1,
.pf-project-page h2,
.pf-project-page h3 {
  font-family: var(--pf-font-heading);
  font-synthesis: none;
}

.pf-portfolio-page *,
.pf-project-page * {
  box-sizing: border-box;
}

.pf-section {
  position: relative;
  padding-block: clamp(72px, 7vw, 108px);
}

.pf-section-light {
  color: var(--pf-body);
  background-color: var(--pf-light);
  background-image:
    radial-gradient(circle at 50% 0, rgba(6, 182, 212, 0.045), transparent 42%),
    radial-gradient(circle, rgba(6, 182, 212, 0.09) 1px, transparent 1px);
  background-size: auto, 32px 32px;
}

.pf-section-dark {
  color: var(--pf-dark-body);
  background: var(--pf-dark);
}

.pf-section-heading {
  width: min(760px, 100%);
  margin: 0 auto clamp(38px, 4.5vw, 58px);
  text-align: center;
}

.pf-section-heading.is-compact {
  margin-bottom: 26px;
}

.pf-section-heading .pf-kicker,
.pf-kicker {
  margin: 0 0 12px;
  color: var(--pf-cyan);
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
}

.pf-section-heading h2,
.pf-section-heading h3 {
  margin: 0;
  color: var(--pf-heading);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
}

.pf-section-heading h3 {
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
}

.pf-section-heading > p:last-child {
  max-width: 680px;
  margin: 14px auto 0;
  color: var(--pf-body);
  font-size: 1.02rem;
  line-height: 1.65;
}

.pf-section-dark .pf-section-heading h2,
.pf-section-dark .pf-section-heading h3 {
  color: #f8fafc;
}

.pf-section-dark .pf-section-heading > p:last-child {
  color: var(--pf-dark-body);
}

.pf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.pf-actions .asfs-btn {
  min-height: 48px;
  gap: 12px;
}

.pf-actions .asfs-btn span {
  transition: transform 180ms ease;
}

.pf-actions .asfs-btn:hover span {
  transform: translateX(3px);
}

.pf-hero,
.pf-project-hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  background: var(--pf-dark);
}

.pf-hero {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: clamp(110px, 8vw, 125px) 0 clamp(90px, 6vw, 105px);
}

.pf-hero-motion {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.pf-hero-motion svg {
  width: 100%;
  height: 100%;
  fill: none;
}

.pf-hero-bloom {
  position: absolute;
  top: -130px;
  left: 50%;
  width: min(70vw, 900px);
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.17), rgba(37, 99, 235, 0.09) 38%, rgba(139, 92, 246, 0.035) 62%, transparent 73%);
  filter: blur(48px);
  transform: translateX(-50%);
  animation: pf-bloom 8s ease-in-out infinite alternate;
}

.pf-orbit {
  transform-origin: 720px 220px;
  animation: pf-orbit 36s linear infinite;
}

.pf-orbit circle:not(.pf-signal-node) {
  stroke: rgba(56, 189, 248, 0.13);
  stroke-width: 1;
  stroke-dasharray: 5 11;
}

.pf-signal-node {
  fill: var(--pf-cyan);
  animation: pf-node 3.8s ease-in-out infinite alternate;
}

.pf-signal-trace {
  stroke: rgba(6, 182, 212, 0.2);
  stroke-width: 1;
  stroke-dasharray: 6 12;
  animation: pf-trace 18s linear infinite;
}

.pf-signal-trace.is-secondary {
  stroke: rgba(139, 92, 246, 0.15);
  animation-duration: 24s;
}

.pf-hero-inner {
  width: min(900px, 100%);
  text-align: center;
}

.pf-hero-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 13px;
  border: 1px solid rgba(6, 182, 212, 0.38);
  border-radius: 999px;
  color: #4ee0f2;
  background: rgba(6, 182, 212, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pf-hero-badge span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pf-cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.9);
}

.pf-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: #f8fafc;
  font-size: clamp(2.7rem, 5vw, 4.45rem);
  font-weight: 800;
  line-height: 1.08;
}

.pf-hero h1 span {
  color: var(--pf-sky);
}

.pf-hero-lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: #a9b7ca;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.65;
}

.pf-hero-proofs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 24px auto 0;
  padding: 0;
  color: #b6c2d3;
  font-size: 0.9rem;
  list-style: none;
}

.pf-hero-proofs span {
  margin-right: 5px;
  color: #31d0a2;
}

.pf-hero .pf-actions {
  justify-content: center;
  margin-top: 28px;
}

.pf-hero .asfs-btn-secondary,
.pf-project-hero .asfs-btn-secondary {
  border-color: rgba(148, 163, 184, 0.35);
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.72);
}

.pf-showcase-list {
  display: grid;
  gap: clamp(34px, 5vw, 66px);
}

.pf-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding: clamp(22px, 3vw, 36px);
  border: 1px solid rgba(11, 18, 32, 0.1);
  border-radius: var(--pf-radius);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 28px rgba(11, 18, 32, 0.055);
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.pf-showcase:hover {
  border-color: rgba(6, 182, 212, 0.36);
  box-shadow: 0 18px 44px rgba(11, 18, 32, 0.09);
  transform: translateY(-3px);
}

.pf-showcase.is-reversed .pf-browser {
  order: 2;
}

.pf-browser {
  min-width: 0;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(100, 116, 139, 0.35);
  border-radius: var(--pf-radius);
  color: inherit;
  background: #080d1a;
  box-shadow: 0 18px 38px rgba(11, 18, 32, 0.24);
  text-decoration: none;
}

.pf-browser-bar {
  height: 42px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #080d1a;
}

.pf-browser-dots {
  display: flex;
  gap: 6px;
}

.pf-browser-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ef4444;
}

.pf-browser-dots i:nth-child(2) { background: #f59e0b; }
.pf-browser-dots i:nth-child(3) { background: #10b981; }

.pf-browser-url {
  min-width: 0;
  overflow: hidden;
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 5px;
  color: #94a3b8;
  background: #0d1424;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf-browser-status {
  color: #4ade80;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pf-browser-stage {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 10px;
  background: #0b1220;
}

.pf-browser-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform 300ms ease;
}

.pf-browser:hover .pf-browser-stage img {
  transform: scale(1.018);
}

.pf-showcase-copy {
  min-width: 0;
}

.pf-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-bottom: 14px;
  color: var(--pf-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pf-tag {
  padding: 6px 9px;
  border-radius: 5px;
  color: var(--pf-blue);
  background: rgba(37, 99, 235, 0.1);
}

.pf-tag.is-cyan {
  color: #047a91;
  background: rgba(6, 182, 212, 0.11);
}

.pf-showcase h3 {
  margin: 0;
  color: var(--pf-heading);
  font-size: clamp(1.6rem, 2.7vw, 2.35rem);
  line-height: 1.18;
}

.pf-showcase-copy > p {
  margin: 16px 0 0;
  color: var(--pf-body);
  line-height: 1.7;
}

.pf-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pf-pill-list li {
  padding: 7px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  color: #24324a;
  background: #f8fafc;
  font-size: 0.76rem;
  font-weight: 600;
}

.pf-showcase .pf-actions {
  margin-top: 24px;
}

.pf-project-inventory {
  margin-top: clamp(56px, 7vw, 86px);
  padding-top: clamp(42px, 5vw, 60px);
  border-top: 1px solid rgba(11, 18, 32, 0.1);
}

.pf-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pf-project-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 32, 0.1);
  border-radius: var(--pf-radius);
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 18, 32, 0.05);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.pf-project-card:hover {
  border-color: rgba(6, 182, 212, 0.42);
  box-shadow: 0 16px 32px rgba(11, 18, 32, 0.1);
  transform: translateY(-3px);
}

.pf-project-card-image {
  aspect-ratio: 16 / 9;
  display: block;
  overflow: hidden;
  background: #0b1220;
}

.pf-project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 250ms ease;
}

.pf-project-card:hover img { transform: scale(1.025); }
.pf-project-card-copy { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.pf-project-card-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; color: var(--pf-muted); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.pf-project-card-meta .pf-tag { color: #047a91; }
.pf-project-card h3 { margin: 12px 0 10px; font-size: 1.3rem; line-height: 1.25; }
.pf-project-card h3 a { color: var(--pf-heading); text-decoration: none; }
.pf-project-card h3 a:hover, .pf-project-card h3 a:focus-visible { color: var(--pf-blue); }
.pf-project-card p { margin: 0; color: var(--pf-body); font-size: 0.9rem; line-height: 1.6; }
.pf-card-tech { display: flex; flex-wrap: wrap; gap: 6px; margin: 17px 0 0; padding: 0; list-style: none; }
.pf-card-tech li { padding: 5px 8px; border: 1px solid #d5dfeb; border-radius: 999px; color: #41516b; background: #f8fafc; font-size: 0.69rem; font-weight: 700; }
.pf-project-card-actions { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; margin-top: auto; padding-top: 20px; }
.pf-text-link, .pf-card-live-link { display: inline-flex; gap: 7px; align-items: center; color: var(--pf-blue); font-size: 0.86rem; font-weight: 800; text-decoration: none; }
.pf-card-live-link { color: #047a91; }
.pf-text-link span, .pf-card-live-link span { transition: transform 180ms ease; }
.pf-text-link:hover span, .pf-text-link:focus-visible span, .pf-card-live-link:hover span, .pf-card-live-link:focus-visible span { transform: translateX(3px); }
.pf-text-link:focus-visible, .pf-card-live-link:focus-visible, .pf-project-card h3 a:focus-visible { outline: 2px solid var(--pf-cyan); outline-offset: 3px; }

.pf-project-library { border-top: 1px solid rgba(11, 18, 32, 0.08); }
.pf-library-toolbar { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: -12px 0 30px; }
.pf-library-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; }
.pf-library-filters button { min-height: 42px; display: inline-flex; gap: 8px; align-items: center; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 999px; color: #334155; background: rgba(255,255,255,.78); font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease; }
.pf-library-filters button span { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 999px; color: #64748b; background: #eaf0f7; font-size: .68rem; }
.pf-library-filters button:hover, .pf-library-filters button:focus-visible { border-color: rgba(6,182,212,.62); color: #075d71; background: #f0fdff; }
.pf-library-filters button:focus-visible { outline: 2px solid var(--pf-cyan); outline-offset: 2px; }
.pf-library-filters button.is-active { border-color: #2563eb; color: #fff; background: linear-gradient(135deg,#2563eb,#4f46e5); box-shadow: 0 8px 18px rgba(37,99,235,.2); }
.pf-library-filters button.is-active span { color: #dbeafe; background: rgba(255,255,255,.16); }
.pf-library-count { flex: 0 0 auto; margin: 0; color: var(--pf-muted); font-size: .82rem; font-weight: 700; }
.pf-library-count span { color: var(--pf-blue); }
.pf-project-card[hidden] { display: none; }
.pf-library-more { display: flex; justify-content: center; margin-top: 30px; }

.pf-direction-helper { padding: clamp(48px,5vw,72px) 0; color: var(--pf-heading); background: #edf7fc; }
.pf-direction-helper--detail { background: #eef8fd; }
.pf-direction-helper-inner { display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: clamp(18px,3vw,38px); align-items: center; padding: clamp(24px,3vw,38px); border: 1px solid rgba(6,182,212,.22); border-radius: var(--pf-radius); background: linear-gradient(135deg,rgba(255,255,255,.96),rgba(240,250,255,.92)); box-shadow: 0 10px 28px rgba(11,18,32,.06); }
.pf-direction-icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid rgba(6,182,212,.35); border-radius: var(--pf-radius); color: #0789a2; background: rgba(6,182,212,.08); }
.pf-direction-icon svg { width: 29px; height: 29px; }
.pf-direction-helper .pf-kicker { margin-bottom: 7px; }
.pf-direction-helper h2 { margin: 0; color: var(--pf-heading); font-size: clamp(1.45rem,2.3vw,2.15rem); line-height: 1.15; }
.pf-direction-helper p:not(.pf-kicker) { max-width: 680px; margin: 10px 0 0; color: var(--pf-body); line-height: 1.65; }
.pf-direction-helper .asfs-btn { white-space: nowrap; }

.pf-tech-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.pf-tech-grid span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.2), transparent);
  animation: pf-data-rail 24s linear infinite;
}

.pf-tech-grid span:nth-child(1) { top: 18%; }
.pf-tech-grid span:nth-child(2) { top: 52%; animation-direction: reverse; animation-duration: 31s; }
.pf-tech-grid span:nth-child(3) { top: 84%; animation-duration: 27s; }

.pf-section-dark > .asfs-container {
  position: relative;
  z-index: 1;
}

.pf-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pf-capability-card,
.pf-built-grid article {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--pf-radius);
  background: rgba(15, 23, 42, 0.72);
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.pf-capability-card::before,
.pf-built-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  right: 16%;
  left: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.55), transparent);
}

.pf-capability-card:hover,
.pf-built-grid article:hover {
  border-color: rgba(56, 189, 248, 0.35);
  background: rgba(22, 36, 64, 0.88);
  transform: translateY(-3px);
}

.pf-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(6, 182, 212, 0.38);
  border-radius: var(--pf-radius);
  color: #24cee8;
  background: rgba(6, 182, 212, 0.1);
}

.pf-icon svg { width: 25px; height: 25px; }
.pf-capability-card h3,
.pf-built-grid h3 { margin: 0; color: #f8fafc; font-size: 1.08rem; line-height: 1.35; }
.pf-capability-card p { margin: 12px 0 22px; color: var(--pf-dark-body); font-size: 0.9rem; line-height: 1.6; }
.pf-capability-card small { margin-top: auto; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.08); color: #41d7ec; font-size: .66rem; font-weight: 800; text-transform: uppercase; }

.pf-delivery {
  background-color: var(--pf-light-cool);
}

.pf-delivery-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-delivery-grid::before,
.pf-architecture-flow::before {
  content: "";
  position: absolute;
  top: 47px;
  right: 8%;
  left: 8%;
  height: 2px;
  background: linear-gradient(90deg, rgba(6,182,212,.45), rgba(56,189,248,.5), rgba(16,185,129,.5));
}

.pf-delivery-grid li {
  position: relative;
  min-width: 0;
  padding: 24px 20px;
  border: 1px solid rgba(11, 18, 32, 0.1);
  border-radius: var(--pf-radius);
  background: #fff;
  box-shadow: 0 6px 20px rgba(11,18,32,.05);
}

.pf-step-number {
  position: relative;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border: 2px solid var(--pf-sky);
  border-radius: 50%;
  color: var(--pf-heading);
  background: #fff;
  font-weight: 800;
}

.pf-delivery-grid li:nth-child(4) .pf-step-number { border-color: var(--pf-green); }
.pf-delivery-grid li > small { color: #0284c7; font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.pf-delivery-grid h3 { margin: 9px 0 10px; color: var(--pf-heading); font-size: 1.08rem; }
.pf-delivery-grid p { margin: 0; color: var(--pf-body); font-size: .9rem; line-height: 1.6; }

.pf-delivery-pulse,
.pf-architecture-pulse {
  position: absolute;
  top: 42px;
  left: 12.5%;
  z-index: 3;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--pf-cyan);
  box-shadow: 0 0 14px 5px rgba(6, 182, 212, 0.35);
  pointer-events: none;
  animation: pf-route-pulse 7s ease-in-out infinite;
}

.pf-faq {
  padding-top: clamp(58px, 6vw, 84px);
  background-color: #fff;
}

.pf-faq-inner {
  max-width: 1020px;
}

.pf-faq-list {
  display: grid;
  gap: 12px;
}

.pf-faq-list details {
  overflow: hidden;
  border: 1px solid #d8e2ef;
  border-radius: var(--pf-radius);
  background: #f8fafc;
}

.pf-faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: var(--pf-heading);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.pf-faq-list summary::-webkit-details-marker { display: none; }
.pf-faq-list summary span { width: 14px; height: 14px; position: relative; flex: 0 0 14px; }
.pf-faq-list summary span::before,
.pf-faq-list summary span::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; background: var(--pf-blue); }
.pf-faq-list summary span::after { transform: rotate(90deg); transition: transform 180ms ease; }
.pf-faq-list details[open] summary span::after { transform: rotate(0); }
.pf-faq-list details[open] { border-color: rgba(37, 99, 235, .3); background: #fff; }
.pf-faq-list details p { margin: 0; padding: 0 22px 20px; color: var(--pf-body); line-height: 1.7; }

.pf-project-hero {
  min-height: 720px;
  padding: clamp(142px, 12vw, 176px) 0 clamp(70px, 7vw, 98px);
}

.pf-project-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(480px, 1.1fr);
  gap: clamp(38px, 5vw, 70px);
  align-items: center;
}

.pf-project-hero-copy,
.pf-project-hero-visual { min-width: 0; }

.pf-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 24px;
  color: #8391a6;
  font-size: .76rem;
}

.pf-breadcrumbs a { color: #aab8ca; text-decoration: none; }
.pf-project-hero .pf-kicker { color: #35d5eb; }
.pf-project-hero h1 { margin: 0; color: #fff; font-size: clamp(2.45rem, 4.5vw, 4.2rem); line-height: 1.08; }
.pf-project-lead { margin: 18px 0 0; color: #b7c3d4; font-size: 1.03rem; line-height: 1.72; }
.pf-project-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.pf-project-chips li { padding: 7px 10px; border: 1px solid rgba(96,165,250,.28); border-radius: 5px; color: #cbd8e8; background: rgba(37,99,235,.1); font-size: .72rem; font-weight: 700; }
.pf-project-hero .pf-actions { margin-top: 26px; }
.pf-project-hero .pf-browser-stage { aspect-ratio: 16 / 9; }

.pf-project-overview {
  background-color: #fff;
  background-image:
    radial-gradient(circle at 84% 8%, rgba(37, 99, 235, .07), transparent 28%),
    linear-gradient(180deg, #fff, #f7fafc);
}

.pf-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.pf-overview-copy > h2,
.pf-glance h2 {
  margin: 0;
  color: var(--pf-heading);
  font-weight: 700;
  line-height: 1.15;
}

.pf-overview-copy > h2 { font-size: clamp(2rem, 3.4vw, 3rem); }
.pf-glance h2 { font-size: clamp(1.45rem, 2.2vw, 2rem); }
.pf-overview-prose { max-width: 720px; margin-top: 22px; }
.pf-overview-prose p { margin: 0; color: var(--pf-body); font-size: 1.02rem; line-height: 1.78; }
.pf-overview-prose p + p { margin-top: 16px; }

.pf-goal-callout {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid rgba(37, 99, 235, .16);
  border-left: 3px solid var(--pf-blue);
  border-radius: var(--pf-radius);
  background: rgba(238, 245, 255, .82);
}

.pf-goal-callout .pf-icon,
.pf-tech-box > .pf-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(37, 99, 235, .2);
  border-radius: 7px;
  color: var(--pf-blue);
  background: #fff;
}

.pf-goal-callout .pf-icon svg,
.pf-tech-box > .pf-icon svg { width: 24px; height: 24px; }
.pf-goal-callout h3 { margin: 1px 0 7px; color: var(--pf-heading); font-size: 1rem; font-weight: 700; }
.pf-goal-callout p { margin: 0; color: var(--pf-body); font-size: .92rem; line-height: 1.65; }

.pf-glance {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid #d8e3ef;
  border-radius: var(--pf-radius);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 44px rgba(11, 18, 32, .08);
}

.pf-glance::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--pf-blue), var(--pf-cyan), var(--pf-green));
}

.pf-glance header { margin-bottom: 24px; }
.pf-glance-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: #dbe5f0; border: 1px solid #dbe5f0; border-radius: 6px; overflow: hidden; }
.pf-glance-grid > div { min-width: 0; padding: 16px; background: #f8fafc; }
.pf-glance-grid dt { color: #64748b; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.pf-glance-grid dd { margin: 6px 0 0; overflow-wrap: anywhere; color: var(--pf-heading); font-size: .88rem; font-weight: 700; line-height: 1.45; }
.pf-glance-live { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; color: var(--pf-blue); font-size: .88rem; font-weight: 700; text-decoration: none; }
.pf-glance-live span { transition: transform 180ms ease; }
.pf-glance-live:hover span { transform: translate(2px, -2px); }
.pf-glance-live:focus-visible { outline: 2px solid var(--pf-cyan); outline-offset: 4px; }

.pf-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.pf-split-grid.is-single { grid-template-columns: minmax(0, 780px); justify-content: center; }
.pf-context-card { position: relative; padding: clamp(26px, 3vw, 38px); border: 1px solid #dbe4ef; border-radius: var(--pf-radius); background: #fff; box-shadow: 0 8px 24px rgba(11,18,32,.05); }
.pf-context-card::before { content: ""; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: #f59e0b; }
.pf-context-card.is-solution::before { background: var(--pf-green); }
.pf-context-card > span { color: #b45309; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.pf-context-card.is-solution > span { color: #047857; }
.pf-context-card h3 { margin: 12px 0 18px; color: var(--pf-heading); font-size: 1.35rem; }
.pf-context-card p { margin: 0; color: var(--pf-body); line-height: 1.75; }
.pf-context-card p + p { margin-top: 16px; }

.pf-built-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pf-built-grid article { min-height: 150px; }
.pf-built-grid .pf-icon { margin-bottom: 16px; }

.pf-scope {
  margin-top: 28px;
  overflow: hidden;
  border: 1px solid rgba(56, 189, 248, .36);
  border-radius: var(--pf-radius);
  background: rgba(15, 23, 42, .78);
}

.pf-scope summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  border-bottom: 1px solid transparent;
  color: #40c9ff;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.pf-scope summary::-webkit-details-marker { display: none; }
.pf-scope[open] summary { border-bottom-color: rgba(255,255,255,.08); }
.pf-scope summary i { width: 14px; height: 14px; position: relative; flex: 0 0 14px; }
.pf-scope summary i::before,
.pf-scope summary i::after { content: ""; position: absolute; top: 6px; left: 0; width: 14px; height: 2px; background: var(--pf-cyan); }
.pf-scope summary i::after { transform: rotate(90deg); }
.pf-scope[open] summary i::after { transform: rotate(0); }
.pf-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 24px; }
.pf-scope-grid section { min-width: 0; }
.pf-scope-grid h3 { margin: 0 0 14px; color: var(--pf-cyan); font-size: .74rem; text-transform: uppercase; }
.pf-scope-grid ul { margin: 0; padding: 0; list-style: none; }
.pf-scope-grid li { position: relative; padding-left: 14px; color: #9fb0c5; font-size: .82rem; line-height: 1.55; }
.pf-scope-grid li + li { margin-top: 8px; }
.pf-scope-grid li::before { content: ""; position: absolute; top: .65em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--pf-sky); }

.pf-gallery-stage {
  width: 100%;
  min-height: 520px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 18px 18px 58px;
  border: 1px solid rgba(56, 189, 248, .35);
  border-radius: var(--pf-radius);
  background: #07101f;
  cursor: zoom-in;
}

.pf-gallery-image-wrap { width: 100%; height: 100%; min-height: 440px; display: grid; place-items: center; overflow: hidden; }
.pf-gallery-stage img { max-width: 100%; max-height: 540px; width: auto; height: auto; display: block; object-fit: contain; }
.pf-gallery-stage.is-landscape img { width: 100%; max-height: 540px; }
.pf-gallery-stage.is-portrait img { max-width: min(340px, 72vw); }
.pf-gallery-overlay { position: absolute; right: 0; bottom: 0; left: 0; min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 16px; color: #f8fafc; background: rgba(3,7,18,.9); text-align: left; }
.pf-gallery-overlay > span { min-width: 0; display: grid; gap: 2px; }
.pf-gallery-overlay small { color: var(--pf-cyan); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.pf-gallery-overlay strong { overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.pf-gallery-overlay em { flex: 0 0 auto; color: #c5d3e3; font-size: .72rem; font-style: normal; }
.pf-gallery-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pf-gallery-thumbs button { height: 78px; overflow: hidden; padding: 4px; border: 2px solid transparent; border-radius: 6px; background: #dfe7f1; cursor: pointer; }
.pf-gallery-thumbs button.is-active { border-color: var(--pf-cyan); box-shadow: 0 0 0 2px rgba(6,182,212,.14); }
.pf-gallery-thumbs img { width: 100%; height: 100%; display: block; object-fit: cover; }
.pf-gallery-thumbs button[data-orientation="portrait"] img { object-fit: contain; background: #0b1220; }

.pf-architecture-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-architecture-flow::before { top: 50%; right: 8%; left: 8%; background: linear-gradient(90deg, rgba(6,182,212,.5), rgba(56,189,248,.55), rgba(16,185,129,.5)); }
.pf-architecture-flow li { position: relative; z-index: 1; min-width: 0; padding: 20px 16px; border: 1px solid rgba(255,255,255,.09); border-radius: var(--pf-radius); background: rgba(15,23,42,.76); transition: border-color 180ms ease, box-shadow 180ms ease; }
.pf-architecture-flow li small { color: var(--pf-cyan); font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.pf-architecture-flow li h3 { margin: 9px 0 0; color: #f8fafc; font-size: .94rem; line-height: 1.45; }
.pf-architecture-pulse { top: calc(50% - 5px); animation-duration: 6s; }
.pf-architecture.pf-route-active .pf-architecture-flow li:first-child { border-color: rgba(6,182,212,.65); box-shadow: 0 0 20px rgba(6,182,212,.18); }

.pf-tech-services-grid { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 28px; align-items: start; }
.pf-tech-box,
.pf-related-box { min-width: 0; padding: 26px; border: 1px solid #dbe4ef; border-radius: var(--pf-radius); background: #fff; box-shadow: 0 8px 24px rgba(11,18,32,.05); }
.pf-tech-box h3,
.pf-related-box > h3 { margin: 0 0 18px; color: var(--pf-heading); font-size: 1.15rem; }
.pf-tech-box .pf-pill-list { margin-top: 0; }
.pf-tech-box .pf-pill-list .is-integration { border-color: rgba(6,182,212,.3); color: #046d80; background: rgba(6,182,212,.07); }
.pf-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.pf-related-grid > a { min-width: 0; display: flex; flex-direction: column; padding: 18px; border: 1px solid #dbe4ef; border-radius: var(--pf-radius); color: inherit; background: #f8fafc; text-decoration: none; transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease; }
.pf-related-grid > a:hover { border-color: rgba(6,182,212,.45); box-shadow: 0 10px 24px rgba(11,18,32,.07); transform: translateY(-2px); }
.pf-related-grid small { color: var(--pf-blue); font-size: .64rem; font-weight: 800; text-transform: uppercase; }
.pf-related-grid strong { margin-top: 7px; color: var(--pf-heading); font-size: 1rem; }
.pf-related-grid span { margin-top: 8px; color: var(--pf-body); font-size: .8rem; line-height: 1.5; }
.pf-related-grid i { margin-top: 14px; color: var(--pf-blue); font-size: .76rem; font-style: normal; font-weight: 700; }
.pf-related-more { margin: 16px 0 0; color: var(--pf-body); font-size: .84rem; }
.pf-related-more a { color: var(--pf-blue); font-weight: 700; }

.pf-technology-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.pf-technology-grid.is-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.pf-technology-grid .pf-tech-box {
  display: grid;
  align-content: start;
}

.pf-technology-grid .pf-tech-box > .pf-icon { margin-bottom: 18px; }
.pf-technology-grid .pf-tech-box.is-integrations > .pf-icon { color: #047857; border-color: rgba(16, 185, 129, .24); background: rgba(236, 253, 245, .9); }
.pf-technology-grid .pf-tech-box h3 { margin-bottom: 16px; }
.pf-technology-grid .pf-tech-box.is-integrations .pf-pill-list li { color: #047857; border-color: rgba(16, 185, 129, .24); background: rgba(236, 253, 245, .8); }

.pf-results {
  background-color: var(--pf-dark-soft);
  background-image: radial-gradient(circle at 18% 20%, rgba(37, 99, 235, .12), transparent 32%);
}

.pf-results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pf-results-grid li {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: var(--pf-radius);
  background: rgba(15, 23, 42, .74);
}

.pf-results-grid li > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(6, 182, 212, .34);
  border-radius: 6px;
  color: var(--pf-cyan);
  background: rgba(6, 182, 212, .09);
  font-size: .66rem;
  font-weight: 700;
}

.pf-results-grid p { margin: 2px 0 0; color: #c4d0df; font-size: .86rem; line-height: 1.6; }

.pf-related-services { background-color: #fff; }
.pf-service-card-grid { display: grid; grid-template-columns: repeat(var(--pf-service-count), minmax(0, 1fr)); gap: 20px; }
.pf-service-card-grid[style*="--pf-service-count: 1"] { grid-template-columns: minmax(0, 520px); justify-content: center; }
.pf-service-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid #dbe4ef;
  border-radius: var(--pf-radius);
  color: inherit;
  background: #fff;
  box-shadow: 0 8px 24px rgba(11, 18, 32, .05);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.pf-service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: linear-gradient(90deg, var(--pf-blue), var(--pf-cyan)); }
.pf-service-card:hover { transform: translateY(-3px); border-color: rgba(6, 182, 212, .35); box-shadow: 0 16px 36px rgba(11, 18, 32, .09); }
.pf-service-card:focus-visible { outline: 3px solid rgba(6, 182, 212, .4); outline-offset: 4px; }
.pf-service-card > .pf-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 18px; border: 1px solid rgba(37, 99, 235, .18); border-radius: 7px; color: var(--pf-blue); background: #eef5ff; }
.pf-service-card > .pf-icon svg { width: 25px; height: 25px; }
.pf-service-card small { color: #047a91; font-size: .65rem; font-weight: 700; text-transform: uppercase; }
.pf-service-card strong { margin-top: 8px; color: var(--pf-heading); font-family: var(--pf-font-heading); font-size: 1.12rem; font-weight: 700; line-height: 1.35; }
.pf-service-card p { margin: 10px 0 18px; color: var(--pf-body); font-size: .86rem; line-height: 1.58; }
.pf-service-card > i { display: inline-flex; gap: 7px; align-items: center; margin-top: auto; color: var(--pf-blue); font-size: .8rem; font-style: normal; font-weight: 700; }
.pf-service-card > i span { transition: transform 180ms ease; }
.pf-service-card:hover > i span { transform: translateX(3px); }

.pf-related-projects { padding-top: clamp(58px, 6vw, 84px); background-color: var(--pf-light-cool); }
.pf-related-project-grid { grid-template-columns: repeat(var(--pf-related-count), minmax(0, 1fr)); }
.pf-related-project-grid[style*="--pf-related-count: 1"] { grid-template-columns: minmax(0, 460px); justify-content: center; }

body.pf-lightbox-open { overflow: hidden !important; }
body.pf-lightbox-open .site-header,
body.pf-lightbox-open header.site-header,
body.pf-lightbox-open #asfit-chat-widget { visibility: hidden !important; pointer-events: none !important; }

@media (max-width: 520px) {
  body.pf-detail-hero-chat-clear #asfit-chat-widget {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.pf-lightbox[hidden] { display: none !important; }
.pf-lightbox { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; color: #fff; background: rgba(3,7,18,.97); backdrop-filter: blur(14px); }
.pf-lightbox-top,
.pf-lightbox-bottom { flex: 0 0 58px; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 0 22px; background: rgba(7,11,20,.98); }
.pf-lightbox-top { border-bottom: 1px solid rgba(255,255,255,.1); }
.pf-lightbox-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.pf-lightbox-top > div { min-width: 0; display: flex; align-items: center; gap: 12px; }
.pf-lightbox-top > div:last-child { flex: 0 0 auto; }
.pf-lightbox-top [data-lightbox-badge] { padding: 4px 8px; border: 1px solid rgba(6,182,212,.35); border-radius: 4px; color: var(--pf-cyan); background: rgba(6,182,212,.1); font-size: .64rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; }
.pf-lightbox-top h2 { min-width: 0; overflow: hidden; margin: 0; color: #fff; font-size: .85rem; text-overflow: ellipsis; white-space: nowrap; }
.pf-lightbox-top [data-lightbox-counter] { color: #94a3b8; font-size: .78rem; }
.pf-lightbox button { min-height: 40px; border: 1px solid rgba(255,255,255,.17); border-radius: 6px; color: #fff; background: rgba(255,255,255,.08); font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.pf-lightbox-top button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; }
.pf-lightbox-top button b { font-size: 1.15rem; line-height: 1; }
.pf-lightbox-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; display: flex; padding: 22px; }
.pf-lightbox-body > div { max-width: 100%; margin: auto; display: grid; place-items: center; }
.pf-lightbox-body img { max-width: 100%; max-height: calc(100dvh - 160px); width: auto; height: auto; display: block; border-radius: 6px; object-fit: contain; box-shadow: 0 18px 52px rgba(0,0,0,.7); }
.pf-lightbox-body.is-portrait img { max-width: 340px; max-height: none; border: 1px solid rgba(255,255,255,.16); border-radius: 16px; }
.pf-lightbox-bottom button { flex: 0 0 auto; padding: 7px 14px; }
.pf-lightbox-bottom p { min-width: 0; overflow: hidden; margin: 0; color: #aebbd0; font-size: .78rem; text-align: center; text-overflow: ellipsis; white-space: nowrap; }

@keyframes pf-bloom { from { opacity: .72; transform: translateX(-50%) scale(.95); } to { opacity: 1; transform: translateX(-50%) scale(1.04); } }
@keyframes pf-orbit { to { transform: rotate(360deg); } }
@keyframes pf-node { from { opacity: .25; } to { opacity: 1; filter: drop-shadow(0 0 6px rgba(6,182,212,.8)); } }
@keyframes pf-trace { to { stroke-dashoffset: -180; } }
@keyframes pf-data-rail { from { transform: translateX(-12%); opacity: .25; } to { transform: translateX(12%); opacity: .7; } }
@keyframes pf-route-pulse { 0%, 5% { left: 12.5%; opacity: 0; transform: scale(.65); } 10% { opacity: 1; transform: scale(1); } 90% { left: 87.5%; opacity: 1; } 96%, 100% { left: 87.5%; opacity: 0; transform: scale(.65); } }

.pf-motion-paused .pf-motion-section *,
.pf-motion-section:not(.is-in-view) * {
  animation-play-state: paused !important;
}

@media (max-width: 1100px) {
  .pf-showcase,
  .pf-showcase.is-reversed { grid-template-columns: 1fr; }
  .pf-showcase.is-reversed .pf-browser { order: 0; }
  .pf-capability-grid,
  .pf-delivery-grid,
  .pf-architecture-flow { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pf-delivery-grid::before,
  .pf-delivery-pulse,
  .pf-architecture-flow::before,
  .pf-architecture-pulse { display: none; }
  .pf-project-hero-inner { grid-template-columns: 1fr; }
  .pf-project-hero-copy { max-width: 760px; }
  .pf-project-hero-visual { max-width: 860px; }
  .pf-overview-grid { grid-template-columns: 1fr; }
  .pf-glance { width: min(100%, 780px); }
  .pf-scope-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pf-tech-services-grid { grid-template-columns: 1fr; }
  .pf-results-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1199px) and (min-width: 769px) {
  .pf-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 768px) {
  .pf-section { padding-block: 56px; }
  .pf-hero { min-height: 0; padding: 116px 0 72px; }
  .pf-hero-bloom { width: 520px; height: 360px; filter: blur(34px); }
  .pf-hero h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .pf-showcase { padding: 16px; gap: 25px; }
  .pf-browser-bar { grid-template-columns: auto minmax(0,1fr); }
  .pf-browser-status { display: none; }
  .pf-capability-grid,
  .pf-built-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pf-project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pf-library-toolbar { align-items: flex-start; margin-top: -4px; }
  .pf-library-filters { flex-wrap: nowrap; width: calc(100% + 32px); margin-inline: -16px; padding-inline: 16px 28px; overflow-x: auto; scrollbar-width: none; }
  .pf-library-filters::-webkit-scrollbar { display: none; }
  .pf-library-filters button { flex: 0 0 auto; }
  .pf-direction-helper-inner { grid-template-columns: auto minmax(0,1fr); }
  .pf-direction-helper-inner .asfs-btn { grid-column: 1 / -1; justify-self: start; }
  .pf-delivery-grid,
  .pf-architecture-flow { grid-template-columns: 1fr; padding-left: 28px; }
  .pf-delivery-grid::before,
  .pf-architecture-flow::before { display: block; top: 24px; bottom: 24px; left: 10px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg,rgba(6,182,212,.5),rgba(56,189,248,.5),rgba(16,185,129,.5)); }
  .pf-project-hero { min-height: 0; padding: 108px 0 58px; }
  .pf-project-hero h1 { font-size: clamp(2.25rem,10vw,3rem); }
  .pf-project-hero .pf-breadcrumbs { margin-bottom: 18px; }
  .pf-project-hero .pf-project-lead { margin-top: 14px; }
  .pf-project-hero .pf-project-chips { margin-top: 16px; }
  .pf-project-hero .pf-actions { margin-top: 18px; }
  .pf-split-grid { grid-template-columns: 1fr; }
  .pf-scope-grid { grid-template-columns: 1fr; }
  .pf-gallery-stage { min-height: 390px; }
  .pf-gallery-image-wrap { min-height: 320px; }
  .pf-gallery-stage.is-portrait img { max-width: 210px; }
  .pf-gallery-thumbs { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .pf-related-grid { grid-template-columns: 1fr; }
  .pf-technology-grid,
  .pf-service-card-grid,
  .pf-related-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pf-tech-grid { display: none; }
  .pf-orbit,
  .pf-signal-trace { animation: none !important; }
  .pf-lightbox-top,
  .pf-lightbox-bottom { flex-basis: 52px; min-height: 52px; padding: 0 12px; }
  .pf-lightbox-top h2 { max-width: 40vw; }
  .pf-lightbox-bottom p { max-width: 40vw; }
  .pf-lightbox-body.is-portrait img { max-width: 240px; }
}

@media (max-width: 520px) {
  .pf-section-heading { margin-bottom: 32px; text-align: left; }
  .pf-section-heading h2 { font-size: 2rem; }
  .pf-hero-inner { text-align: left; }
  .pf-hero-badge { font-size: .62rem; }
  .pf-hero-proofs { justify-content: flex-start; }
  .pf-hero .pf-actions { justify-content: stretch; }
  .pf-actions { display: grid; grid-template-columns: 1fr; }
  .pf-actions .asfs-btn { width: 100%; }
  .pf-showcase h3 { font-size: 1.55rem; }
  .pf-capability-grid,
  .pf-built-grid,
  .pf-project-grid { grid-template-columns: 1fr; }
  .pf-direction-helper-inner { grid-template-columns: 1fr; gap: 16px; padding: 24px 20px; }
  .pf-direction-helper-inner .asfs-btn { width: 100%; justify-content: center; }
  .pf-direction-icon { width: 48px; height: 48px; }
  .pf-capability-card,
  .pf-built-grid article { padding: 20px; }
  .pf-context-card { padding: 22px 18px; }
  .pf-scope summary { align-items: flex-start; padding: 15px 16px; font-size: .83rem; }
  .pf-scope-grid { padding: 20px 16px; }
  .pf-glance-grid { grid-template-columns: 1fr; }
  .pf-goal-callout { grid-template-columns: 42px minmax(0, 1fr); padding: 18px; }
  .pf-goal-callout .pf-icon { width: 42px; height: 42px; }
  .pf-results-grid,
  .pf-technology-grid,
  .pf-service-card-grid,
  .pf-related-project-grid { grid-template-columns: 1fr; }
  .pf-results-grid li { padding: 16px; }
  .pf-gallery-stage { min-height: 310px; padding: 12px 12px 56px; }
  .pf-gallery-image-wrap { min-height: 240px; }
  .pf-gallery-stage.is-portrait img { max-width: 150px; }
  .pf-gallery-overlay strong { max-width: 230px; }
  .pf-gallery-overlay em { display: none; }
  .pf-gallery-thumbs button { height: 60px; }
  .pf-tech-box,
  .pf-related-box { padding: 20px 16px; }
  .pf-lightbox-top [data-lightbox-badge] { display: none; }
  .pf-lightbox-top h2 { max-width: 52vw; }
  .pf-lightbox-top button span { display: none; }
  .pf-lightbox-bottom button { min-width: 78px; padding-inline: 8px; font-size: .72rem; }
  .pf-lightbox-bottom p { max-width: 32vw; font-size: .7rem; }
  .pf-lightbox-body { padding: 14px; }
  .pf-lightbox-body.is-portrait img { max-width: min(220px, 82vw); }
}

@media (prefers-reduced-motion: reduce) {
  .pf-portfolio-page *,
  .pf-portfolio-page *::before,
  .pf-portfolio-page *::after,
  .pf-project-page *,
  .pf-project-page *::before,
  .pf-project-page *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .pf-hero-motion,
  .pf-tech-grid,
  .pf-delivery-pulse,
  .pf-architecture-pulse { display: none !important; }
}
