/* /htdocs/assets/css/home-v2.css */

:root {
  --pcg-v2-ink: #172016;
  --pcg-v2-muted: #60685d;
  --pcg-v2-green: #315f2f;
  --pcg-v2-green-deep: #18371f;
  --pcg-v2-green-soft: #b5d993;
  --pcg-v2-cream: #f3f4ed;
  --pcg-v2-white: #ffffff;
  --pcg-v2-line: rgba(23, 32, 22, 0.16);
  --pcg-v2-line-light: rgba(255, 255, 255, 0.18);
  --pcg-v2-shell: 1360px;
  --pcg-v2-gutter: clamp(20px, 4vw, 64px);
  --pcg-v2-frame-gap: calc(clamp(12px, 4vw, 24px) - 4px);
  --pcg-v2-header-offset: 60px;
  --pcg-v2-font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

body.pcg-home-v2 {
  overflow-x: hidden;
  color: var(--pcg-v2-ink);
  background: var(--pcg-v2-white);
  font-family: var(--pcg-v2-font);
}

body.pcg-home-v2.is-menu-open {
  overflow: hidden;
}

.pcg-v2-shell {
  width: min(
    calc(100% - (var(--pcg-v2-gutter) * 2)),
    var(--pcg-v2-shell)
  );
  margin-inline: auto;
}

.pcg-v2-section {
  position: relative;
  padding-block: clamp(84px, 9vw, 144px);
}

.pcg-v2-kicker {
  color: var(--pcg-v2-green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.pcg-v2-kicker--light {
  color: var(--pcg-v2-green-soft);
}

.pcg-v2-section-head {
  max-width: 900px;
  margin-bottom: clamp(44px, 6vw, 84px);
}

.pcg-v2-section-head--split {
  display: grid;
  grid-template-columns: minmax(130px, 0.28fr) minmax(0, 1fr);
  max-width: none;
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

/* Stacked head: kicker on top, heading directly beneath it, both anchored to
   the left edge of the section. */
.pcg-v2-section-head--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: none;
  gap: 14px;
}

.pcg-v2-section-head__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* Animated vertical divider between the kicker and the content in a split
   section head (e.g. the Media section). Reuses the shared .pcg-v2-vline
   slide-down animation driven by [data-vlines]. */
.pcg-v2-section-head--split {
  position: relative;
}

.pcg-v2-media__vline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(0.28 / 1.28 * 100% - clamp(14px, 3vw, 48px));
  width: 1px;
  pointer-events: none;
  z-index: 2;
}

.pcg-v2-media__vline .pcg-v2-vline {
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 18, 20, 0.82);
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition:
    transform 1.6s cubic-bezier(0.22, 0.61, 0.24, 1),
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.pcg-v2-media__vline .pcg-v2-vline.is-visible {
  transform: scaleY(1);
  opacity: 1;
}

.pcg-v2-section-head h2,
.pcg-v2-about h2,
.pcg-v2-value h2,
.pcg-v2-promo h2,
.pcg-v2-contact h2 {
  max-width: 1050px;
  color: var(--pcg-v2-ink);
  font-family: var(--pcg-v2-font);
  font-size: clamp(2.25rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.pcg-v2-button {
  display: inline-flex;
  min-height: 52px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--pcg-v2-ink);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.pcg-v2-button:hover {
  transform: translateY(-2px);
}

.pcg-v2-button--solid {
  color: var(--pcg-v2-white);
  background: var(--pcg-v2-green);
}

.pcg-v2-button--solid:hover {
  background: var(--pcg-v2-green-deep);
}

.pcg-v2-button--cream {
  color: var(--pcg-v2-green-deep);
  background: var(--pcg-v2-cream);
}

.pcg-v2-text-link {
  display: inline-flex;
  padding-block: 10px;
  border-bottom: 1px solid currentColor;
  align-items: center;
  gap: 28px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1;
  text-decoration: none;
}

.pcg-v2-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: auto;
  color: var(--pcg-v2-white);
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease,
    transform 320ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hide on scroll down, reveal on scroll up */
.pcg-v2-header.is-hidden {
  transform: translateY(-100%);
}

.pcg-v2-header::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
  transition: background-color 220ms ease;
}

.pcg-v2-header.is-scrolled,
.pcg-v2-header.is-menu-visible {
  color: var(--pcg-v2-ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.pcg-v2-header.is-menu-visible .pcg-v2-brand,
.pcg-v2-header.is-menu-visible .pcg-v2-nav > a,
.pcg-v2-header.is-menu-visible .pcg-v2-language,
.pcg-v2-header.is-menu-visible .pcg-v2-nav__buy,
.pcg-v2-header.is-menu-visible .pcg-v2-nav__login {
  color: var(--pcg-v2-ink);
}

.pcg-v2-header.is-scrolled::after,
.pcg-v2-header.is-menu-visible::after {
  background: var(--pcg-v2-line);
}

.pcg-v2-header__inner {
  display: flex;
  height: 60px;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

/* Keep the desktop actions in the same position as the original top bar. */
.pcg-v2-header__actions {
  margin-left: auto;
}

/* Sub-navbar: a second, thin row under the main nav holding the breadcrumb. */
.pcg-v2-subnavbar {
  display: flex;
  height: 34px;
  opacity: 1;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  transition:
    height 380ms cubic-bezier(0.4, 0, 0.2, 1),
    opacity 300ms ease,
    border-color 220ms ease;
}

/* Hero pages start with a transparent navbar: keep the sub-navbar hidden
   until the navbar turns solid (.is-scrolled), then reveal it smoothly. */
.pcg-hero-page .pcg-v2-subnavbar {
  height: 0;
  opacity: 0;
  border-top-color: transparent;
}

.pcg-hero-page .pcg-v2-header.is-scrolled .pcg-v2-subnavbar,
.pcg-hero-page .pcg-v2-header.is-menu-visible .pcg-v2-subnavbar {
  height: 34px;
  opacity: 1;
  border-top-color: var(--pcg-v2-line);
}

.pcg-v2-subnavbar .pcg-v2-shell {
  display: flex;
  min-width: 0;
}

.pcg-v2-header.is-scrolled .pcg-v2-subnavbar,
.pcg-v2-header.is-menu-visible .pcg-v2-subnavbar {
  border-top-color: var(--pcg-v2-line);
}

.pcg-v2-subnavbar__crumb {
  display: flex;
  height: 100%;
  align-items: center;
  gap: 8px;
  color: var(--pcg-v2-ink);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pcg-v2-subnavbar__crumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 180ms ease;
}

.pcg-v2-subnavbar__crumb a:hover {
  color: var(--pcg-v2-green);
}

.pcg-v2-brand {
  position: relative;
  z-index: 995;
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: inherit;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  line-height: 1.15;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.pcg-v2-brand img {
  width: 26px;
  height: 24px;
  object-fit: contain;
}

.pcg-v2-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.2vw, 20px);
}

.pcg-v2-nav > a {
  position: relative;
  padding: 7px 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.pcg-v2-nav > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.pcg-v2-nav > a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pcg-v2-nav .pcg-v2-nav__login {
  padding: 8px 14px;
  border: 1px solid currentColor;
  border-radius: 999px;
}

.pcg-v2-nav .pcg-v2-nav__login::after {
  display: none;
}

/* When one nav item's sub-menu is open, fade the other top-level entries so
   the active one (and its sub-menu) stands out. */
.pcg-v2-nav.is-hovering > a,
.pcg-v2-nav.is-hovering > .pcg-v2-nav-item,
.pcg-v2-nav.is-hovering .pcg-v2-language {
  opacity: 0.2;
  transition: opacity 220ms ease;
}

.pcg-v2-nav > a,
.pcg-v2-nav > .pcg-v2-nav-item,
.pcg-v2-nav .pcg-v2-language {
  transition: opacity 220ms ease;
}

/* The hovered / open entry stays fully opaque. */
.pcg-v2-nav.is-hovering > .pcg-v2-nav-item.is-open,
.pcg-v2-nav.is-hovering > a.is-nav-active {
  opacity: 1;
}

/* -----------------------------------------------------------------------
   Primary navigation menu (applies at every width): a burger opens a
   full-white panel listing the nav from top to bottom. Items with sections
   reveal their sub-links inline on hover.
----------------------------------------------------------------------- */

/* Burger button: always available, stays above the full-screen nav panel. */
.pcg-v2-menu-toggle {
  position: relative;
  z-index: 995;
  margin-left: 4px;
}

/* The nav panel itself. */
.pcg-v2-nav {
  position: fixed;
  inset: 0;
  z-index: 990;
  display: flex;
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  padding: 92px max(var(--pcg-v2-gutter), calc((100vw - var(--pcg-v2-shell)) / 2)) 48px;
  overflow-y: auto;
  align-items: stretch;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  color: var(--pcg-v2-ink);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
  transition:
    opacity 220ms ease,
    visibility 220ms ease,
    transform 220ms ease;
}

/* Thin vertical rule sitting just left of the nav list. It "draws" itself
   from top to bottom when the panel opens (scaleY grows from the top). */
.pcg-v2-nav::before {
  content: "";
  position: absolute;
  top: 92px;
  bottom: 114px;
  left: calc(max(var(--pcg-v2-gutter), calc((100vw - var(--pcg-v2-shell)) / 2)) - 20px);
  width: 1px;
  background: var(--pcg-v2-ink);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 520ms cubic-bezier(0.16, 1, 0.3, 1) 120ms;
  pointer-events: none;
}

.pcg-v2-nav.is-open::before {
  transform: scaleY(1);
}

.pcg-v2-nav.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.pcg-v2-nav-item {
  position: relative;
  display: flex;
  width: 100%;
  max-width: min(760px, 62vw);
  flex-direction: column;
  border-bottom: 1px solid var(--pcg-v2-line);
}

.pcg-v2-nav-item__link,
.pcg-v2-nav .pcg-v2-language__label,
.pcg-v2-nav .pcg-v2-nav-item:not([data-nav-item]) a {
  display: flex;
  width: 100%;
  min-height: 62px;
  padding: 18px 0;
  align-items: center;
  justify-content: space-between;
  color: var(--pcg-v2-ink);
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
}

/* A plain nav link (no sections) is its own bordered row. */
.pcg-v2-nav > a {
  display: flex;
  width: 100%;
  max-width: min(760px, 62vw);
  min-height: 62px;
  padding: 18px 0;
  border-bottom: 1px solid var(--pcg-v2-line);
  align-items: center;
  justify-content: space-between;
  color: var(--pcg-v2-ink);
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.pcg-v2-nav > a::after {
  display: none;
}

/* Sub-menu revealed as a new panel to the RIGHT of the hovered item. The
   horizontal gap is produced with padding (not margin) and bridged by the
   ::before pseudo-element below, so the pointer can travel from the item to
   the panel without ever crossing "dead" space that would close the menu. */
.pcg-v2-nav-sub {
  position: absolute;
  top: 0;
  left: 100%;
  display: flex;
  width: max(280px, 30vw);
  margin: 0;
  padding: 0 0 0 clamp(20px, 3vw, 40px);
  flex-direction: column;
  border-left: 1px solid var(--pcg-v2-line);
  opacity: 0;
  visibility: hidden;
  transform: translateX(28px);
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 260ms;
  pointer-events: none;
}

/* Invisible bridge spanning the gap between the item and its sub-panel. It
   belongs to the panel's box, so hovering it keeps the item "hovered". */
.pcg-v2-nav-sub::before {
  content: "";
  position: absolute;
  top: 0;
  right: 100%;
  width: clamp(28px, 4vw, 64px);
  height: 100%;
}

.pcg-v2-nav-item.is-open .pcg-v2-nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  transition:
    opacity 260ms ease,
    transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s;
  pointer-events: auto;
}

/* The sub-menu head (Back button + title) is only used on mobile. */
.pcg-v2-nav-sub__head {
  display: none;
}

.pcg-v2-nav-sub__list {
  display: grid;
  width: 100%;
  margin: 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 0;
  list-style: none;
}

.pcg-v2-nav-sub__list a {
  display: block;
  padding: 12px 0;
  color: var(--pcg-v2-muted);
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition:
    color 180ms ease,
    padding-left 220ms cubic-bezier(0.16, 1, 0.3, 1);
}

.pcg-v2-nav-sub__list a:hover {
  padding-left: 8px;
  color: var(--pcg-v2-green);
}

.pcg-v2-nav__footer {
  display: none;
}

.pcg-v2-header__actions,
.pcg-v2-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pcg-v2-nav__buy,
.pcg-v2-nav__login {
  position: relative;
  z-index: 995;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.pcg-v2-nav__buy:hover,
.pcg-v2-nav__login:hover {
  background-color: var(--pcg-v2-white);
  color: var(--pcg-v2-ink);
}

.pcg-v2-header.is-scrolled .pcg-v2-nav__buy:hover,
.pcg-v2-header.is-menu-visible .pcg-v2-nav__buy:hover,
.pcg-v2-header.is-scrolled .pcg-v2-nav__login:hover,
.pcg-v2-header.is-menu-visible .pcg-v2-nav__login:hover {
  background-color: var(--pcg-v2-ink);
  color: var(--pcg-v2-white);
}

.pcg-v2-language {
  position: relative;
  display: flex;
  width: 100%;
  max-width: min(760px, 62vw);
  padding: 18px 0;
  flex-direction: column;
  gap: 14px;
  border-bottom: 1px solid var(--pcg-v2-line);
}

.pcg-v2-language__label {
  color: var(--pcg-v2-ink);
  font-size: clamp(1.4rem, 3.4vw, 2.1rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

/* All languages shown as a wrapping row of pills; the active one is outlined. */
.pcg-v2-language__options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pcg-v2-language__options .nav-language-option {
  padding: 9px 18px;
  border: 1px solid var(--pcg-v2-line);
  border-radius: 999px;
  color: var(--pcg-v2-muted);
  background: transparent;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.pcg-v2-language__options .nav-language-option:hover {
  border-color: var(--pcg-v2-ink);
  color: var(--pcg-v2-ink);
}

/* The currently selected language gets a solid outline. */
.pcg-v2-language__options .nav-language-option.is-current,
.pcg-v2-language__options .nav-language-option[aria-pressed="true"] {
  border-color: var(--pcg-v2-ink);
  color: var(--pcg-v2-ink);
  background: var(--pcg-v2-cream);
  box-shadow: inset 0 0 0 1px var(--pcg-v2-ink);
}

/* Actions and social links share the bottom row of the burger panel. */
.pcg-v2-nav__social {
  display: flex;
  width: 100%;
  padding-top: 28px;
  gap: 10px;
  justify-content: flex-end;
  align-self: flex-end;
}

.pcg-v2-nav__social-link {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border: 1px solid var(--pcg-v2-line);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--pcg-v2-ink);
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.pcg-v2-nav__social-link svg {
  width: 18px;
  height: 18px;
}

.pcg-v2-nav__social-link:hover {
  border-color: var(--pcg-v2-green-soft);
  color: var(--pcg-v2-green-soft);
}

.pcg-v2-menu-toggle {
  display: block;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.pcg-v2-menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.pcg-v2-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.pcg-v2-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.pcg-v2-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: flex-end;
  overflow: hidden;
  color: var(--pcg-v2-white);
  background: var(--pcg-v2-green-deep);
}

.pcg-v2-hero__media,
.pcg-v2-hero__veil {
  position: absolute;
  inset: 0;
}

.pcg-v2-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.08);
  animation: pcg-v2-hero-drift 16s ease-out both;
}

.pcg-v2-hero__media[data-parallax] {
  will-change: transform;
}

.pcg-v2-hero__veil {
  background:
    linear-gradient(90deg, rgba(13, 29, 17, 0.88) 0%, rgba(13, 29, 17, 0.55) 45%, rgba(13, 29, 17, 0.1) 80%),
    linear-gradient(0deg, rgba(8, 21, 11, 0.65) 0%, transparent 45%);
}

.pcg-v2-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 100svh;
  padding-top: 140px;
  padding-bottom: clamp(30px, 5vw, 62px);
  grid-template-rows: 1fr auto;
  align-items: end;
}

/* Inner pages carry the extra sub-navbar row, so nudge content down a touch
   to clear the taller fixed header. */
.pcg-inner-page .pcg-v2-hero__inner {
  padding-top: 174px;
}

.pcg-v2-hero__content {
  width: min(900px, 78vw);
  padding-bottom: clamp(70px, 10vh, 120px);
}

.pcg-v2-hero .pcg-v2-kicker {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.82);
}

.pcg-v2-hero h1 {
  max-width: 930px;
  color: var(--pcg-v2-white);
  font-family: var(--pcg-v2-font);
  font-size: clamp(3.8rem, 8.4vw, 8.4rem);
  font-weight: 450;
  letter-spacing: -0.067em;
  line-height: 0.86;
}

.pcg-v2-hero h1 span {
  display: block;
  color: var(--pcg-v2-green-soft);
}

.pcg-v2-hero__lead {
  width: min(650px, 100%);
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
}

.pcg-v2-actions {
  display: flex;
  margin-top: 34px;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px 34px;
}

.pcg-v2-hero__meta {
  display: grid;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Inner-page hero variant (e.g. What We Do) */
.pcg-v2-hero--inner .pcg-v2-hero__content {
  width: min(820px, 82vw);
}

.pcg-v2-hero--inner .pcg-v2-hero__lead {
  width: min(680px, 100%);
}

.pcg-v2-about {
  background: var(--pcg-v2-white);
}

.pcg-v2-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: start;
  gap: clamp(36px, 7vw, 110px);
  position: relative;
}

/* Desktop Overview (about_full): copy on the left, logo on the right.
   Scoped to the --reverse grid so other .pcg-v2-about sections keep their
   natural order (image left, copy right). */
.pcg-v2-about__grid--reverse .pcg-v2-about__copy {
  order: 1;
}

.pcg-v2-about__grid--reverse .pcg-v2-about__media--logo {
  order: 2;
}

/* Vertical divider sitting in the grid gap between the two columns. */
.pcg-v2-about__vline {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(0.655 * 100% - clamp(18px, 3.5vw, 55px));
  width: 1px;
  pointer-events: none;
  z-index: 2;
}

.pcg-v2-about__vline .pcg-v2-vline {
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 18, 20, 0.82);
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition:
    transform 1.6s cubic-bezier(0.22, 0.61, 0.24, 1),
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.pcg-v2-about__vline .pcg-v2-vline.is-visible {
  transform: scaleY(1);
  opacity: 1;
}

/* Mobile frame: two lines used as left/right borders around the stacked
   content. Hidden on desktop (where the centre divider is used instead).
   The frame is outset from the content box so the lines never crowd the text. */
.pcg-v2-about__frame {
  display: none;
  position: absolute;
  inset: 0 calc(-1 * var(--pcg-v2-frame-gap, 16px));
  pointer-events: none;
  z-index: 2;
}

.pcg-v2-about__frame .pcg-v2-vline {
  top: 0;
  bottom: 0;
  width: 1px;
  height: 100%;
  background-color: rgba(17, 18, 20, 0.82);
  transform: scaleY(0);
  transform-origin: top center;
  opacity: 0;
  transition:
    transform 1.6s cubic-bezier(0.22, 0.61, 0.24, 1),
    opacity 0.8s ease;
  will-change: transform, opacity;
}

.pcg-v2-about__frame .pcg-v2-vline.is-visible {
  transform: scaleY(1);
  opacity: 1;
}

.pcg-v2-about__frame .pcg-v2-vline:nth-child(1) {
  left: 0;
  transition-delay: 0ms;
}

.pcg-v2-about__frame .pcg-v2-vline:nth-child(2) {
  left: 100%;
  transition-delay: 140ms;
}

.pcg-v2-media-card {
  margin: 0;
  overflow: hidden;
  background: var(--pcg-v2-cream);
}

.pcg-v2-about__media {
  aspect-ratio: 4 / 3;
}

.pcg-v2-about__media img,
.pcg-v2-gallery__item img,
.pcg-v2-clients__image img,
.pcg-v2-promo__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Logo variant: show the full PNG (uncropped) with a floating effect.
   No parallax — the logo only bobs via CSS at every viewport size. */
.pcg-v2-about__media--logo {
  background: transparent;
  overflow: visible;
  display: grid;
  place-items: center;
  aspect-ratio: auto;
  align-self: start;
}

.pcg-v2-about__media--logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: clamp(220px, 42vw, 380px);
  object-fit: contain;
  filter: drop-shadow(0 26px 40px rgba(24, 26, 32, 0.16));
  will-change: transform;
  animation: pcg-v2-logo-float 7s ease-in-out infinite;
}

@keyframes pcg-v2-logo-float {
  0%,
  100% {
    transform: translateY(-7px);
  }

  50% {
    transform: translateY(7px);
  }
}

.pcg-v2-about__copy {
  padding-bottom: 0;
}

.pcg-v2-about__lead {
  margin-bottom: 20px;
  color: var(--pcg-v2-ink);
  font-size: clamp(1.32rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.pcg-v2-about__copy > p:not(.pcg-v2-about__lead) {
  color: var(--pcg-v2-muted);
  line-height: 1.75;
}

.pcg-v2-inline-links {
  display: grid;
  margin-top: 38px;
  border-top: 1px solid var(--pcg-v2-line);
}

.pcg-v2-inline-links a {
  display: flex;
  padding: 15px 0;
  border-bottom: 1px solid var(--pcg-v2-line);
  align-items: center;
  justify-content: space-between;
  color: var(--pcg-v2-ink);
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: none;
}

.pcg-v2-services {
  background: var(--pcg-v2-cream);
}

.pcg-v2-service-list {
  border-top: 1px solid var(--pcg-v2-line);
}

.pcg-v2-service-row {
  display: grid;
  padding: clamp(24px, 3vw, 42px) 0;
  border-bottom: 1px solid var(--pcg-v2-line);
  grid-template-columns: 90px minmax(0, 1fr) 52px;
  gap: 24px;
  align-items: start;
  transition: padding-left 200ms ease;
}

.pcg-v2-service-row:hover {
  padding-left: 14px;
}

.pcg-v2-service-row__number {
  color: var(--pcg-v2-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.pcg-v2-service-row h3 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 3.1rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1;
}

.pcg-v2-service-row p {
  max-width: 720px;
  color: var(--pcg-v2-muted);
  line-height: 1.65;
}

.pcg-v2-service-row > a {
  display: grid;
  width: 48px;
  height: 48px;
  border: 1px solid var(--pcg-v2-line);
  border-radius: 50%;
  place-items: center;
  color: var(--pcg-v2-ink);
  font-size: 1.15rem;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.pcg-v2-service-row > a:hover {
  color: var(--pcg-v2-white);
  background: var(--pcg-v2-green);
  transform: rotate(8deg);
}

.pcg-v2-value {
  color: var(--pcg-v2-white);
  background: var(--pcg-v2-green-deep);
}

.pcg-v2-value h2 {
  max-width: 1060px;
  margin-top: 22px;
  color: var(--pcg-v2-white);
}

.pcg-v2-value__intro {
  margin-bottom: clamp(64px, 8vw, 110px);
}

.pcg-v2-value__grid {
  display: grid;
  border-top: 1px solid var(--pcg-v2-line-light);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pcg-v2-value__grid article {
  min-height: 310px;
  padding: 26px clamp(18px, 2.5vw, 34px) 20px;
  border-right: 1px solid var(--pcg-v2-line-light);
}

.pcg-v2-value__grid article:first-child {
  padding-left: 0;
}

.pcg-v2-value__grid article:last-child {
  border-right: 0;
}

.pcg-v2-value__grid article > span {
  display: block;
  margin-bottom: clamp(70px, 9vw, 130px);
  color: var(--pcg-v2-green-soft);
  font-size: 0.75rem;
  font-weight: 700;
}

.pcg-v2-value__grid h3 {
  margin-bottom: 13px;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 520;
  letter-spacing: -0.025em;
}

.pcg-v2-value__grid p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.65;
}

.pcg-v2-gallery {
  background: var(--pcg-v2-white);
}

.pcg-v2-gallery__grid {
  display: grid;
  grid-auto-rows: clamp(170px, 18vw, 280px);
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
}

.pcg-v2-gallery__item {
  margin: 0;
  overflow: hidden;
  background: var(--pcg-v2-cream);
}

.pcg-v2-gallery__item:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.pcg-v2-gallery__item:nth-child(2) {
  grid-column: span 5;
  grid-row: span 2;
}

.pcg-v2-gallery__item:nth-child(3),
.pcg-v2-gallery__item:nth-child(4) {
  grid-column: span 6;
}

.pcg-v2-gallery__item img {
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.pcg-v2-gallery__item:hover img {
  transform: scale(1.035);
}

.pcg-v2-categories {
  background: var(--pcg-v2-cream);
}

.pcg-v2-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 34px);
}

.pcg-v2-category-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--pcg-v2-ink);
  background: var(--pcg-v2-cream);
  text-decoration: none;
  aspect-ratio: 4 / 5;
}

/* The media frame fills the card and clips the drifting photo inside it,
   so the image reads like it is rising through a fixed window as the page
   scrolls. */
.pcg-v2-category-card__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
}

.pcg-v2-category-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The parallax frame sits above the photo, so it must stay transparent to
   pointer events to keep the whole card as one clickable target. */
.pcg-v2-category-card__media[data-parallax] {
  pointer-events: none;
}

.pcg-v2-category-card::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--pcg-v2-ink);
  content: "";
  opacity: 0;
  transition: opacity 500ms cubic-bezier(0.2, 0.75, 0.2, 1);
  pointer-events: none;
}

.pcg-v2-category-card:hover::after {
  opacity: 0.06;
}

.pcg-v2-category-card__copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  padding: clamp(22px, 3vw, 40px);
  align-items: flex-start;
  justify-content: flex-start;
  pointer-events: none;
}

.pcg-v2-category-card__copy h3 {
  max-width: 90%;
  margin: 0;
  color: var(--pcg-v2-ink);
  font-size: clamp(1.2rem, 2.3vw, 1.95rem);
  font-weight: 100;
  letter-spacing: -0.015em;
  line-height: 1.05;
}

.pcg-v2-process {
  background: var(--pcg-v2-white);
}

.pcg-v2-process__list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--pcg-v2-line);
  list-style: none;
}

