:root {
  --pm-night: #071018;
  --pm-night-soft: #0c1822;
  --pm-paper: #f3f2ee;
  --pm-paper-deep: #e9e7e1;
  --pm-white: #ffffff;
  --pm-ink: #14232d;
  --pm-muted: #64727a;
  --pm-blue: #3f9cd8;
  --pm-blue-dark: #267cb5;
  --pm-brass: #b4925d;
  --pm-line: rgba(20, 35, 45, 0.13);
  --pm-line-light: rgba(255, 255, 255, 0.16);
  --pm-shadow: 0 24px 70px rgba(7, 16, 24, 0.12);
  --pm-radius: 24px;
  --pm-radius-small: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--pm-paper);
  color: var(--pm-ink);
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a {
  text-underline-offset: 0.2em;
}

img {
  display: block;
}

.site-header,
header {
  background: rgba(7, 16, 24, 0.97);
  border-bottom: 1px solid var(--pm-line-light);
}

.primary-nav {
  min-height: 84px;
  padding-inline: clamp(20px, 4vw, 70px);
}

.primary-nav .brand,
.primary-nav .logo,
.primary-nav > a:first-child {
  filter: none;
}

.primary-nav ul a {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.primary-nav ul a:hover,
.primary-nav ul a:focus-visible,
.primary-nav ul a.active {
  color: var(--pm-white);
}

.primary-nav ul a.active::after {
  background: var(--pm-blue);
}

.primary-nav .submenu {
  background: var(--pm-night-soft);
  border: 1px solid var(--pm-line-light);
  border-radius: 0 0 12px 12px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.primary-nav .submenu a {
  text-transform: none;
}

.language-switcher a {
  border-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.language-switcher a.active,
.language-switcher a:hover {
  background: var(--pm-white);
  color: var(--pm-night);
}

.mobile-menu-toggle {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--pm-white);
}

.content-shell {
  background: var(--pm-paper);
}

.content-shell:not(.home-modern) {
  padding-top: clamp(38px, 6vw, 90px);
  padding-bottom: clamp(60px, 8vw, 120px);
}

.content-shell:not(.home-modern) > .mod_article,
.content-shell:not(.home-modern) > article,
.content-shell:not(.home-modern) > section {
  margin-inline: auto;
  max-width: 1240px;
}

.content-shell:not(.home-modern) h1,
.content-shell:not(.home-modern) h2,
.content-shell:not(.home-modern) h3 {
  color: var(--pm-ink);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.content-shell:not(.home-modern) h1 {
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  margin-bottom: 0.42em;
}

.content-shell:not(.home-modern) h2 {
  font-size: clamp(1.85rem, 3.3vw, 3.2rem);
}

.content-shell:not(.home-modern) .ce_text,
.content-shell:not(.home-modern) .ce_image,
.content-shell:not(.home-modern) .product-card,
.content-shell:not(.home-modern) .history-strip,
.content-shell:not(.home-modern) .contact-card {
  background: var(--pm-white);
  border: 1px solid var(--pm-line);
  border-radius: var(--pm-radius);
  box-shadow: 0 15px 45px rgba(7, 16, 24, 0.06);
}

.content-shell:not(.home-modern) .ce_text,
.content-shell:not(.home-modern) .contact-card {
  padding: clamp(25px, 4vw, 54px);
}

.content-shell:not(.home-modern) .ce_image {
  overflow: hidden;
}

.content-shell:not(.home-modern) .ce_image img,
.content-shell:not(.home-modern) .product-card img {
  height: auto;
  width: 100%;
}

.content-shell:not(.home-modern) .button,
.content-shell:not(.home-modern) .btn,
.content-shell:not(.home-modern) .more {
  background: var(--pm-night);
  border: 1px solid var(--pm-night);
  border-radius: 999px;
  color: var(--pm-white);
  display: inline-flex;
  font-weight: 650;
  padding: 12px 22px;
  text-decoration: none;
}

.content-shell:not(.home-modern) .button:hover,
.content-shell:not(.home-modern) .btn:hover,
.content-shell:not(.home-modern) .more:hover {
  background: var(--pm-blue-dark);
  border-color: var(--pm-blue-dark);
}

.references-page .content-shell h1,
.references-page .content-shell h2,
.references-page .content-shell h3,
.references-page .content-shell .section-heading h2 {
  color: var(--pm-white);
}

.home-modern {
  background: var(--pm-paper);
  color: var(--pm-ink);
  max-width: none !important;
  padding: 0 !important;
}

.home-modern section {
  position: relative;
}

.pm-eyebrow {
  align-items: center;
  color: var(--pm-blue);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 750;
  gap: 10px;
  letter-spacing: 0.16em;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.pm-kicker {
  color: var(--pm-blue);
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.pm-eyebrow::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 30px;
}

.pm-eyebrow-light {
  color: #8bc8ee;
}

.pm-hero {
  background:
    radial-gradient(circle at 18% 12%, rgba(63, 156, 216, 0.15), transparent 34%),
    var(--pm-night);
  color: var(--pm-white);
  display: grid;
  grid-template-columns: minmax(0, 0.83fr) minmax(520px, 1.17fr);
  min-height: min(840px, calc(100vh - 84px));
  overflow: hidden;
}

.pm-hero-copy {
  align-self: start;
  padding: clamp(70px, 8vw, 132px) clamp(35px, 6vw, 110px);
  position: relative;
  z-index: 2;
}

.pm-hero h1 {
  color: var(--pm-white);
  font-size: clamp(3.4rem, 6.3vw, 7.2rem);
  font-weight: 580;
  letter-spacing: -0.06em;
  line-height: 0.94;
  margin: 0;
  max-width: 880px;
}

.pm-hero-lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  line-height: 1.55;
  margin: 32px 0 0;
  max-width: 590px;
}

.pm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 42px;
}

.pm-button {
  align-items: center;
  background: var(--pm-blue);
  border: 1px solid var(--pm-blue);
  border-radius: 999px;
  color: var(--pm-white);
  display: inline-flex;
  font-size: 0.94rem;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  min-height: 52px;
  padding: 13px 25px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.pm-button::after {
  content: "→";
  font-size: 1.15em;
}

.pm-button:hover,
.pm-button:focus-visible {
  background: var(--pm-blue-dark);
  border-color: var(--pm-blue-dark);
  color: var(--pm-white);
  transform: translateY(-2px);
}

.pm-button-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.26);
}

.pm-button-ghost:hover,
.pm-button-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.48);
}

