/* src/styles/pages/portfolio.css */
/* Peacock work index: an editorial overview of the actual client projects. */
.pf-page {
  --pf-paper: #f5f4ee;
  --pf-ink: #122439;
  --pf-muted: #64727d;
  --pf-line: #ccd4d9;
  --pf-blue: #164ee8;
  --pf-gold: #c9993e;
  background: var(--pf-paper);
  color: var(--pf-ink);
  font-family: Manrope, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.pf-page .wrap {
  width: calc(100% - 80px);
  max-width: 1260px;
}
.pf-page main {
  overflow: clip;
}
.pf-page main [id] {
  scroll-margin-top: 0;
}
.pf-page [hidden] {
  display: none !important;
}
.pf-page img {
  display: block;
  max-width: 100%;
  height: auto;
}
.pf-page figure {
  margin: 0;
}
.pf-page h1,
.pf-page h2,
.pf-page h3,
.pf-page h4 {
  font-family: Manrope, Arial, sans-serif;
  letter-spacing: -0.045em;
}
.pf-page em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: italic;
}
.pf-page a:focus-visible,
.pf-page button:focus-visible {
  outline: 3px solid var(--pf-blue);
  outline-offset: 5px;
}
.pf-page button {
  font-family: inherit;
}
.pf-page .topline {
  display: none;
}
.pf-page .site-header {
  top: 14px;
  margin: 14px auto 0;
  width: min(1336px, calc(100% - 40px));
  background: #122439ed;
  color: #fff;
  border: 1px solid #ffffff26;
  border-radius: 80px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 7px 25px #12243912;
  z-index: 50;
}
.pf-page .header-inner {
  width: calc(100% - 40px);
  min-height: 76px;
  gap: 22px;
}
.pf-page .site-header .brand-logo {
  width: 95px;
  max-height: 60px;
}
.pf-page .site-nav {
  gap: 20px;
}
.pf-page .nav-link {
  font-size: 11px;
}
.pf-page .header-cta {
  border-radius: 60px;
  padding: 12px 19px;
}
.pf-page .menu-toggle {
  border-radius: 40px;
}

/* An opening with the work, rather than a second slogan, as the main event. */
.pf-page .pf-eyebrow {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.12em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--pf-muted);
  margin: 0 0 28px;
}
.pf-page .pf-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 53px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 60px;
  background: var(--pf-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  gap: 30px;
  transition:
    background 0.25s,
    transform 0.3s;
}
.pf-page .pf-button:hover {
  background: var(--pf-blue);
  transform: translateY(-2px);
}
.pf-page .pf-button > span {
  font-size: 20px;
  line-height: 1;
}
.pf-page .pf-text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  min-height: 44px;
  padding: 7px 0;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.6;
}
.pf-page .pf-text-link > span {
  font-size: 18px;
}

/* The filter bar stays one compact rail, with a small live result summary. */
.pf-page .pf-filter-bar {
  position: sticky;
  top: calc(var(--pf-header-height, 76px) + 27px);
  z-index: 35;
  background: transparent;
  padding: 8px 0 18px;
}
.pf-page .pf-filter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1292px, calc(100% - 48px));
  padding: 9px 14px;
  border: 1px solid #c8d3db;
  border-radius: 60px;
  background: #f5f4eef0;
  box-shadow: 0 7px 22px #12243909;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.pf-page .pf-filter-options {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  gap: 4px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  border-radius: 50px;
}
.pf-page .pf-filter-options::-webkit-scrollbar {
  display: none;
}
.pf-page .pf-filter-options button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 7px;
  min-height: 44px;
  white-space: nowrap;
  padding: 11px 15px;
  border: 0;
  border-radius: 50px;
  background: transparent;
  color: var(--pf-ink);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.5;
  cursor: pointer;
  transition:
    color 0.2s,
    background 0.2s;
}
.pf-page .pf-filter-options button:hover {
  background: #e4ebf1;
  color: var(--pf-blue);
}
.pf-page .pf-filter-options button[aria-pressed="true"] {
  background: var(--pf-blue);
  color: #fff;
}
.pf-page .pf-filter-options [data-pf-filter-count],
.pf-page .pf-filter-options [data-pf-count],
.pf-page .pf-filter-options .pf-filter-count,
.pf-page .pf-filter-options button small {
  font-size: 9px;
  font-weight: 550;
  opacity: 0.7;
  line-height: 1.5;
}
.pf-page .pf-filter-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  flex: 0 0 auto;
  max-width: 245px;
  padding-right: 10px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--pf-muted);
  text-align: right;
}
.pf-page #pf-results-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--pf-ink);
  white-space: nowrap;
}
.pf-page #pf-filter-description {
  font-size: 9px;
  line-height: 1.6;
  max-width: 245px;
}