.pcg-v2-process__list li {
  display: grid;
  min-height: 190px;
  padding: 30px 0;
  border-bottom: 1px solid var(--pcg-v2-line);
  grid-template-columns: minmax(110px, 0.22fr) minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.pcg-v2-process__list li > span {
  color: var(--pcg-v2-green);
  font-size: clamp(2.3rem, 4vw, 4.8rem);
  font-weight: 450;
  letter-spacing: -0.06em;
  line-height: 0.9;
}

.pcg-v2-process__list h3 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.3vw, 2.4rem);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.pcg-v2-process__list p {
  max-width: 740px;
  color: var(--pcg-v2-muted);
  line-height: 1.65;
}

.pcg-v2-promo {
  padding-top: 0;
  background: var(--pcg-v2-white);
}

.pcg-v2-promo__panel {
  display: grid;
  min-height: 610px;
  color: var(--pcg-v2-white);
  background: var(--pcg-v2-green);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.pcg-v2-promo__copy {
  display: flex;
  padding: clamp(44px, 6vw, 86px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.pcg-v2-promo h2 {
  margin: 22px 0 24px;
  color: var(--pcg-v2-white);
  font-size: clamp(2.4rem, 5vw, 5.2rem);
}

.pcg-v2-promo__copy > p:not(.pcg-v2-kicker) {
  max-width: 570px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.pcg-v2-promo__media {
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: var(--pcg-v2-cream);
}

/* Flattened "U" arc over the promo photo. It starts at the centre of the
   right edge, loops down, and sweeps up to the centre of the left edge.
   Drawn with the stroke-dash technique, triggered by .is-visible. */
.pcg-v2-promo__arc {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.75);
  pointer-events: none;
  z-index: 2;
}

.pcg-v2-promo__arc-path {
  stroke-dasharray: 840;
  stroke-dashoffset: 840;
  opacity: 0;
  transition:
    stroke-dashoffset 1.8s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 500ms ease;
}

.pcg-v2-promo__arc.is-visible .pcg-v2-promo__arc-path {
  stroke-dashoffset: 0;
  opacity: 1;
}

.pcg-v2-promo__media img {
  object-position: center;
}

.pcg-v2-clients {
  background: var(--pcg-v2-white);
}
/* -----------------------------------------------------------------------
   Our Clients — Minimalist Table Grid with Sliding Vertical Lines
----------------------------------------------------------------------- */

.pcg-v2-clients {
  background: var(--pcg-v2-white);
}

.pcg-v2-client-table {
  position: relative;
  width: 100%;
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* Container untuk Garis Vertikal Meluncur */
.pcg-v2-client-table__vlines {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  pointer-events: none;
  z-index: 2;
}

/* Komponen Garis Vertikal */
.pcg-v2-vline {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--pcg-v2-ink);
  
  /* Animasi Meluncur Dari Atas ke Bawah */
  height: 0%;
  opacity: 0;
  transition: height 1.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
  will-change: height, opacity;
}

/* Penempatan Posisi 7 Garis Vertikal (Untuk 6 Kolom Grid) */
.pcg-v2-vline:nth-child(1) { left: 0%; transition-delay: 0ms; }
.pcg-v2-vline:nth-child(2) { left: calc(100% / 6 * 1); transition-delay: 120ms; }
.pcg-v2-vline:nth-child(3) { left: calc(100% / 6 * 2); transition-delay: 240ms; }
.pcg-v2-vline:nth-child(4) { left: calc(100% / 6 * 3); transition-delay: 360ms; }
.pcg-v2-vline:nth-child(5) { left: calc(100% / 6 * 4); transition-delay: 480ms; }
.pcg-v2-vline:nth-child(6) { left: calc(100% / 6 * 5); transition-delay: 600ms; }
.pcg-v2-vline:nth-child(7) { left: 100%; transition-delay: 720ms; }

/* Trigger Animasi Meluncur via JS data-reveal (.is-visible) */
.pcg-v2-vline.is-visible {
  height: 100%;
  opacity: 1;
}

/* Grid Layout 6 Kolom untuk 17 Logo */
.pcg-v2-client-table__grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  z-index: 1;
}

/* Tiap Tile Logo */
.pcg-v2-client-table__tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: clamp(20px, 3vw, 36px) clamp(10px, 1.5vw, 20px);
  min-height: 140px;
}

.pcg-v2-client-table__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex-grow: 1;
}