.pm-hero-meta {
  border-top: 1px solid var(--pm-line-light);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  padding-top: 24px;
}

.pm-hero-meta strong,
.pm-hero-meta span {
  display: block;
}

.pm-hero-meta strong {
  color: var(--pm-white);
  font-size: 1.08rem;
  font-weight: 650;
}

.pm-hero-meta span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  margin-top: 3px;
}

.pm-hero-visual {
  display: grid;
  grid-template-columns: 1.42fr 0.78fr;
  min-height: 720px;
  position: relative;
}

.pm-hero-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(230px, 0.72fr);
  grid-template-rows: minmax(0, 1fr) 170px;
  max-height: 900px;
  min-height: 760px;
  overflow: hidden;
  position: relative;
}

.pm-hero-gallery figure {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.pm-hero-main {
  grid-row: 1 / 3;
}

.pm-hero-secondary {
  grid-column: 2;
  grid-row: 1;
}

.pm-hero-gallery figure::after {
  display: none;
}

.pm-hero-gallery figure img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.pm-hero-gallery figure:hover img {
  transform: scale(1.025);
}

.pm-hero-gallery figcaption {
  bottom: 22px;
  color: var(--pm-white);
  left: 24px;
  position: absolute;
  right: 22px;
  z-index: 2;
}

.pm-hero-gallery figcaption span,
.pm-hero-gallery figcaption strong {
  display: block;
}

.pm-hero-gallery figcaption span {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.pm-hero-gallery figcaption strong {
  font-size: 1rem;
  margin-top: 3px;
}

.pm-made {
  align-content: center;
  background: var(--pm-blue-dark);
  display: grid;
  grid-column: 2;
  grid-row: 2;
  padding: 25px;
}

.pm-made span,
.pm-made strong,
.pm-made small {
  display: block;
}

.pm-made span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.pm-made strong {
  color: var(--pm-white);
  font-size: 1rem;
  line-height: 1.25;
  margin-top: 8px;
}

.pm-made small {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 3px;
}

.pm-hero-image {
  margin: 0;
  min-height: 0;
  overflow: hidden;
  position: relative;
}

.pm-hero-image-main {
  grid-row: 1 / span 2;
}

.pm-hero-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.pm-hero-image::after {
  background: linear-gradient(to top, rgba(7, 16, 24, 0.72), transparent 52%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.pm-hero-image:hover img {
  transform: scale(1.025);
}

.pm-hero-image figcaption {
  bottom: 20px;
  color: var(--pm-white);
  font-size: 0.78rem;
  font-weight: 650;
  left: 22px;
  letter-spacing: 0.04em;
  position: absolute;
  right: 20px;
  z-index: 2;
}

.pm-proof {
  background: var(--pm-white);
  border-bottom: 1px solid var(--pm-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 0 clamp(25px, 6vw, 110px);
}

.pm-proof article {
  border-right: 1px solid var(--pm-line);
  padding: 34px clamp(18px, 3vw, 42px);
}

.pm-proof > div {
  border-right: 1px solid var(--pm-line);
  padding: 34px clamp(18px, 3vw, 42px);
}

.pm-proof > div:first-child {
  border-left: 1px solid var(--pm-line);
}

.pm-proof > div > span,
.pm-proof > div > strong,
.pm-proof > div > small {
  display: block;
}

.pm-proof > div > span {
  color: var(--pm-blue-dark);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.pm-proof > div > strong {
  font-size: 1rem;
  margin-top: 9px;
}

.pm-proof > div > small {
  color: var(--pm-muted);
  margin-top: 2px;
}

.pm-proof article:first-child {
  border-left: 1px solid var(--pm-line);
}

.pm-proof strong,
.pm-proof span {
  display: block;
}

.pm-proof strong {
  font-size: 1rem;
  font-weight: 720;
}

.pm-proof span {
  color: var(--pm-muted);
  font-size: 0.86rem;
  margin-top: 4px;
}

.pm-intro {
  display: grid;
  gap: clamp(30px, 6vw, 100px);
  grid-template-columns: 0.55fr 1.15fr 0.75fr;
  margin-inline: auto;
  max-width: 1500px;
  padding: clamp(90px, 11vw, 170px) clamp(25px, 6vw, 100px);
}

.pm-intro h2,
.pm-section-head h2,
.pm-contact h2 {
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}

.pm-intro-copy {
  color: var(--pm-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  margin: 0;
}

.pm-intro-aside {
  border-left: 1px solid var(--pm-line);
  margin: 0;
  padding-left: clamp(24px, 4vw, 52px);
}

.pm-intro-aside strong {
  color: var(--pm-brass);
  display: block;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 520;
  letter-spacing: -0.06em;
  line-height: 1;
}

.pm-intro-aside span {
  color: var(--pm-muted);
  display: block;
  margin-top: 12px;
}

.pm-section-label span {
  color: var(--pm-blue-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-intro-copy h2 {
  color: var(--pm-ink);
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 0;
}

.pm-section-head:not(.pm-section-head-light) h2 {
  color: var(--pm-ink);
}

.pm-intro-copy > p {
  color: var(--pm-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
  margin: 30px 0 0;
}

.pm-text-link {
  color: var(--pm-ink);
  display: inline-flex;
  font-weight: 700;
  gap: 9px;
  margin-top: 32px;
  text-decoration: none;
}

.pm-text-link:hover {
  color: var(--pm-blue-dark);
}

.pm-intro-note {
  border-left: 1px solid var(--pm-line);
  padding-left: clamp(24px, 4vw, 52px);
}

.pm-intro-note p {
  font-weight: 650;
  margin-top: 0;
}

.pm-intro-note ul {
  color: var(--pm-muted);
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
}

.pm-intro-note li {
  border-top: 1px solid var(--pm-line);
  padding: 13px 0;
}

.pm-services {
  background: var(--pm-paper-deep);
  padding: clamp(80px, 10vw, 150px) clamp(25px, 6vw, 100px);
}

.pm-section-head {
  align-items: end;
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr auto;
  margin: 0 auto clamp(45px, 6vw, 80px);
  max-width: 1500px;
}

.pm-section-head p {
  color: var(--pm-muted);
  margin: 0;
  max-width: 510px;
}

.pm-section-head-light h2 {
  color: var(--pm-white);
}

.pm-section-head-light p {
  color: rgba(255, 255, 255, 0.58);
}

.pm-service-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, 1fr);
  margin: 0 auto;
  max-width: 1500px;
}

.pm-service-card {
  background: var(--pm-white);
  border-radius: var(--pm-radius);
  box-shadow: 0 18px 50px rgba(7, 16, 24, 0.07);
  color: var(--pm-ink);
  min-height: 580px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.pm-service-card {
  grid-column: span 2;
}

.pm-service-card:nth-child(4),
.pm-service-card:nth-child(5) {
  grid-column: span 3;
}

.pm-service-card > a {
  color: var(--pm-ink);
  display: block;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.pm-service-card img {
  height: 58%;
  object-fit: cover;
  transition: transform 550ms ease;
  width: 100%;
}

.pm-service-card:hover img {
  transform: scale(1.025);
}

.pm-service-card div {
  padding: 28px 30px 34px;
}

.pm-service-card small {
  color: var(--pm-blue-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-card-number {
  background: var(--pm-white);
  border-radius: 999px;
  color: var(--pm-blue-dark);
  font-size: 0.72rem;
  font-weight: 750;
  height: 42px;
  left: 24px;
  line-height: 42px;
  position: absolute;
  text-align: center;
  top: calc(58% - 21px);
  width: 42px;
}

.pm-service-card div > p {
  color: var(--pm-blue-dark);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin: 0;
  text-transform: uppercase;
}

.pm-service-card div > span {
  color: var(--pm-ink);
  display: inline-block;
  font-weight: 700;
  margin-top: 6px;
}

.pm-service-card h3 {
  font-size: clamp(1.65rem, 2.3vw, 2.45rem);
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 13px 0 12px;
}

.pm-service-card p {
  color: var(--pm-muted);
  margin: 0;
}

.pm-projects {
  background: var(--pm-night);
  color: var(--pm-white);
  padding: clamp(90px, 11vw, 165px) clamp(25px, 6vw, 100px);
}

.pm-project-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(12, 1fr);
  margin: 0 auto;
  max-width: 1500px;
}

.pm-project-card {
  color: var(--pm-white);
  grid-column: span 6;
  min-height: 620px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
}

.pm-project-card:nth-child(1),
.pm-project-card:nth-child(4) {
  grid-column: span 7;
}

.pm-project-card:nth-child(2),
.pm-project-card:nth-child(3) {
  grid-column: span 5;
}

.pm-project-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 650ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.pm-project-card::after {
  display: none;
}

.pm-project-card:hover img {
  transform: scale(1.035);
}

.pm-project-card div {
  bottom: 0;
  left: 0;
  padding: clamp(26px, 4vw, 50px);
  position: absolute;
  right: 0;
  z-index: 2;
}

.pm-project-card > span {
  bottom: 0;
  left: 0;
  padding: clamp(26px, 4vw, 50px);
  position: absolute;
  right: 0;
  z-index: 2;
}

.pm-project-card > span small,
.pm-project-card > span strong {
  display: block;
}

.pm-project-card > span small {
  color: #9bd2f3;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.pm-project-card > span strong {
  color: var(--pm-white);
  font-size: clamp(2rem, 3vw, 3.7rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin-top: 12px;
}

.pm-project-card small {
  color: #9bd2f3;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-project-card h3 {
  color: var(--pm-white);
  font-size: clamp(2rem, 3vw, 3.7rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 12px 0 0;
}

.pm-process {
  margin-inline: auto;
  max-width: 1500px;
  padding: clamp(90px, 11vw, 160px) clamp(25px, 6vw, 100px);
}

.pm-process-grid {
  border-top: 1px solid var(--pm-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(45px, 7vw, 90px);
}

.pm-process > ol {
  border-top: 1px solid var(--pm-line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: clamp(45px, 7vw, 90px) 0 0;
  padding: 0;
}

.pm-process > ol > li {
  border-right: 1px solid var(--pm-line);
  padding: 30px clamp(20px, 3vw, 38px) 20px;
}

.pm-process > ol > li:first-child {
  border-left: 1px solid var(--pm-line);
}

.pm-process > ol > li > span {
  color: var(--pm-blue-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.pm-process > ol h3 {
  color: var(--pm-ink);
  font-size: 1.45rem;
  letter-spacing: -0.035em;
  margin: 35px 0 12px;
}

.pm-process > ol p {
  color: var(--pm-muted);
  font-size: 0.95rem;
  margin: 0;
}

.pm-process-grid article {
  border-right: 1px solid var(--pm-line);
  padding: 30px clamp(20px, 3vw, 38px) 20px;
}

.pm-process-grid article:first-child {
  border-left: 1px solid var(--pm-line);
}

.pm-process-grid span {
  color: var(--pm-blue-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.pm-process-grid h3 {
  color: var(--pm-ink);
  font-size: 1.45rem;
  letter-spacing: -0.035em;
  margin: 35px 0 12px;
}

.pm-process-grid p {
  color: var(--pm-muted);
  font-size: 0.95rem;
  margin: 0;
}

.pm-references {
  background: var(--pm-white);
  border-block: 1px solid var(--pm-line);
  padding: 44px clamp(25px, 6vw, 100px);
}

.pm-references-inner {
  align-items: center;
  display: grid;
  gap: 35px;
  grid-template-columns: auto 1fr;
  margin-inline: auto;
  max-width: 1500px;
}

.pm-references strong {
  color: var(--pm-muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.pm-references > p {
  color: var(--pm-muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  margin: 0 auto 25px;
  max-width: 1500px;
  text-transform: uppercase;
}

.pm-references > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 15px 34px;
  justify-content: space-between;
  margin-inline: auto;
  max-width: 1500px;
}

.pm-references > div span {
  color: var(--pm-ink);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 650;
}

.pm-brand-list {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  justify-content: space-between;
}

.pm-brand-list span {
  color: var(--pm-ink);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 650;
}

.pm-contact {
  background:
    radial-gradient(circle at 78% 22%, rgba(63, 156, 216, 0.22), transparent 35%),
    var(--pm-night-soft);
  color: var(--pm-white);
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr auto;
  padding: clamp(90px, 11vw, 165px) clamp(25px, 8vw, 140px);
}

.pm-contact h2 {
  color: var(--pm-white);
  max-width: 980px;
}

.pm-contact p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.08rem;
  margin: 28px 0 0;
  max-width: 620px;
}

.pm-contact .pm-actions {
  align-items: center;
  align-self: center;
  flex-direction: column;
  margin: 0;
}

.pm-contact > div:last-child {
  align-self: center;
  max-width: 620px;
}

.site-footer,
footer {
  background: #050c12;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.site-footer a,
footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
footer a:hover {
  color: var(--pm-white);
}

@media (max-width: 1180px) {
  .pm-hero {
    grid-template-columns: 1fr;
  }

  .pm-hero-visual {
    min-height: 670px;
  }

  .pm-hero-gallery {
    max-height: none;
    min-height: 670px;
  }

  .pm-intro {
    grid-template-columns: 1fr 1fr;
  }

  .pm-intro > div:first-child {
    grid-column: 1 / -1;
  }

  .pm-service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-service-card,
  .pm-service-card:nth-child(4),
  .pm-service-card:nth-child(5) {
    grid-column: auto;
  }

  .pm-service-card:last-child {
    grid-column: 1 / -1;
  }

  .pm-contact {
    grid-template-columns: 1fr;
  }

  .pm-contact .pm-actions {
    align-items: flex-start;
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .primary-nav {
    min-height: 72px;
  }

  .primary-nav .nav-links,
  .primary-nav > ul {
    background: var(--pm-night-soft);
  }

  .pm-hero {
    min-height: 0;
  }

  .pm-hero-copy {
    padding-top: 80px;
  }

  .pm-hero-visual {
    min-height: 590px;
  }

  .pm-proof {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-proof article:nth-child(3) {
    border-left: 1px solid var(--pm-line);
  }

  .pm-proof > div:nth-child(3) {
    border-left: 1px solid var(--pm-line);
  }

  .pm-proof article:nth-child(-n+2) {
    border-bottom: 1px solid var(--pm-line);
  }

  .pm-proof > div:nth-child(-n+2) {
    border-bottom: 1px solid var(--pm-line);
  }

  .pm-section-head {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .pm-project-card,
  .pm-project-card:nth-child(n) {
    grid-column: span 6;
    min-height: 500px;
  }

  .pm-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-process > ol {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-process-grid article:nth-child(3) {
    border-left: 1px solid var(--pm-line);
  }

  .pm-process > ol > li:nth-child(3) {
    border-left: 1px solid var(--pm-line);
  }

  .pm-process-grid article:nth-child(-n+2) {
    border-bottom: 1px solid var(--pm-line);
  }

  .pm-process > ol > li:nth-child(-n+2) {
    border-bottom: 1px solid var(--pm-line);
  }

  .pm-references-inner {
    grid-template-columns: 1fr;
  }

  .pm-brand-list {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  .pm-hero h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .pm-hero-copy {
    padding: 68px 22px 55px;
  }

  .pm-hero-meta {
    grid-template-columns: 1fr;
  }

  .pm-hero-visual {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pm-hero-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 440px auto;
    min-height: 0;
  }

  .pm-hero-main {
    grid-column: 1;
    grid-row: 1;
  }

  .pm-hero-secondary {
    display: none;
  }

  .pm-made {
    grid-column: 1;
    grid-row: 2;
  }

  .pm-hero-image,
  .pm-hero-image-main {
    grid-row: auto;
    height: 380px;
  }

  .pm-hero-image-secondary {
    display: none;
  }

  .pm-proof {
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .pm-proof article,
  .pm-proof article:nth-child(n) {
    border-bottom: 1px solid var(--pm-line);
    border-left: 1px solid var(--pm-line);
    border-right: 1px solid var(--pm-line);
  }

  .pm-proof > div,
  .pm-proof > div:nth-child(n) {
    border-bottom: 1px solid var(--pm-line);
    border-left: 1px solid var(--pm-line);
    border-right: 1px solid var(--pm-line);
  }

  .pm-proof article:last-child {
    border-bottom: 0;
  }

  .pm-proof > div:last-child {
    border-bottom: 0;
  }

  .pm-intro {
    gap: 34px;
    grid-template-columns: 1fr;
    padding-inline: 22px;
  }

  .pm-intro > div:first-child {
    grid-column: auto;
  }

  .pm-intro-aside {
    border-left: 0;
    border-top: 1px solid var(--pm-line);
    padding-left: 0;
    padding-top: 30px;
  }

  .pm-intro-note {
    border-left: 0;
    border-top: 1px solid var(--pm-line);
    padding-left: 0;
    padding-top: 30px;
  }

  .pm-services,
  .pm-projects,
  .pm-process {
    padding-inline: 22px;
  }

  .pm-service-grid {
    grid-template-columns: 1fr;
  }

  .pm-service-card,
  .pm-service-card:last-child {
    grid-column: auto;
    min-height: 520px;
  }

  .pm-service-card img,
  .pm-service-card:last-child img {
    height: 58%;
  }

  .pm-project-grid {
    grid-template-columns: 1fr;
  }

  .pm-project-card,
  .pm-project-card:nth-child(n) {
    grid-column: auto;
    min-height: 510px;
  }

  .pm-process-grid {
    grid-template-columns: 1fr;
  }

  .pm-process > ol {
    grid-template-columns: 1fr;
  }

  .pm-process-grid article,
  .pm-process-grid article:nth-child(n) {
    border-bottom: 1px solid var(--pm-line);
    border-left: 1px solid var(--pm-line);
  }

  .pm-process > ol > li,
  .pm-process > ol > li:nth-child(n) {
    border-bottom: 1px solid var(--pm-line);
    border-left: 1px solid var(--pm-line);
  }

  .pm-contact {
    padding-inline: 22px;
  }

  .pm-contact .pm-actions,
  .pm-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .pm-button {
    width: 100%;
  }
}

/* Unified premium styling for every inner page */
body:not(.home-focused) .content-shell,
body.references-page .content-shell {
  background:
    radial-gradient(circle at 88% 0, rgba(63, 156, 216, 0.1), transparent 30%),
    var(--pm-paper);
  color: var(--pm-ink);
}

body:not(.home-focused) .mod_article > .ce_text:first-child,
body:not(.home-focused) .ce_text,
body:not(.home-focused) .ce_image,
body:not(.home-focused) .product-card,
body:not(.home-focused) .featured-project,
body:not(.home-focused) .reference-list-section {
  background: var(--pm-white);
  border-color: var(--pm-line);
  box-shadow: 0 18px 52px rgba(7, 16, 24, 0.08);
}

body:not(.home-focused) .mod_article > .ce_text:first-child p,
body:not(.home-focused) .feature-grid p,
body:not(.home-focused) .materials-audience p:last-child,
body:not(.home-focused) .workflow-grid p {
  color: var(--pm-muted);
}

body:not(.home-focused) .content-shell h1,
body:not(.home-focused) .content-shell h2,
body:not(.home-focused) .content-shell h3,
body.references-page .content-shell h1,
body.references-page .content-shell h2,
body.references-page .content-shell h3,
body.references-page .content-shell .section-heading h2 {
  color: var(--pm-ink);
}

body:not(.home-focused) .product-card,
body:not(.home-focused) .reference-name-grid li {
  color: var(--pm-ink);
}

body:not(.home-focused) .product-card,
body:not(.home-focused) .feature-grid article,
body:not(.home-focused) .materials-audience article,
body:not(.home-focused) .workflow-grid li {
  background: linear-gradient(145deg, #ffffff, #f0efea);
  border-color: var(--pm-line);
}

body:not(.home-focused) .workflow-grid strong,
body:not(.home-focused) .feature-grid h3,
body:not(.home-focused) .materials-audience h2 {
  color: var(--pm-ink);
}

body.references-page .featured-project-grid figure,
body.references-page .reference-name-grid li {
  background: var(--pm-paper);
  border-color: var(--pm-line);
}

body.references-page .featured-project-grid figcaption {
  color: var(--pm-ink);
}

@media (max-width: 760px) {
  .content-shell:not(.home-modern) {
    padding: 28px 16px 64px;
  }

  .content-shell:not(.home-modern) h1 {
    font-size: clamp(2.25rem, 12vw, 3.6rem);
  }

  .content-shell:not(.home-modern) h2 {
    font-size: clamp(1.7rem, 8vw, 2.5rem);
  }

  body:not(.home-focused) .ce_text,
  body:not(.home-focused) .ce_image,
  body:not(.home-focused) .product-card,
  body:not(.home-focused) .featured-project,
  body:not(.home-focused) .reference-list-section {
    border-radius: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