/* Asymmetric rows give the client work room to change rhythm. */
.pf-page .pf-work {
  padding: 25px 0 105px;
}
.pf-page .pf-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 60px;
  align-items: start;
  padding-top: 12px;
}
.pf-page .pf-card {
  position: relative;
  min-width: 0;
  grid-column: span 6;
  isolation: isolate;
}
.pf-page .pf-card--wide {
  grid-column: span 7;
}
.pf-page .pf-card--narrow {
  grid-column: span 5;
}
.pf-page .pf-grid[data-pf-view]:not([data-pf-view="all"]) .pf-card {
  grid-column: span 6;
}
.pf-page .pf-card-body {
  position: static;
  padding: 22px 2px 0;
}
.pf-page .pf-card-body h2,
.pf-page .pf-card-body h3 {
  font-size: 30px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.045em;
  margin: 0 0 12px;
}
.pf-page .pf-card-title {
  position: static;
}
.pf-page .pf-card-link {
  position: static;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  color: var(--pf-card-ink, var(--pf-ink));
  text-decoration: none;
}
.pf-page .pf-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 24px;
  cursor: pointer;
}
.pf-page .pf-card-link:focus-visible {
  outline: none;
}
.pf-page .pf-card-link:focus-visible::after {
  outline: 3px solid var(--pf-blue);
  outline-offset: 6px;
}
.pf-page .pf-card-link .pf-title,
.pf-page .pf-card-link .pf-project-title,
.pf-page .pf-card-link > span:first-child {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0 1px;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: background-size 0.4s;
}
.pf-page .pf-card:hover .pf-card-link .pf-title,
.pf-page .pf-card:hover .pf-card-link .pf-project-title,
.pf-page .pf-card:hover .pf-card-link > span:first-child,
.pf-page .pf-card-link:focus-visible > span:first-child {
  background-size: 100% 1px;
}
.pf-page .pf-open-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  border: 1px solid var(--pf-accent, #becbd3);
  border-radius: 50%;
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
  color: var(--pf-card-ink, var(--pf-ink));
  transition:
    transform 0.65s cubic-bezier(0.2, 0.8, 0.25, 1.25),
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.pf-page .pf-card:hover .pf-open-arrow {
  transform: translate(2px, -3px) rotate(-6deg);
  background: var(--pf-card-ink, var(--pf-ink));
  border-color: var(--pf-card-ink, var(--pf-ink));
  color: #fff;
}
.pf-page .pf-card-body > p {
  font-size: 13px;
  line-height: 1.85;
  color: var(--pf-muted);
  max-width: 600px;
  margin: 0;
}
.pf-page .pf-services {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.pf-page .pf-services li {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 5px 10px;
  border: 1px solid #cbd5dc;
  border-radius: 40px;
  font-size: 9px;
  font-weight: 550;
  line-height: 1.5;
  color: #526a7b;
  background: transparent;
}
.pf-page .pf-media-wrap {
  position: relative;
  min-width: 0;
}
.pf-page .pf-stage {
  position: relative;
  aspect-ratio: 1.25;
  min-width: 0;
  overflow: hidden;
  background: var(--pf-card-bg, #e3ebf4);
  border: 1px solid #12243909;
  border-radius: 24px;
}
.pf-page .pf-card--wide .pf-stage {
  aspect-ratio: 1.35;
}
.pf-page .pf-card--narrow .pf-stage {
  aspect-ratio: 1.1;
}
.pf-page .pf-grid[data-pf-view]:not([data-pf-view="all"]) .pf-stage {
  aspect-ratio: 1.25;
}
.pf-page .pf-stage::before {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: var(--pf-accent, #164ee8);
  filter: blur(65px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}
.pf-page .pf-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.pf-page .pf-slide.is-active {
  opacity: 1;
  z-index: 1;
  transition: none;
}
.pf-page .pf-image {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.25, 1.15);
}
.pf-page .pf-slide[data-kind="screen"] .pf-image {
  width: 90%;
  height: 82%;
  left: 5%;
  right: auto;
  top: 12%;
  bottom: auto;
  border: 7px solid #fff;
  border-top-width: 24px;
  border-radius: 12px;
  background: white;
  object-fit: cover;
  object-position: 50% 0 !important;
  box-shadow: 0 17px 38px #12243924;
  transform: none;
  transform-origin: 50% 50%;
}
.pf-page .pf-slide[data-kind="portrait"] .pf-image {
  width: 82%;
  height: 88%;
  left: 9%;
  right: auto;
  top: 6%;
  bottom: auto;
  object-fit: contain;
  border-radius: 13px;
  filter: drop-shadow(0 15px 22px #12243920);
}
.pf-page .pf-slide[data-kind="graphic"] .pf-image {
  width: 80%;
  height: 74%;
  left: 10%;
  right: auto;
  top: 13%;
  bottom: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px #1224390d);
}
.pf-page .pf-card:hover .pf-slide[data-kind="photo"] .pf-image {
  transform: scale(1.035);
}
.pf-page .pf-card:hover .pf-slide[data-kind="screen"] .pf-image {
  transform: none;
}
.pf-page .pf-card:hover .pf-slide[data-kind="portrait"] .pf-image,
.pf-page .pf-card:hover .pf-slide[data-kind="graphic"] .pf-image {
  transform: translateY(-5px) scale(1.012);
}
.pf-page .pf-work-badge {
  position: absolute;
  left: 17px;
  top: 17px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: calc(100% - 83px);
  padding: 7px 12px;
  border: 1px solid #ffffff61;
  border-radius: 40px;
  background: #fffefaeb;
  color: #122439;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.5;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.pf-page .pf-project-index {
  position: absolute;
  right: 17px;
  top: 17px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  border: 1px solid #ffffff61;
  border-radius: 50%;
  background: #fffefaeb;
  color: #122439;
  font-size: 9px;
  font-weight: 650;
  line-height: 1;
  pointer-events: none;
}
.pf-page .pf-preview-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  gap: 6px;
  align-items: center;
}
.pf-page .pf-preview-controls button {
  position: relative;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #fff9;
  border-radius: 50%;
  background: #fffefaed;
  color: #122439;
  font-size: 19px;
  font-weight: 450;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 13px #12243912;
  backdrop-filter: blur(10px);
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}
.pf-page .pf-preview-controls button:hover {
  background: #122439;
  border-color: #122439;
  color: #fff;
}
.pf-page .pf-media-caption {
  position: absolute;
  left: 17px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 137px);
  padding: 7px 11px;
  border: 1px solid #ffffff61;
  border-radius: 30px;
  background: #fffefaed;
  color: #122439;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.6;
  backdrop-filter: blur(10px);
  pointer-events: none;
}
.pf-page .pf-slide-number {
  flex-shrink: 0;
  font-size: 8px;
  font-weight: 550;
  line-height: 1.5;
  opacity: 0.65;
  white-space: nowrap;
}
.pf-page .pf-progress {
  position: absolute;
  left: 19px;
  right: 19px;
  bottom: 7px;
  z-index: 3;
  display: flex;
  gap: 5px;
  pointer-events: none;
}
.pf-page .pf-progress > span,
.pf-page .pf-progress > i {
  display: block;
  flex: 1;
  height: 2px;
  background: #fff6;
  border-radius: 3px;
  transition: background 0.4s;
}
.pf-page
  .pf-stage:has(.pf-slide:nth-child(1).is-active)
  > .pf-progress
  > :nth-child(1),
.pf-page
  .pf-stage:has(.pf-slide:nth-child(2).is-active)
  > .pf-progress
  > :nth-child(2),
.pf-page
  .pf-stage:has(.pf-slide:nth-child(3).is-active)
  > .pf-progress
  > :nth-child(3) {
  background: #fff;
}

/* The final invitation is deliberately a different kind of card. */
.pf-page .pf-invitation {
  grid-column: span 7;
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 460px;
  padding: 42px;
  background: #e7ebfc;
  border: 1px solid #cbd4f4;
  border-radius: 24px;
  color: var(--pf-ink);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pf-page .pf-invitation::after {
  content: "↗";
  position: absolute;
  right: -14px;
  bottom: -45px;
  z-index: -1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 250px;
  line-height: 1;
  color: #164ee80b;
  transform: rotate(-9deg);
  pointer-events: none;
}
.pf-page .pf-invitation .pf-eyebrow {
  color: #576ca2;
  margin: 0;
}
.pf-page .pf-invitation h2,
.pf-page .pf-invitation h3 {
  font-size: clamp(35px, 3.5vw, 49px);
  line-height: 1.06;
  font-weight: 550;
  letter-spacing: -0.05em;
  max-width: 470px;
  margin: 0;
}
.pf-page .pf-invitation h2 em,
.pf-page .pf-invitation h3 em {
  color: var(--pf-blue);
}
.pf-page .pf-invitation p {
  font-size: 13px;
  line-height: 1.85;
  color: #5c6a86;
  max-width: 430px;
  margin: 0;
}
.pf-page .pf-invitation .pf-button {
  align-self: flex-start;
  background: var(--pf-blue);
  font-size: 12px;
}
.pf-page .pf-invitation .pf-button:hover {
  background: #123db5;
}
.pf-page .pf-grid[data-pf-view]:not([data-pf-view="all"]) .pf-invitation {
  display: none;
}
.pf-page .pf-empty {
  padding: 70px 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--pf-muted);
}
.pf-page .pf-footnote {
  font-size: 11px;
  line-height: 1.8;
  color: var(--pf-muted);
  padding-top: 26px;
  margin: 35px 0 0;
  border-top: 1px solid var(--pf-line);
}

/* A separate closing invitation, followed by the retained company footer. */
.pf-page .pf-closing {
  padding: 90px 0 85px;
  border-top: 1px solid var(--pf-line);
  background: #ebece6;
}
.pf-page .pf-closing-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8%;
}
.pf-page .pf-closing h2 {
  max-width: 850px;
  font-size: clamp(39px, 5vw, 67px);
  line-height: 1.04;
  font-weight: 550;
  letter-spacing: -0.055em;
  margin: 0;
}
.pf-page .pf-closing h2 em {
  color: var(--pf-blue);
}
.pf-page .pf-closing p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--pf-muted);
  max-width: 680px;
  margin: 25px 0 0;
}
.pf-page .pf-closing-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.pf-page .pf-closing .pf-button {
  background: #122439;
}
.pf-page .pf-closing .pf-button:hover {
  background: var(--pf-blue);
}
.pf-page .site-footer {
  background: #122439;
  color: #eef6fa;
  margin-top: 0;
}
.pf-page .footer-brand .brand-logo {
  width: 165px;
  max-height: none;
}
.pf-page .footer-top p,
.pf-page .footer-top a,
.pf-page .footer-bottom {
  color: #d1dde5;
}
.pf-page .footer-top h3 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.3;
  color: #fff;
}
.pf-page .footer-bottom {
  border-color: #ffffff24;
}