.pcg-v2-client-table__logo-wrap img {
  max-width: 80%;
  max-height: 88px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.85;
  transition: filter 300ms ease, opacity 300ms ease, transform 300ms ease;
}

.pcg-v2-client-table__tile:hover .pcg-v2-client-table__logo-wrap img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

/* Garis Horizontal Statis (Sudah Ada Dari Awal) */
.pcg-v2-client-table__hline {
  width: 80%;
  margin: 16px auto 0;
  border: 0;
  border-top: 1px solid var(--pcg-v2-ink);
  opacity: 0.85;
}

/* Catatan Kaki */
.pcg-v2-client-note {
  max-width: 680px;
  margin-top: 28px;
  color: var(--pcg-v2-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* -----------------------------------------------------------------------
   Responsive Breakpoints
----------------------------------------------------------------------- */

/* Tablet (Max-width: 991px) -> 3 Kolom Grid */
@media (max-width: 991px) {
  .pcg-v2-client-table__grid,
  .pcg-v2-client-table__vlines {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Sesuaikan Garis Vertikal untuk 3 Kolom */
  .pcg-v2-vline:nth-child(2) { left: calc(100% / 3 * 1); }
  .pcg-v2-vline:nth-child(3) { left: calc(100% / 3 * 2); }
  .pcg-v2-vline:nth-child(4) { left: 100%; }
  .pcg-v2-vline:nth-child(5),
  .pcg-v2-vline:nth-child(6),
  .pcg-v2-vline:nth-child(7) {
    display: none;
  }
}

/* Mobile (Max-width: 575px) -> 2 Kolom Grid */
@media (max-width: 575px) {
  .pcg-v2-client-table__grid,
  .pcg-v2-client-table__vlines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Sesuaikan Garis Vertikal untuk 2 Kolom */
  .pcg-v2-vline:nth-child(2) { left: 50%; }
  .pcg-v2-vline:nth-child(3) { left: 100%; }
  .pcg-v2-vline:nth-child(4),
  .pcg-v2-vline:nth-child(5),
  .pcg-v2-vline:nth-child(6),
  .pcg-v2-vline:nth-child(7) {
    display: none;
  }

  .pcg-v2-client-table__tile {
    min-height: 110px;
    padding: 16px 8px;
  }
}
.pcg-v2-clients__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.75fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.pcg-v2-clients__image {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #dde2d6;
}

.pcg-v2-clients__copy > p {
  margin-bottom: 34px;
  color: var(--pcg-v2-muted);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  line-height: 1.7;
}

.pcg-v2-client-types {
  display: grid;
  margin-bottom: 36px;
  border-top: 1px solid var(--pcg-v2-line);
}

.pcg-v2-client-types span {
  padding: 13px 0;
  border-bottom: 1px solid var(--pcg-v2-line);
  color: var(--pcg-v2-ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.pcg-v2-testimonials {
  background: var(--pcg-v2-white);
}

.pcg-v2-quote-slider {
  border-top: 1px solid var(--pcg-v2-line);
}

.pcg-v2-quote-slider__viewport {
  overflow: hidden;
}

.pcg-v2-quote-slider__track {
  display: flex;
  width: 100%;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.2, 1);
  will-change: transform;
}

.pcg-v2-quote {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  padding: clamp(42px, 6vw, 88px) 0;
}

.pcg-v2-quote > p {
  max-width: 1180px;
  color: var(--pcg-v2-ink);
  font-size: clamp(2rem, 4.2vw, 4.8rem);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.pcg-v2-quote footer {
  display: grid;
  margin-top: 38px;
  gap: 3px;
}

.pcg-v2-quote cite {
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
}

.pcg-v2-quote footer span {
  color: var(--pcg-v2-muted);
  font-size: 0.82rem;
}

.pcg-v2-quote-slider__controls {
  display: flex;
  padding-top: 20px;
  border-top: 1px solid var(--pcg-v2-line);
  align-items: center;
  justify-content: space-between;
}

.pcg-v2-quote-slider__count {
  display: flex;
  gap: 7px;
  color: var(--pcg-v2-muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.pcg-v2-quote-slider__controls > div:last-child {
  display: flex;
  gap: 8px;
}

.pcg-v2-quote-slider__controls button {
  display: grid;
  width: 46px;
  height: 46px;
  border: 1px solid var(--pcg-v2-line);
  border-radius: 50%;
  color: var(--pcg-v2-ink);
  background: transparent;
  place-items: center;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.pcg-v2-quote-slider__controls button:hover {
  color: var(--pcg-v2-white);
  background: var(--pcg-v2-green);
}

.pcg-v2-contact {
  background: var(--pcg-v2-cream);
}

.pcg-v2-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
}

.pcg-v2-contact h2 {
  margin: 22px 0 26px;
  max-width: 620px;
}

.pcg-v2-contact__intro > p:not(.pcg-v2-kicker) {
  max-width: 560px;
  color: var(--pcg-v2-muted);
  line-height: 1.7;
}

.pcg-v2-contact__details {
  display: grid;
  margin: 48px 0 0;
  border-top: 1px solid var(--pcg-v2-line);
}

.pcg-v2-contact__details > div {
  display: grid;
  padding: 17px 0;
  border-bottom: 1px solid var(--pcg-v2-line);
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 20px;
}

.pcg-v2-contact__details dt {
  color: var(--pcg-v2-muted);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.pcg-v2-contact__details dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.pcg-v2-contact__details a {
  color: var(--pcg-v2-ink);
  text-decoration: none;
}

.pcg-v2-contact__form {
  display: grid;
  gap: 28px;
}

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

.pcg-v2-contact__form label {
  display: grid;
  gap: 9px;
}

.pcg-v2-contact__form label > span {
  color: var(--pcg-v2-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pcg-v2-contact__form input,
.pcg-v2-contact__form textarea {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(23, 32, 22, 0.35);
  border-radius: 0;
  outline: 0;
  color: var(--pcg-v2-ink);
  background: transparent;
  font-family: var(--pcg-v2-font);
  font-size: 1rem;
  transition: border-color 180ms ease;
}

.pcg-v2-contact__form input {
  min-height: 48px;
}

.pcg-v2-contact__form textarea {
  min-height: 130px;
  resize: vertical;
}

.pcg-v2-contact__form input:focus,
.pcg-v2-contact__form textarea:focus {
  border-color: var(--pcg-v2-green);
}

.pcg-v2-contact__form .pcg-v2-button {
  justify-self: start;
}

.pcg-v2-footer {
  padding: clamp(34px, 4vw, 52px) 0 18px;
  color: var(--pcg-v2-white);
  background: #111911;
  transition: box-shadow 350ms ease, outline 350ms ease;
}

.pcg-v2-footer.is-highlighted {
  position: relative !important;
  z-index: 99999 !important;
  outline: 4px solid #ffffff !important;
  outline-offset: -4px;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.4),
    0 0 60px rgba(255, 255, 255, 0.5),
    0 -30px 60px rgba(0, 0, 0, 0.9) !important;
}

.pcg-footer-dim-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.85);
  opacity: 0;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 300ms ease;
}

.pcg-footer-dim-overlay.is-active {
  opacity: 1;
}

.pcg-footer-dim-hint {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  pointer-events: auto;
  cursor: pointer;
  transition: background 160ms ease;
}

.pcg-footer-dim-hint:hover {
  background: rgba(255, 255, 255, 0.28);
}

.pcg-v2-footer__top {
  display: flex;
  padding-bottom: clamp(24px, 3vw, 36px);
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.pcg-v2-footer__intro {
  display: grid;
  gap: 10px;
}

.pcg-v2-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--pcg-v2-white);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-decoration: none;
}

.pcg-v2-footer__brand img {
  width: 40px;
  height: 37px;
}

.pcg-v2-footer__statement {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.92rem, 1.3vw, 1.1rem);
  letter-spacing: -0.01em;
  line-height: 1.4;
}

.pcg-v2-footer__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.pcg-v2-footer__phone {
  display: grid;
  gap: 2px;
  text-align: right;
  color: var(--pcg-v2-white);
  text-decoration: none;
}

.pcg-v2-footer__phone-label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pcg-v2-footer__phone-number {
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  font-weight: 650;
  letter-spacing: -0.01em;
}

.pcg-v2-footer__phone:hover .pcg-v2-footer__phone-number {
  color: var(--pcg-v2-green-soft);
}

.pcg-v2-footer__phone[href^="mailto:"] {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.pcg-v2-footer__phone[href^="mailto:"] .pcg-v2-footer__phone-number {
  font-size: clamp(0.82rem, 1.1vw, 1rem);
  word-break: break-all;
}

.pcg-v2-footer__social {
  display: flex;
  gap: 10px;
}

.pcg-v2-footer__social-link {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--pcg-v2-white);
  text-decoration: none;
  transition: border-color 200ms ease, background-color 200ms ease, color 200ms ease;
}

.pcg-v2-footer__social-link svg {
  width: 18px;
  height: 18px;
}

.pcg-v2-footer__social-link:hover {
  border-color: var(--pcg-v2-green-soft);
  color: var(--pcg-v2-green-soft);
}

.pcg-v2-footer__bottom {
  display: flex;
  padding-top: 16px;
  border-top: 1px solid var(--pcg-v2-line-light);
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}

.pcg-v2-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pcg-v2-hero-drift {
  from {
    transform: scale(1.11);
  }

  to {
    transform: scale(1.08);
  }
}

@media (max-width: 1180px) {
  .pcg-v2-nav {
    gap: 12px;
  }

  .pcg-v2-nav > a {
    font-size: 0.74rem;
  }

  .pcg-v2-hero__content {
    width: min(930px, 90vw);
  }

  .pcg-v2-value__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pcg-v2-value__grid article {
    min-height: 290px;
    border-bottom: 1px solid var(--pcg-v2-line-light);
  }

  .pcg-v2-value__grid article:nth-child(2) {
    border-right: 0;
  }

  .pcg-v2-value__grid article:nth-child(3) {
    padding-left: 0;
  }
}

@media (max-width: 991px) {
  .pcg-v2-header {
    height: auto;
  }

  .pcg-v2-header__inner {
    height: 58px;
  }

  .pcg-v2-header.is-menu-visible {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
  }

  .pcg-v2-menu-toggle {
    position: relative;
    z-index: 3;
    margin-left: auto;
  }

  .pcg-v2-nav {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    padding: 76px var(--pcg-v2-gutter) 42px calc(var(--pcg-v2-gutter) + 14px);
    overflow-y: auto;
    align-items: stretch;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    color: var(--pcg-v2-ink);
    background: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-12px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .pcg-v2-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .pcg-v2-nav::before {
    top: 76px;
    bottom: 108px;
    left: 14px;
    will-change: transform;
    transition: transform 640ms cubic-bezier(0.22, 1, 0.36, 1) 160ms;
  }

  /* When the panel closes, retract the rule quickly and without delay so it
     does not linger after the panel has already faded out. */
  .pcg-v2-nav:not(.is-open)::before {
    transition: transform 220ms cubic-bezier(0.4, 0, 1, 1) 0ms;
  }

  .pcg-v2-nav > a,
  .pcg-v2-nav-item,
  .pcg-v2-nav-item__link,
  .pcg-v2-language {
    max-width: 100%;
  }

  .pcg-v2-nav > a,
  .pcg-v2-nav-item__link {
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 17px 0;
    align-items: center;
    justify-content: space-between;
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .pcg-v2-nav > a,
  .pcg-v2-nav-item {
    border-bottom: 1px solid var(--pcg-v2-line);
  }

  /* On mobile the sub-menu behaves like a new page: it slides in from the
     right as a full overlay, with a Back button in its head. */
  .pcg-v2-nav-sub {
    position: fixed;
    inset: 0;
    z-index: 3;
    display: flex;
    width: 100vw;
    max-width: 100vw;
    height: 100vh;
    margin: 0;
    padding: 76px var(--pcg-v2-gutter) 42px;
    overflow-y: auto;
    flex-direction: column;
    border-left: 0;
    background: var(--pcg-v2-white);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition:
      transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 220ms ease,
      visibility 0s linear 340ms;
    pointer-events: auto;
  }

  .pcg-v2-nav-item.is-open .pcg-v2-nav-sub {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    transition:
      transform 340ms cubic-bezier(0.16, 1, 0.3, 1),
      opacity 220ms ease,
      visibility 0s;
  }

  .pcg-v2-nav-sub__head {
    display: flex;
    min-height: 58px;
    padding: 17px 0;
    border-bottom: 1px solid var(--pcg-v2-line);
    align-items: center;
    gap: 14px;
  }

  .pcg-v2-nav-sub__back {
    display: inline-flex;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--pcg-v2-line);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: var(--pcg-v2-ink);
    background: transparent;
    font-size: 1.1rem;
    cursor: pointer;
  }

  .pcg-v2-nav-sub__title {
    color: var(--pcg-v2-ink);
    font-size: clamp(1.3rem, 4vw, 2rem);
    font-weight: 500;
    letter-spacing: -0.03em;
  }

  .pcg-v2-nav-sub__list {
    grid-template-columns: 1fr;
  }

  .pcg-v2-nav-sub__list a {
    padding: 15px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--pcg-v2-line);
  }

  /* While a sub-menu is open, hide the top-level entries behind it. */
  .pcg-v2-nav-item.is-open > .pcg-v2-nav-item__link {
    visibility: hidden;
  }

  .pcg-v2-nav.has-sub-open > a,
  .pcg-v2-nav.has-sub-open > .pcg-v2-nav-item:not(.is-open),
  .pcg-v2-nav.has-sub-open > .pcg-v2-language,
  .pcg-v2-nav.has-sub-open > .pcg-v2-nav__footer {
    visibility: hidden;
  }

  .pcg-v2-nav > a::after {
    display: none;
  }

  .pcg-v2-nav__footer {
    display: flex;
    width: 100%;
    margin-top: auto;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
  }

  .pcg-v2-nav__social {
    width: auto;
    padding-top: 0;
  }

  .pcg-v2-header__actions {
    display: none;
  }

  .pcg-v2-nav__actions {
    min-width: 0;
    flex: 1 1 auto;
    align-items: center;
    gap: 8px;
  }

  .pcg-v2-nav .pcg-v2-nav__buy,
  .pcg-v2-nav .pcg-v2-nav__login {
    flex: 1 1 0;
    min-width: 0;
    min-height: 44px;
    display: inline-flex;
    margin-top: 0;
    padding: 10px 12px;
    border: 1px solid var(--pcg-v2-ink);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.7rem, 2.8vw, 0.86rem);
    line-height: 1;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Mobile: stack the split head and move the divider to the left edge so it
     frames the kicker + content, with padding so the content clears the line. */
  .pcg-v2-section-head--split {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-left: clamp(16px, 5vw, 24px);
  }

  .pcg-v2-media__vline {
    left: 0;
  }

  .pcg-v2-about__grid,
  .pcg-v2-clients__layout {
    grid-template-columns: 1fr;
  }

  .pcg-v2-about__copy,
  .pcg-v2-clients__copy {
    width: min(680px, 100%);
  }

  .pcg-v2-category-card__copy {
    padding: 20px;
  }

  .pcg-v2-promo__panel {
    grid-template-columns: 1fr;
  }

  .pcg-v2-promo__media {
    order: -1;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .pcg-v2-contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --pcg-v2-gutter: 20px;
  }

  .pcg-v2-section {
    padding-block: 78px;
  }

  .pcg-v2-brand {
    max-width: calc(100vw - 90px);
    font-size: 0.68rem;
  }

  .pcg-v2-brand span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pcg-v2-hero__inner {
    padding-top: 120px;
    padding-bottom: 24px;
  }

  .pcg-v2-hero__content {
    width: 100%;
    padding-bottom: 66px;
  }

  .pcg-v2-hero h1 {
    font-size: clamp(3.25rem, 16vw, 5.6rem);
    line-height: 0.9;
  }

  .pcg-v2-hero__lead {
    margin-top: 22px;
    font-size: 0.98rem;
  }

  .pcg-v2-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .pcg-v2-actions .pcg-v2-button,
  .pcg-v2-actions .pcg-v2-text-link {
    width: 100%;
    justify-content: space-between;
  }

  .pcg-v2-hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    font-size: 0.65rem;
  }

  .pcg-v2-section-head,
  .pcg-v2-section-head--split {
    margin-bottom: 40px;
  }

  .pcg-v2-section-head h2,
  .pcg-v2-about h2,
  .pcg-v2-value h2,
  .pcg-v2-promo h2,
  .pcg-v2-contact h2 {
    font-size: clamp(2.15rem, 11vw, 3.8rem);
  }

  .pcg-v2-about__media {
    aspect-ratio: 1 / 1;
  }

  .pcg-v2-about__media--logo {
    aspect-ratio: auto;
    margin-bottom: 0;
  }

  /* Stacked layout: restore DOM order (logo first, then copy) and swap the
     centre divider for the left/right border frame. */
  .pcg-v2-about__copy,
  .pcg-v2-about__media--logo {
    order: initial;
  }

  .pcg-v2-about__vline {
    display: none;
  }

  .pcg-v2-about__frame {
    display: block;
  }

  .pcg-v2-service-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 16px;
  }

  .pcg-v2-service-row > a {
    grid-column: 2;
    width: 42px;
    height: 42px;
  }

  .pcg-v2-service-row:hover {
    padding-left: 0;
  }

  .pcg-v2-value__grid {
    grid-template-columns: 1fr;
  }

  .pcg-v2-value__grid article,
  .pcg-v2-value__grid article:nth-child(3) {
    min-height: 0;
    padding: 26px 0 34px;
    border-right: 0;
  }

  .pcg-v2-value__grid article > span {
    margin-bottom: 52px;
  }

  .pcg-v2-gallery__grid {
    display: grid;
    grid-auto-rows: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pcg-v2-gallery__item:nth-child(1),
  .pcg-v2-gallery__item:nth-child(2),
  .pcg-v2-gallery__item:nth-child(3),
  .pcg-v2-gallery__item:nth-child(4) {
    grid-column: span 1;
    grid-row: auto;
    aspect-ratio: 1 / 1;
  }

  .pcg-v2-gallery__item:nth-child(1) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 10;
  }

  .pcg-v2-category-grid {
    grid-template-columns: 1fr;
  }

  .pcg-v2-category-card {
    aspect-ratio: 3 / 4;
  }

  .pcg-v2-process__list li {
    min-height: 0;
    grid-template-columns: 66px minmax(0, 1fr);
    gap: 18px;
  }

  .pcg-v2-process__list li > span {
    font-size: 2.3rem;
  }

  .pcg-v2-promo__copy {
    padding: 42px 24px 48px;
  }

  .pcg-v2-quote > p {
    font-size: clamp(1.75rem, 8vw, 3rem);
  }

  .pcg-v2-form-grid {
    grid-template-columns: 1fr;
  }

  .pcg-v2-contact__form .pcg-v2-button {
    width: 100%;
    justify-content: space-between;
  }

  .pcg-v2-footer__top {
    flex-direction: column;
    gap: 24px;
  }

  .pcg-v2-footer__statement {
    text-align: left;
  }

  .pcg-v2-footer__contact {
    justify-content: flex-start;
    width: 100%;
  }

  .pcg-v2-footer__phone {
    text-align: left;
  }

  .pcg-v2-footer__phone[href^="mailto:"] {
    padding-left: 0;
    border-left: 0;
  }

  .pcg-v2-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 479px) {
  .pcg-v2-hero__media img {
    object-position: 66% center;
  }

  .pcg-v2-gallery__grid {
    grid-template-columns: 1fr;
  }

  .pcg-v2-gallery__item:nth-child(1),
  .pcg-v2-gallery__item:nth-child(2),
  .pcg-v2-gallery__item:nth-child(3),
  .pcg-v2-gallery__item:nth-child(4) {
    grid-column: 1;
    aspect-ratio: 4 / 3;
  }

  .pcg-v2-contact__details > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcg-v2-hero__media img {
    animation: none;
  }

  .pcg-v2-about__media--logo img {
    animation: none;
  }

  .pcg-v2-summary__media--float .pcg-tilt {
    animation: none;
    transform: none;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .pcg-v2-quote-slider__track,
  .pcg-v2-gallery__item img,
  .pcg-v2-category-card::after,
  .pcg-v2-vline,
  .pcg-v2-service-row {
    transition: none;
  }

  .pcg-v2-line-decor__stroke {
    transition: none;
    stroke-dashoffset: 0;
  }
}

/* -----------------------------------------------------------------------
   Parallax media (Hero, About/Value divider, Promo)
----------------------------------------------------------------------- */

.pcg-v2-parallax-frame {
  position: relative;
  overflow: hidden;
}

img.pcg-v2-parallax-img {
  position: relative;
  top: -16%;
  width: 100%;
  height: 132%;
  object-fit: cover;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .pcg-v2-parallax-img {
    top: 0;
    height: 100%;
    transform: none !important;
  }
}

/* -----------------------------------------------------------------------
   Minimal architectural line dividers (scroll-drawn)
----------------------------------------------------------------------- */

.pcg-v2-line-decor {
  position: relative;
  width: 100%;
  height: clamp(64px, 9vw, 120px);
  margin-inline: auto;
  overflow: visible;
  pointer-events: none;
}

.pcg-v2-line-decor svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.pcg-v2-line-decor__stroke {
  fill: none;
  stroke: var(--pcg-v2-line);
  stroke-width: 1;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  transition: stroke-dashoffset 1800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.pcg-v2-line-decor__stroke--accent {
  stroke: var(--pcg-v2-green-soft);
}

.pcg-v2-line-decor__stroke--v {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition-delay: 260ms;
}

.pcg-v2-line-decor__stroke--dot {
  stroke-dasharray: 6 10;
  stroke-dashoffset: 0;
  opacity: 0;
  transition: opacity 900ms ease 700ms;
}

.pcg-v2-line-decor.is-visible .pcg-v2-line-decor__stroke {
  stroke-dashoffset: 0;
}

.pcg-v2-line-decor.is-visible .pcg-v2-line-decor__stroke--dot {
  opacity: 0.6;
}

.pcg-v2-line-decor--dark {
  --pcg-v2-line: rgba(255, 255, 255, 0.22);
}

/* -----------------------------------------------------------------------
   Inner pages (What We Do / About / Media) shared shell
----------------------------------------------------------------------- */

.pcg-inner-page .pcg-v2-header {
  color: var(--pcg-v2-ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.pcg-inner-page .pcg-v2-header::after {
  background: var(--pcg-v2-line);
}

/* Inner page with a full-bleed hero: navbar starts transparent on the image
   (white text) and switches to the solid background once scrolled. */
.pcg-hero-page .pcg-v2-header {
  color: var(--pcg-v2-white);
  background: transparent;
  backdrop-filter: none;
}

.pcg-hero-page .pcg-v2-header::after {
  background: rgba(255, 255, 255, 0.22);
}

.pcg-hero-page .pcg-v2-header.is-scrolled,
.pcg-hero-page .pcg-v2-header.is-menu-visible {
  color: var(--pcg-v2-ink);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

.pcg-hero-page .pcg-v2-header.is-scrolled::after,
.pcg-hero-page .pcg-v2-header.is-menu-visible::after {
  background: var(--pcg-v2-line);
}

.pcg-v2-page-header {
  position: relative;
  padding-top: clamp(150px, 20vw, 210px);
  padding-bottom: clamp(56px, 7vw, 96px);
  background: var(--pcg-v2-white);
}

.pcg-v2-page-header h1 {
  max-width: 900px;
  color: var(--pcg-v2-ink);
  font-family: var(--pcg-v2-font);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.pcg-v2-page-header__lead {
  max-width: 640px;
  margin-top: 22px;
  color: var(--pcg-v2-muted);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.65;
}

/* Animated underline divider between the Media page header and the gallery.
   The line draws itself from left to right as it enters the viewport,
   driven by the shared [data-reveal] -> .is-visible observer. */
.pcg-v2-media-divider {
  width: min(calc(100% - (var(--pcg-v2-gutter) * 2)), var(--pcg-v2-shell));
  height: 1px;
  margin-block: clamp(28px, 4vw, 48px);
  margin-inline: auto;
}

.pcg-v2-media-divider__line {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--pcg-v2-ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1200ms cubic-bezier(0.65, 0, 0.35, 1);
}

.pcg-v2-media-divider.is-visible .pcg-v2-media-divider__line {
  transform: scaleX(1);
}

.pcg-v2-page-header__jump {
  display: flex;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.pcg-v2-page-header__jump a {
  padding: 9px 16px;
  border: 1px solid var(--pcg-v2-line);
  border-radius: 999px;
  color: var(--pcg-v2-ink);
  font-size: 0.78rem;
  font-weight: 650;
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.pcg-v2-page-header__jump a:hover {
  border-color: var(--pcg-v2-green);
  background: var(--pcg-v2-white);
}

/* -----------------------------------------------------------------------
   Homepage summary sections: What We Do / Media
----------------------------------------------------------------------- */

.pcg-v2-summary__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  grid-template-areas:
    "lead media"
    "body media";
  grid-template-rows: auto auto;
  align-items: start;
  column-gap: clamp(32px, 6vw, 90px);
  row-gap: 26px;
}

.pcg-v2-summary__lead {
  grid-area: lead;
  min-width: 0;
}

.pcg-v2-summary__body {
  grid-area: body;
  min-width: 0;
}

.pcg-v2-summary__media {
  grid-area: media;
  min-width: 0;
}

/* The lead drifts slightly on scroll; keep it on its own layer so the text
   moves smoothly instead of repainting the whole column. */
.pcg-v2-summary--what-we-do .pcg-v2-summary__lead {
  will-change: transform;
  backface-visibility: hidden;
}

.pcg-v2-summary__lead h2 {
  max-width: 100%;
  text-wrap: balance;
}

.pcg-v2-summary__body p {
  max-width: 100%;
  color: var(--pcg-v2-muted);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.7;
}

.pcg-v2-summary__points {
  display: grid;
  margin-top: 30px;
  gap: 0;
}

.pcg-v2-summary__points li {
  display: grid;
  padding-block: 18px;
  border-top: 1px solid var(--pcg-v2-line);
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: baseline;
}

.pcg-v2-summary__points li:last-child {
  border-bottom: 1px solid var(--pcg-v2-line);
}

.pcg-v2-summary__points > li > span {
  color: var(--pcg-v2-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pcg-v2-summary__points h3 {
  color: var(--pcg-v2-ink);
  font-size: 1.02rem;
  font-weight: 600;
}

/* Keep inline "notranslate" fragments (e.g. "R&D") visually identical
   to the surrounding heading text instead of inheriting the small green
   styling meant for the leading number badge. */
.pcg-v2-summary__points h3 span {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
}

.pcg-v2-summary__cta {
  margin-top: 34px;
}

.pcg-v2-section-head__content .pcg-v2-summary__cta {
  margin-top: 0;
}

.pcg-v2-summary__media {
  display: grid;
  gap: 16px;
}

.pcg-v2-summary__media figure {
  margin: 0;
  overflow: hidden;
  background: var(--pcg-v2-cream);
  aspect-ratio: 4 / 3;
}

.pcg-v2-summary__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating diagonal photos: two similar-sized shots offset on a diagonal
   so they read as separate, gently drifting images rather than a stack.
   The drift comes from the shared parallax system (different speeds,
   same direction). */
.pcg-v2-summary__media--float {
  position: relative;
  display: block;
  min-height: clamp(360px, 42vw, 560px);
  /* Let the ring/graphics breathe slightly past the media box without being
     clipped. */
  overflow: visible;
}

.pcg-v2-summary__media--float .pcg-v2-summary__shot {
  position: absolute;
  width: min(74%, 380px);
  aspect-ratio: 4 / 3;
  border-radius: 0;
  /* Perspective lives on the parent so the rotating card reads as 3D without
     the card itself carrying a clipping perspective box. The card never
     clips, so it can't slice the ring behind it. z-index keeps the cards
     above the ring. */
  overflow: visible;
  z-index: 1;
  perspective: 800px;
  box-shadow: none;
}

.pcg-v2-summary__media--float .pcg-v2-summary__shot--a {
  top: 0;
  left: 0;
}

.pcg-v2-summary__media--float .pcg-v2-summary__shot--b {
  right: 0;
  bottom: 0;
  width: min(66%, 340px);
  aspect-ratio: 16 / 11;
  box-shadow: none;
}

/* Static photo filling the card. Parallax inside the card is intentionally
   removed: a drifting photo needs a clipping frame, and a clipping frame
   rotating in 3D sliced the ring behind the card. */
.pcg-v2-summary__media--float .pcg-v2-summary__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Spinning wrapper: fills the frame and rocks back and forth ~15deg around
   the Y axis on a loop. Kept separate from the figure (the parallax target)
   so the two transforms never overwrite each other.
   IMPORTANT: no overflow:hidden and no preserve-3d here. A clipping box
   rotating in 3D sliced the ring behind the card, so the card is left
   unclipped and the photo inside is static (no parallax) to compensate. */
.pcg-v2-summary__media--float .pcg-tilt {
  position: absolute;
  inset: 0;
  display: block;
  background: var(--pcg-v2-cream);
  animation: pcg-tilt-spin 8s ease-in-out infinite;
  transform-origin: 50% 50%;
  will-change: transform;
}

@keyframes pcg-tilt-spin {
  0% {
    transform: rotateY(-15deg);
  }
  50% {
    transform: rotateY(15deg);
  }
  100% {
    transform: rotateY(-15deg);
  }
}

/* Large "O" ring drawn behind the two photos. The stroke draws itself in
   from the top (12 o'clock) when the section scrolls into view and retracts
   when it scrolls back out, using the stroke-dash technique (offset = full
   length means "not drawn"). */
.pcg-v2-summary__media--float .pcg-v2-summary__arc {
  position: absolute;
  top: 50%;
  left: 50%;
  /* A square, centred ring that frames both photos. Kept a touch narrower
     than the media box so its left/right edges never reach the viewport
     boundary — the page clips horizontal overflow, which was slicing the
     ring. */
  width: min(100%, calc(100% - 24px));
  height: auto;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%) translateZ(0);
  color: var(--pcg-v2-ink);
  pointer-events: none;
  z-index: 0;
}

.pcg-v2-summary__media--float .pcg-v2-summary__arc-path {
  /* Circumference of a circle r=186 in a 400-unit viewBox: 2 * PI * 186. */
  stroke-dasharray: 1168.7;
  stroke-dashoffset: 1168.7;
  opacity: 0;
  /* Start drawing from 12 o'clock instead of the default 3 o'clock. */
  transform: rotate(-90deg);
  transform-origin: 200px 200px;
  transition:
    stroke-dashoffset 1.6s cubic-bezier(0.65, 0, 0.35, 1),
    opacity 500ms ease;
}

.pcg-v2-summary__media--float .pcg-v2-summary__arc.is-visible .pcg-v2-summary__arc-path {
  stroke-dashoffset: 0;
  opacity: 1;
}


@media (max-width: 900px) {
  /* Mobile/tablet: stack as headline (top) -> media (middle) -> rest (bottom),
     so the copy never gets squeezed into a narrow column beside the photos. */
  .pcg-v2-summary__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "lead"
      "media"
      "body";
    grid-template-rows: auto;
    row-gap: 28px;
  }

  .pcg-v2-summary__lead,
  .pcg-v2-summary__body {
    width: 100%;
    max-width: 100%;
  }

  .pcg-v2-summary__lead h2,
  .pcg-v2-summary__body p {
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .pcg-v2-summary--what-we-do .pcg-v2-summary__lead {
    will-change: auto;
    backface-visibility: visible;
    transform: none !important;
  }
}

@media (max-width: 767px) {
  .pcg-v2-summary__media--float {
    min-height: clamp(300px, 84vw, 420px);
  }

  .pcg-v2-summary__media--float .pcg-v2-summary__shot {
    width: 66%;
    border-radius: 0;
    box-shadow: none;
  }

  .pcg-v2-summary__media--float .pcg-v2-summary__shot--b {
    width: 60%;
    box-shadow: none;
  }
}

/* -----------------------------------------------------------------------
   OEM / ODM manufacturing-model rows (What We Do page)
----------------------------------------------------------------------- */

.pcg-v2-model {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

.pcg-v2-model--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
}

.pcg-v2-model--reverse .pcg-v2-model__media {
  order: 2;
}

.pcg-v2-model__media {
  margin: 0;
  overflow: hidden;
  background: var(--pcg-v2-cream);
  aspect-ratio: 4 / 3;
}

.pcg-v2-model__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pcg-v2-model__copy .pcg-v2-kicker {
  margin-bottom: 14px;
}

.pcg-v2-model__copy h3 {
  max-width: 480px;
  margin-bottom: 16px;
  color: var(--pcg-v2-ink);
  font-family: var(--pcg-v2-font);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.pcg-v2-model__copy p {
  max-width: 480px;
  margin-bottom: 20px;
  color: var(--pcg-v2-muted);
  line-height: 1.7;
}

.pcg-v2-model__list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.pcg-v2-model__list li {
  position: relative;
  padding-left: 22px;
  color: var(--pcg-v2-ink);
  font-size: 0.94rem;
}

.pcg-v2-model__list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 12px;
  height: 1px;
  background: var(--pcg-v2-green);
}

.pcg-v2-models {
  display: grid;
  gap: clamp(56px, 8vw, 100px);
}

.pcg-v2-oem {
  background: var(--pcg-v2-white);
}

.pcg-v2-odm {
  background: var(--pcg-v2-cream);
}

.pcg-v2-summary {
  background: var(--pcg-v2-cream);
}

@media (max-width: 900px) {
  .pcg-v2-model,
  .pcg-v2-model--reverse {
    grid-template-columns: 1fr;
  }

  .pcg-v2-model--reverse .pcg-v2-model__media {
    order: 0;
  }
}

/* -----------------------------------------------------------------------
   Our Clients — logo / type grid (What We Do page)
----------------------------------------------------------------------- */

.pcg-v2-client-marquee {
  overflow: hidden;
  margin-bottom: clamp(24px, 3vw, 40px);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.pcg-v2-client-marquee__track {
  display: flex;
  width: max-content;
  animation: pcg-v2-marquee 32s linear infinite;
  gap: clamp(28px, 4vw, 56px);
}

.pcg-v2-client-marquee__item {
  display: flex;
  padding: 14px 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--pcg-v2-line);
  border-radius: 999px;
  color: var(--pcg-v2-muted);
  font-size: 0.86rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pcg-v2-client-marquee:hover .pcg-v2-client-marquee__track {
  animation-play-state: paused;
}

@keyframes pcg-v2-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcg-v2-client-marquee__track {
    animation: none;
  }
}

.pcg-v2-client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--pcg-v2-line);
  background: var(--pcg-v2-line);
}

.pcg-v2-client-grid__tile {
  display: flex;
  min-height: 130px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  background: var(--pcg-v2-white);
  color: var(--pcg-v2-ink);
  font-size: 0.92rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-align: center;
}

.pcg-v2-client-note {
  max-width: 640px;
  margin-top: 22px;
  color: var(--pcg-v2-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .pcg-v2-client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -----------------------------------------------------------------------
   Parallax section divider band (About page: between Overview & Value)
----------------------------------------------------------------------- */

.pcg-v2-divider {
  position: relative;
  height: clamp(280px, 40vw, 460px);
  overflow: hidden;
  color: var(--pcg-v2-white);
  background: var(--pcg-v2-green-deep);
}

/* Extra parallax slack so the divider image can drift further (up to
   data-parallax-max) without ever revealing a blank edge. Scoped to the
   divider so the shared .pcg-v2-parallax-img rules (promo, categories)
   are left untouched. */
.pcg-v2-divider .pcg-v2-parallax-img {
  top: -30%;
  height: 160%;
}

/* Mobile: taller band so the drift lasts longer without over-zooming. */
@media (max-width: 767px) {
  .pcg-v2-divider {
    height: clamp(320px, 70vw, 440px);
  }

  .pcg-v2-divider .pcg-v2-parallax-img {
    top: -26%;
    height: 152%;
  }
}

.pcg-v2-divider__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(13, 29, 17, 0.55) 0%, rgba(13, 29, 17, 0.72) 100%);
}

.pcg-v2-divider__content {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.pcg-v2-divider__content p {
  max-width: 620px;
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--pcg-v2-font);
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  font-weight: 450;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

/* -----------------------------------------------------------------------
   Media page — expanded gallery grid
----------------------------------------------------------------------- */

.pcg-v2-gallery__grid--full {
  grid-auto-flow: dense;
}

.pcg-v2-gallery__grid--full .pcg-v2-gallery__item {
  grid-column: span 4;
  grid-row: span 1;
}

.pcg-v2-gallery__grid--full .pcg-v2-gallery__item--wide {
  grid-column: span 8;
}

.pcg-v2-gallery__grid--full .pcg-v2-gallery__item--portrait {
  grid-column: span 4;
  grid-row: span 2;
}

@media (max-width: 900px) {
  .pcg-v2-gallery__grid--full .pcg-v2-gallery__item,
  .pcg-v2-gallery__grid--full .pcg-v2-gallery__item--wide,
  .pcg-v2-gallery__grid--full .pcg-v2-gallery__item--portrait {
    grid-column: span 6;
    grid-row: span 1;
  }
}

@media (max-width: 479px) {
  .pcg-v2-gallery__grid--full .pcg-v2-gallery__item,
  .pcg-v2-gallery__grid--full .pcg-v2-gallery__item--wide,
  .pcg-v2-gallery__grid--full .pcg-v2-gallery__item--portrait {
    grid-column: span 12;
  }
}