@media (max-width: 1100px) {
  .pf-page .wrap {
    width: calc(100% - 64px);
  }
  .pf-page .pf-filter-inner {
    gap: 17px;
  }
  .pf-page .pf-filter-options button {
    padding: 11px 13px;
    font-size: 9px;
  }
  .pf-page .pf-filter-meta {
    max-width: 170px;
  }
  .pf-page #pf-filter-description {
    font-size: 8px;
    max-width: 170px;
  }
  .pf-page .pf-grid {
    column-gap: 26px;
    row-gap: 50px;
  }
  .pf-page .pf-card-body h2,
  .pf-page .pf-card-body h3 {
    font-size: 28px;
  }
  .pf-page .pf-card-body > p {
    font-size: 12px;
  }
  .pf-page .pf-invitation {
    padding: 34px;
    min-height: 420px;
  }
  .pf-page .pf-invitation h2,
  .pf-page .pf-invitation h3 {
    font-size: 43px;
  }
}
@media (max-width: 1000px) {
  .pf-page .pf-card--wide,
  .pf-page .pf-card--narrow,
  .pf-page .pf-invitation {
    grid-column: span 6;
  }
  .pf-page .pf-card--wide .pf-stage,
  .pf-page .pf-card--narrow .pf-stage,
  .pf-page .pf-grid[data-pf-view]:not([data-pf-view="all"]) .pf-stage {
    aspect-ratio: 1.2;
  }
  .pf-page .pf-filter-inner {
    width: calc(100% - 40px);
  }
  .pf-page .pf-filter-meta {
    max-width: 130px;
    padding-right: 6px;
  }
  .pf-page #pf-filter-description {
    max-width: 130px;
    font-size: 8px;
  }
  .pf-page .pf-card-body {
    padding-top: 20px;
  }
  .pf-page .pf-card-body h2,
  .pf-page .pf-card-body h3 {
    font-size: 27px;
  }
  .pf-page .pf-services {
    gap: 6px;
    margin-top: 16px;
  }
  .pf-page .pf-services li {
    font-size: 8px;
    padding: 5px 9px;
  }
  .pf-page .pf-media-caption {
    font-size: 8px;
    left: 14px;
    bottom: 17px;
    max-width: calc(100% - 125px);
    padding: 7px 9px;
    gap: 7px;
  }
  .pf-page .pf-slide-number {
    font-size: 7px;
  }
  .pf-page .pf-preview-controls {
    right: 13px;
    bottom: 14px;
    gap: 5px;
  }
  .pf-page .pf-work-badge {
    left: 14px;
    top: 14px;
    font-size: 8px;
  }
  .pf-page .pf-project-index {
    right: 14px;
    top: 14px;
  }
  .pf-page .pf-invitation {
    min-height: 390px;
    gap: 27px;
    padding: 31px;
  }
  .pf-page .pf-invitation h2,
  .pf-page .pf-invitation h3 {
    font-size: 38px;
  }
  .pf-page .pf-invitation p {
    font-size: 12px;
  }
}
@media (max-width: 980px) {
  .pf-page .header-inner {
    position: relative;
    min-height: 68px;
  }
  .pf-page .site-nav.is-open {
    top: calc(100% + 12px);
    left: -10px;
    right: -10px;
    border-radius: 20px;
    background: #122439;
    border: 1px solid #ffffff26;
  }
  .pf-page .site-nav .nav-link {
    font-size: 14px;
  }
  .pf-page .pf-work {
    padding-top: 18px;
    padding-bottom: 85px;
  }
  .pf-page .pf-stage {
    border-radius: 20px;
  }
  .pf-page .pf-slide[data-kind="screen"] .pf-image {
    border-width: 6px;
    border-top-width: 20px;
    border-radius: 10px;
  }
  .pf-page .pf-card-body h2,
  .pf-page .pf-card-body h3 {
    font-size: 25px;
  }
  .pf-page .pf-open-arrow {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
    font-size: 19px;
  }
  .pf-page .pf-closing {
    padding: 75px 0;
  }
  .pf-page .pf-closing-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .pf-page .pf-closing-actions {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px 27px;
  }
}
@media (max-width: 700px) {
  .pf-page .wrap {
    width: calc(100% - 40px);
  }
  .pf-page .site-header {
    top: 9px;
    margin-top: 9px;
    width: calc(100% - 22px);
  }
  .pf-page .header-inner {
    width: calc(100% - 28px);
    min-height: 64px;
    gap: 14px;
  }
  .pf-page .site-header .brand-logo {
    width: 85px;
    max-height: 50px;
  }
  .pf-page .header-cta {
    display: none;
  }
  .pf-page .site-nav.is-open {
    left: -3px;
    right: -3px;
  }
  .pf-page .pf-eyebrow {
    font-size: 9px;
    margin-bottom: 24px;
  }
  .pf-page .pf-button {
    font-size: 11px;
    min-height: 50px;
    padding: 12px 19px;
    gap: 26px;
  }
  .pf-page .pf-text-link {
    font-size: 11px;
  }
  .pf-page .pf-filter-bar {
    top: calc(var(--pf-header-height, 64px) + 19px);
    padding: 7px 0 12px;
  }
  .pf-page .pf-filter-inner {
    width: calc(100% - 22px);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 5px 6px 10px;
    border-radius: 24px;
  }
  .pf-page .pf-filter-options {
    flex: none;
    width: 100%;
    gap: 3px;
    border-radius: 40px;
  }
  .pf-page .pf-filter-options button {
    min-height: 44px;
    font-size: 10px;
    padding: 11px 15px;
    gap: 7px;
  }
  .pf-page .pf-filter-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    max-width: none;
    padding: 0 10px;
    text-align: left;
    min-height: 17px;
  }
  .pf-page #pf-results-count {
    font-size: 9px;
  }
  .pf-page #pf-filter-description {
    font-size: 8px;
    max-width: 220px;
    text-align: right;
    line-height: 1.5;
  }
  .pf-page .pf-work {
    padding: 17px 0 68px;
  }
  .pf-page .pf-grid {
    grid-template-columns: minmax(0, 1fr);
    column-gap: 0;
    row-gap: 41px;
    padding-top: 5px;
  }
  .pf-page .pf-card,
  .pf-page .pf-card--wide,
  .pf-page .pf-card--narrow,
  .pf-page .pf-grid[data-pf-view]:not([data-pf-view="all"]) .pf-card,
  .pf-page .pf-invitation {
    grid-column: auto;
  }
  .pf-page .pf-card--wide .pf-stage,
  .pf-page .pf-card--narrow .pf-stage,
  .pf-page .pf-grid[data-pf-view]:not([data-pf-view="all"]) .pf-stage {
    aspect-ratio: 1.12;
  }
  .pf-page .pf-stage {
    border-radius: 20px;
  }
  .pf-page .pf-work-badge {
    left: 15px;
    top: 15px;
    font-size: 9px;
    padding: 7px 11px;
    max-width: calc(100% - 78px);
  }
  .pf-page .pf-project-index {
    right: 15px;
    top: 15px;
    font-size: 9px;
  }
  .pf-page .pf-slide[data-kind="screen"] .pf-image {
    width: 89%;
    height: 81%;
    left: 5.5%;
    top: 12%;
    border-width: 6px;
    border-top-width: 21px;
    border-radius: 10px;
  }
  .pf-page .pf-slide[data-kind="portrait"] .pf-image {
    height: 88%;
    width: 84%;
    left: 8%;
    top: 6%;
  }
  .pf-page .pf-preview-controls {
    right: 14px;
    bottom: 14px;
    gap: 6px;
  }
  .pf-page .pf-preview-controls button {
    width: 44px;
    height: 44px;
    min-height: 44px;
    font-size: 19px;
  }
  .pf-page .pf-media-caption {
    left: 15px;
    bottom: 18px;
    font-size: 9px;
    max-width: calc(100% - 131px);
    padding: 7px 10px;
    gap: 7px;
  }
  .pf-page .pf-slide-number {
    font-size: 8px;
  }
  .pf-page .pf-progress {
    left: 17px;
    right: 17px;
    bottom: 7px;
  }
  .pf-page .pf-card-body {
    padding: 20px 1px 0;
  }
  .pf-page .pf-card-body h2,
  .pf-page .pf-card-body h3 {
    font-size: 29px;
    line-height: 1.15;
    margin-bottom: 12px;
  }
  .pf-page .pf-card-link {
    gap: 18px;
  }
  .pf-page .pf-open-arrow {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 20px;
  }
  .pf-page .pf-card-body > p {
    font-size: 13px;
    line-height: 1.85;
    max-width: 540px;
  }
  .pf-page .pf-services {
    gap: 6px;
    margin-top: 17px;
  }
  .pf-page .pf-services li {
    font-size: 9px;
    min-height: 29px;
    padding: 5px 10px;
  }
  .pf-page .pf-invitation {
    min-height: 390px;
    padding: 32px 28px;
    border-radius: 20px;
    gap: 28px;
    margin-top: 2px;
  }
  .pf-page .pf-invitation h2,
  .pf-page .pf-invitation h3 {
    font-size: clamp(36px, 9vw, 45px);
  }
  .pf-page .pf-invitation p {
    font-size: 13px;
  }
  .pf-page .pf-invitation .pf-button {
    font-size: 11px;
  }
  .pf-page .pf-footnote {
    font-size: 10px;
    line-height: 1.85;
    margin-top: 30px;
    padding-top: 24px;
  }
  .pf-page .pf-closing {
    padding: 66px 0;
  }
  .pf-page .pf-closing h2 {
    font-size: clamp(38px, 10vw, 51px);
    line-height: 1.04;
  }
  .pf-page .pf-closing p {
    font-size: 14px;
    line-height: 1.85;
    margin-top: 24px;
  }
  .pf-page .pf-closing-grid {
    gap: 28px;
  }
  .pf-page .pf-closing-actions {
    gap: 18px 24px;
  }
}
@media (max-width: 380px) {
  .pf-page .wrap {
    width: calc(100% - 32px);
  }
  .pf-page #pf-filter-description {
    max-width: 175px;
    font-size: 7px;
  }
  .pf-page .pf-work-badge {
    font-size: 8px;
  }
  .pf-page .pf-media-caption {
    font-size: 8px;
    gap: 6px;
    padding: 6px 9px;
    max-width: calc(100% - 125px);
  }
  .pf-page .pf-slide-number {
    font-size: 7px;
  }
  .pf-page .pf-preview-controls {
    right: 12px;
    gap: 5px;
  }
  .pf-page .pf-card-body h2,
  .pf-page .pf-card-body h3 {
    font-size: 27px;
  }
  .pf-page .pf-invitation {
    padding: 29px 24px;
  }
  .pf-page .pf-invitation h2,
  .pf-page .pf-invitation h3 {
    font-size: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-page .pf-slide,
  .pf-page .pf-image,
  .pf-page .pf-open-arrow,
  .pf-page .pf-progress > span,
  .pf-page .pf-progress > i,
  .pf-page .pf-button,
  .pf-page .pf-card-link > span,
  .pf-page .pf-preview-controls button {
    transition: none !important;
    animation: none !important;
  }
  .pf-page .pf-card:hover .pf-slide[data-kind="photo"] .pf-image,
  .pf-page .pf-card:hover .pf-slide[data-kind="portrait"] .pf-image,
  .pf-page .pf-card:hover .pf-slide[data-kind="graphic"] .pf-image,
  .pf-page .pf-card:hover .pf-open-arrow,
  .pf-page .pf-button:hover {
    transform: none;
  }
  .pf-page .pf-slide[data-kind="screen"] .pf-image,
  .pf-page .pf-card:hover .pf-slide[data-kind="screen"] .pf-image {
    transform: none;
  }
}

/* Main browsing controls stay readable beside the compact site menu. */
.pf-page .pf-filter-options button {
  font-size: 12px;
  min-height: 48px;
  padding: 12px 17px;
}
.pf-page .pf-filter-options [data-pf-filter-count] {
  font-size: 10px;
}
.pf-page #pf-filter-description {
  font-size: 10px;
  line-height: 1.6;
}
.pf-page .pf-work-badge {
  font-size: 10px;
}
.pf-page .pf-services li {
  font-size: 10px;
}
.pf-page .pf-media-caption {
  font-size: 10px;
}
@media (max-width: 700px) {
  .pf-page .pf-filter-options button {
    font-size: 11px;
    min-height: 44px;
    padding: 11px 14px;
  }
  .pf-page .pf-work-badge {
    font-size: 9px;
  }
  .pf-page .pf-services li {
    font-size: 10px;
  }
  .pf-page .pf-media-caption {
    font-size: 9px;
  }
}

/* Service-specific entries retain the same client-card language. */
.pf-page .pf-card-body > .pf-service-name {
  font-size: 10px;
  font-weight: 750;
  line-height: 1.7;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--pf-card-ink, var(--pf-ink));
  margin: 0 0 10px;
  max-width: none;
}
.pf-page .pf-media-wrap:not(:has(.pf-slide:nth-child(2))) .pf-preview-controls,
.pf-page .pf-media-wrap:not(:has(.pf-slide:nth-child(2))) .pf-progress {
  display: none;
}
.pf-page .pf-media-wrap:not(:has(.pf-slide:nth-child(2))) .pf-media-caption {
  max-width: calc(100% - 34px);
}
.pf-page .pf-preview-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 65px 9% 24px;
  color: #fff;
}
.pf-page .pf-preview-placeholder > span {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #d4b46b;
}
.pf-page .pf-preview-placeholder > p {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 550;
  margin: 12px 0;
}
.pf-page .pf-preview-placeholder em {
  color: #d4b46b;
}
.pf-page .pf-preview-placeholder > div {
  border-top: 1px solid #ffffff30;
  padding-top: 18px;
}
.pf-page .pf-preview-placeholder strong,
.pf-page .pf-preview-placeholder small {
  display: block;
  font-size: 11px;
  line-height: 1.8;
  font-weight: 500;
}
.pf-page .pf-preview-placeholder small {
  color: #c2c4d4;
}
.pf-page .pf-filter-options {
  max-width: 100%;
  flex-wrap: nowrap;
  scroll-padding-inline: 5px;
}
.pf-page .pf-logo-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--pf-card-bg);
  border: 0;
}
.pf-page .pf-logo-controls {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pf-page .pf-logo-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #ffffff9c;
  border-radius: 40px;
  background: #fffefaed;
  box-shadow: 0 3px 13px #12243912;
  color: #122439;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.pf-page .pf-logo-play:hover {
  background: #122439;
  color: #fff;
  border-color: #122439;
}
.pf-page .pf-logo-play::before {
  content: "▶";
  font-size: 10px;
  line-height: 1;
}
.pf-page .pf-logo-play[aria-pressed="true"]::before {
  content: "Ⅱ";
}
.pf-page .pf-logo-silent {
  font-size: 9px;
  line-height: 1.6;
  color: #122439;
  background: #fffefaed;
  border: 1px solid #ffffff75;
  border-radius: 30px;
  padding: 6px 11px;
  pointer-events: none;
}
.pf-page .pf-slide[data-fit="full"] .pf-image {
  object-fit: contain;
  object-position: 50% 0 !important;
  background: #fff;
}
.pf-page .pf-logo-variants {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.pf-page .pf-logo-variant {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid #ffffff9c;
  border-radius: 40px;
  background: #fffefaed;
  color: #122439;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 650;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.pf-page .pf-logo-variant[aria-pressed="true"] {
  background: #122439;
  color: #fff;
  border-color: #122439;
}
.pf-page .pf-logo-variant:hover {
  background: #164ee8;
  border-color: #164ee8;
  color: #fff;
}
.pf-page .pf-filter-inner {
  justify-content: center;
}
.pf-page .pf-filter-options {
  flex: 0 1 auto;
}
.pf-page .pf-filter-inner {
  width: max-content;
  max-width: calc(100% - 40px);
  padding: 7px 8px;
  gap: 0;
}
.pf-page .pf-slide[data-kind="desktop"] .pf-image {
  inset: auto;
  left: 5%;
  top: 50%;
  width: 90%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: 50% 0;
  border: 0;
  border-radius: 10px;
  outline: 5px solid #fff;
  box-shadow: 0 14px 34px #12243924;
  transform: translateY(-50%);
}
.pf-page .pf-card:hover .pf-slide[data-kind="desktop"] .pf-image {
  transform: translateY(-50%);
}
.pf-page .pf-card-body > .pf-service-name {
  margin-bottom: 0;
}
.pf-page .pf-services {
  margin-top: 12px;
}
@media (max-width: 700px) {
  .pf-page .pf-filter-inner {
    width: max-content;
    max-width: calc(100% - 22px);
    padding: 5px;
    gap: 0;
  }
  .pf-page .pf-filter-options {
    flex: 0 1 auto;
  }
  .pf-page .pf-logo-has-variants .pf-logo-controls {
    gap: 8px;
  }
  .pf-page .pf-logo-has-variants .pf-logo-play {
    width: 44px;
    min-width: 44px;
    flex: 0 0 44px;
    padding: 0;
    gap: 0;
  }
  .pf-page .pf-logo-has-variants .pf-logo-play [data-pf-logo-label] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .pf-page .pf-logo-variant {
    font-size: 10px;
    padding: 9px 12px;
  }
}
.pf-page .pf-text-preview {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 75px 9% 30px;
  color: var(--pf-text-ink, var(--pf-card-ink));
}
.pf-page .pf-text-preview > span {
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pf-page .pf-text-preview > p {
  font-size: clamp(35px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.055em;
  font-weight: 550;
  margin: 12px 0;
}
.pf-page .pf-text-preview > small {
  display: block;
  padding-top: 18px;
  border-top: 1px solid var(--pf-text-line, #12243925);
  font-size: 11px;
  line-height: 1.8;
  max-width: 350px;
}
@media (max-width: 700px) {
  .pf-page .pf-text-preview {
    padding: 61px 24px 23px;
  }
  .pf-page .pf-text-preview > p {
    font-size: 35px;
    line-height: 1.04;
    margin: 10px 0;
  }
  .pf-page .pf-text-preview > small {
    font-size: 10px;
    line-height: 1.6;
    padding-top: 10px;
  }
  .pf-page .pf-text-preview > span {
    font-size: 8px;
  }
}
.pf-page .pf-grid[data-pf-view="all"] .pf-invitation {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-areas: "eyebrow eyebrow" "title copy" "title action";
  align-items: end;
  gap: 18px 12%;
  min-height: 290px;
}
.pf-page .pf-grid[data-pf-view="all"] .pf-invitation > .pf-eyebrow {
  grid-area: eyebrow;
}
.pf-page .pf-grid[data-pf-view="all"] .pf-invitation > h2,
.pf-page .pf-grid[data-pf-view="all"] .pf-invitation > h3 {
  grid-area: title;
  align-self: center;
  max-width: 520px;
}
.pf-page .pf-grid[data-pf-view="all"] .pf-invitation > p:not(.pf-eyebrow) {
  grid-area: copy;
}
.pf-page .pf-grid[data-pf-view="all"] .pf-invitation > .pf-button {
  grid-area: action;
  justify-self: start;
  align-self: start;
}
@media (max-width: 700px) {
  .pf-page .pf-card-body > .pf-service-name {
    font-size: 10px;
    line-height: 1.7;
    margin-bottom: 10px;
  }
  .pf-page .pf-preview-placeholder {
    padding: 60px 24px 22px;
  }
  .pf-page .pf-preview-placeholder > span {
    font-size: 8px;
    line-height: 1.4;
  }
  .pf-page .pf-preview-placeholder > p {
    font-size: 36px;
    line-height: 1.03;
    margin: 10px 0;
  }
  .pf-page .pf-preview-placeholder > div {
    padding-top: 10px;
  }
  .pf-page .pf-preview-placeholder strong,
  .pf-page .pf-preview-placeholder small {
    font-size: 10px;
    line-height: 1.6;
  }
  .pf-page .pf-filter-options {
    min-width: 0;
    flex-wrap: nowrap;
  }
  .pf-page .pf-filter-meta {
    min-width: 0;
  }
  .pf-page #pf-results-count {
    flex-shrink: 0;
  }
  .pf-page #pf-filter-description {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
  }
  .pf-page .pf-grid[data-pf-view="all"] .pf-invitation {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "eyebrow" "title" "copy" "action";
    gap: 22px;
    min-height: 0;
  }
}

/* Work hero: a compact introduction beside three real project previews. */
.pf-page .pf-hero--showcase {
  --pc-index-title-size: clamp(58px, 5.4vw, 82px);
  padding: 56px 0 44px;
  position: relative;
}
.pf-page .pf-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  width: min(1260px, calc(100% - 80px));
}
.pf-page .pf-showcase-copy {
  min-width: 0;
}
.pf-page .pf-showcase-label {
  margin: 0 0 22px;
  color: var(--pf-muted);
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .04em;
}
.pf-page .pf-hero--showcase h1 {
  margin: 0;
  font-size: var(--pc-index-title-size);
  font-weight: 550;
  line-height: 1.04;
  letter-spacing: -.06em;
}
.pf-page .pf-hero--showcase h1 em {
  color: var(--pf-blue);
}
.pf-page .pf-showcase-intro {
  max-width: 38ch;
  margin: 22px 0 0;
  color: var(--pf-muted);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.pf-page .pf-showcase-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  max-width: 100%;
  margin-top: 26px;
  padding: 14px 24px;
  border: 1px solid var(--pf-ink);
  border-radius: 999px;
  background: var(--pf-ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.pf-page .pf-showcase-explore:hover {
  background: var(--pf-blue);
  border-color: var(--pf-blue);
}
.pf-page .pf-showcase-art {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}
.pf-page .pf-showcase-feathers {
  position: absolute;
  inset: 30% -8% -5% 2%;
  pointer-events: none;
  z-index: -1;
  opacity: .18;
  transform: rotate(-12deg);
}
.pf-page .pf-showcase-feathers svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: none;
}
.pf-page .pf-showcase-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #11283b1f;
  border-radius: 14px;
  background: #fff;
  color: var(--pf-ink);
  box-shadow: 0 10px 24px #11283b0d;
  transform: rotate(var(--preview-tilt, 0deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.pf-page .pf-showcase-card--website {
  --preview-tilt: -3deg;
  grid-row: 1 / 3;
}
.pf-page .pf-showcase-card--brand {
  --preview-tilt: 2deg;
}
.pf-page .pf-showcase-card > img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
}
.pf-page .pf-showcase-card--website > img {
  height: auto;
  aspect-ratio: 16 / 9;
}
.pf-page .pf-showcase-card--brand > img {
  padding: 10px;
  object-fit: contain;
  background: #fffdf8;
}
.pf-page .pf-showcase-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 11px 13px 12px;
  border-top: 1px solid #11283b12;
  font-size: .875rem;
  line-height: 1.4;
}
.pf-page .pf-showcase-caption > span {
  color: var(--pf-muted);
}
.pf-page .pf-showcase-caption > strong {
  font-size: inherit;
  font-weight: 600;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pf-page .pf-showcase-card:hover {
    transform: translateY(-4px) rotate(var(--preview-tilt, 0deg));
    box-shadow: 0 14px 28px #11283b16;
  }
}
@media (max-width: 840px) {
  .pf-page .pf-hero--showcase {
    --pc-index-title-size: clamp(52px, 8vw, 72px);
    padding-block: 42px 34px;
  }
  .pf-page .pf-showcase-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    width: calc(100% - 48px);
  }
  .pf-page .pf-showcase-intro {
    max-width: 44ch;
  }
  .pf-page .pf-showcase-art {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
    max-width: none;
  }
  .pf-page .pf-showcase-card {
    --preview-tilt: 0deg;
    transform: none;
  }
  .pf-page .pf-showcase-card--website {
    grid-row: auto;
  }
  .pf-page .pf-showcase-card > img {
    height: clamp(72px, 16vw, 125px);
    aspect-ratio: auto;
  }
  .pf-page .pf-showcase-feathers {
    inset: 0 -3% -12% 10%;
    opacity: .13;
  }
}
@media (max-width: 600px) {
  .pf-page .pf-hero--showcase {
    --pc-index-title-size: clamp(48px, 13vw, 60px);
    padding-block: 32px 28px;
  }
  .pf-page .pf-showcase-grid {
    width: calc(100% - 40px);
    gap: 28px;
  }
  .pf-page .pf-showcase-label {
    margin-bottom: 16px;
  }
  .pf-page .pf-showcase-intro {
    margin-top: 18px;
    font-size: 1rem;
  }
  .pf-page .pf-showcase-explore {
    margin-top: 22px;
  }
  .pf-page .pf-showcase-art {
    gap: 9px;
  }
  .pf-page .pf-showcase-card {
    border-radius: 10px;
  }
  .pf-page .pf-showcase-caption {
    padding: 9px 8px 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf-page .pf-showcase-card,
  .pf-page .pf-showcase-explore {
    transition: none;
  }
}
