/*
Theme Name: Peerless Modern
Description: A modern presentation layer for Peerless Pattern Works, built on the original Peerless theme.
Author: Peerless Pattern Works
Version: 2.7.7
Template: peerless
Text Domain: peerless-modern
*/

:root {
  --ppw-navy: #15364d;
  --ppw-blue: #245b78;
  --ppw-sky: #e9f0f3;
  --ppw-ink: #173042;
  --ppw-copy: #566875;
  --ppw-accent: #326b70;
  --ppw-accent-dark: #24545c;
  --ppw-accent-light: #b7d9d3;
  --ppw-white: #ffffff;
  --ppw-paper: #f7f8f7;
  --ppw-line: #d7e0e4;
  --ppw-width: 1240px;
  --ppw-shadow: 0 22px 55px rgba(21, 54, 77, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ppw-white);
  color: var(--ppw-copy);
  font-family: "Fira Sans", "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: var(--ppw-blue); text-underline-offset: 3px; }

.wrapper,
.ppw-shell {
  width: min(calc(100% - 56px), var(--ppw-width));
  max-width: var(--ppw-width);
  margin-inline: auto;
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 99999;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  background: white;
  color: var(--ppw-ink);
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(21, 54, 77, .12);
  backdrop-filter: blur(14px);
}
.site-header__inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.site-brand {
  flex: 0 1 355px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ppw-ink);
  text-decoration: none;
}
.site-brand:hover { color: var(--ppw-ink); }
.site-brand__mark {
  position: relative;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: block;
  overflow: hidden;
}
.site-brand__mark img {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 334px;
  max-width: none;
  height: 54px;
}
.site-brand__type { display: flex; flex-direction: column; justify-content: center; line-height: 1; }
.site-brand__type strong {
  color: var(--ppw-ink);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.site-brand__type small {
  margin-top: 6px;
  color: #6e7f8a;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.site-nav li { position: relative; margin: 0; padding: 0; }
.site-nav a {
  display: block;
  padding-block: 10px;
  color: var(--ppw-ink);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: uppercase;
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { color: var(--ppw-accent); }
.site-nav .sub-menu {
  position: absolute;
  top: calc(100% + 17px);
  left: -18px;
  display: none;
  width: 270px;
  padding: 14px;
  background: white;
  border: 1px solid var(--ppw-line);
  box-shadow: var(--ppw-shadow);
}
.site-nav li:hover > .sub-menu,
.site-nav li:focus-within > .sub-menu { display: grid; gap: 3px; }
.site-nav .sub-menu a { padding: 9px 10px; font-size: 11px; }

.ppw-button,
.site-header__cta,
input[type="submit"],
button[type="submit"] {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border: 1px solid var(--ppw-accent);
  border-radius: 0;
  background: var(--ppw-accent);
  color: white;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.ppw-button:hover,
.site-header__cta:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
  background: var(--ppw-accent-dark);
  border-color: var(--ppw-accent-dark);
  color: white;
  transform: translateY(-1px);
}
.site-header__cta { flex: 0 0 auto; }
.menu-toggle { display: none; }

/* Homepage hero */
.ppw-hero {
  position: relative;
  min-height: 690px;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  background: var(--ppw-navy);
}
.ppw-hero__image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(21,54,77,.93) 0%, rgba(21,54,77,.75) 38%, rgba(21,54,77,.08) 76%),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
}
.ppw-hero__inner { position: relative; z-index: 2; display: flex; align-items: center; }
.ppw-hero__content { width: min(650px, 100%); padding-block: 110px 125px; }
.ppw-eyebrow {
  margin: 0 0 19px;
  color: var(--ppw-accent);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ppw-hero .ppw-eyebrow { color: var(--ppw-accent-light); }
.ppw-hero h1,
.ppw-intro h2,
.ppw-section-head h2,
.ppw-feature h2,
.ppw-cta h2,
.contact-band h2 {
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
}
.ppw-hero h1 {
  max-width: 640px;
  margin: 0;
  color: white;
  font-size: clamp(54px, 6vw, 82px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .98;
}
.ppw-hero__lede {
  max-width: 590px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.88);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.55;
}
.ppw-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 34px; }
.ppw-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: white;
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .06em;
  text-decoration: none;
  text-transform: uppercase;
}
.ppw-text-link span { color: var(--ppw-accent); font-size: 20px; transition: transform .2s ease; }
.ppw-text-link:hover { color: white; }
.ppw-text-link:hover span { transform: translateX(4px); }
.ppw-text-link--dark { color: var(--ppw-ink); }
.ppw-text-link--dark:hover { color: var(--ppw-accent); }
.ppw-scroll {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 13px;
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}
.ppw-scroll span { color: var(--ppw-accent-light); font-size: 18px; }

/* Proof points */
.ppw-proof { background: white; border-bottom: 1px solid var(--ppw-line); }
.ppw-proof__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ppw-proof__item {
  min-height: 150px;
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 28px 44px;
  border-right: 1px solid var(--ppw-line);
}
.ppw-proof__item:last-child { border-right: 0; }
.ppw-proof__item strong {
  color: var(--ppw-accent);
  font-family: Poppins, "Segoe UI", Arial, sans-serif;
  font-size: 42px;
  font-weight: 650;
  letter-spacing: -.04em;
}
.ppw-proof__item span {
  max-width: 150px;
  color: var(--ppw-ink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
}

/* Intro */
.ppw-intro-section { padding-block: clamp(90px, 10vw, 145px); background: white; }
.ppw-intro { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(55px, 9vw, 130px); align-items: start; }
.ppw-intro h2,
.ppw-section-head h2,
.ppw-feature h2,
.ppw-cta h2 {
  margin: 0;
  color: var(--ppw-ink);
  font-size: clamp(38px, 4.6vw, 64px);
  font-weight: 650;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.ppw-copy > *:first-child { margin-top: 0; }
.ppw-copy > *:last-child { margin-bottom: 0; }
.ppw-copy p { color: var(--ppw-copy); font-size: 19px; line-height: 1.72; }
.ppw-copy h2 { margin: 36px 0 18px; color: var(--ppw-ink); font-family: Poppins, sans-serif; font-size: 27px; font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }

/* Capabilities */
.ppw-capabilities { padding-block: clamp(90px, 10vw, 140px); background: var(--ppw-paper); }
.ppw-section-head { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(280px,.65fr); gap: 70px; align-items: end; margin-bottom: 55px; }
.ppw-section-head > p { margin: 0 0 7px; color: var(--ppw-copy); font-size: 18px; line-height: 1.65; }
.ppw-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ppw-service { display: flex; flex-direction: column; min-width: 0; background: white; box-shadow: 0 1px 0 rgba(21,54,77,.06); color: var(--ppw-ink); text-decoration: none; transition: transform .22s ease, box-shadow .22s ease; }
.ppw-service:hover { color: var(--ppw-ink); transform: translateY(-5px); box-shadow: var(--ppw-shadow); }
.ppw-service__image { aspect-ratio: 1.6 / 1; display: block; overflow: hidden; background: #d8e0e4; }
.ppw-service__image img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.82) contrast(1.03); transition: transform .35s ease; }
.ppw-service:hover .ppw-service__image img { transform: scale(1.035); }
.ppw-service__body { position: relative; min-height: 130px; display: grid; grid-template-columns: 32px 1fr 24px; gap: 13px; align-items: start; padding: 28px 25px; border-top: 4px solid transparent; }
.ppw-service:hover .ppw-service__body { border-top-color: var(--ppw-accent); }
.ppw-service__number { padding-top: 3px; color: var(--ppw-accent); font-family: Poppins, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.ppw-service__body strong { color: var(--ppw-ink); font-family: Poppins, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.3; }
.ppw-service__arrow { color: var(--ppw-accent); font-size: 22px; line-height: 1; }

/* Feature */
.ppw-feature { padding-block: clamp(90px, 11vw, 150px); background: white; }
.ppw-feature__grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(0,.92fr); align-items: stretch; }
.ppw-feature__visual { min-height: 600px; background-position: center; background-size: cover; }
.ppw-feature__content { display: flex; flex-direction: column; justify-content: center; padding: clamp(55px,7vw,96px); background: var(--ppw-sky); }
.ppw-feature__content p:not(.ppw-eyebrow) { margin: 28px 0 30px; color: var(--ppw-copy); font-size: 19px; }

/* CTA */
.ppw-cta-section { padding-block: clamp(80px,9vw,120px); background: var(--ppw-navy); }
.ppw-cta { display: grid; grid-template-columns: 1fr .78fr; gap: clamp(55px,10vw,150px); align-items: center; }
.ppw-cta h2 { color: white; }
.ppw-cta > div:last-child p { margin: 0 0 28px; color: rgba(255,255,255,.76); font-size: 19px; }
.ppw-cta .ppw-eyebrow { color: var(--ppw-accent-light); }

/* Interior pages */
main#content,
#content,
#main { min-height: 45vh; }
body:not(.home) #main,
body:not(.home) main { background: var(--ppw-paper); }
body:not(.home) h1,
body:not(.home) h2,
body:not(.home) h3 { color: var(--ppw-ink); font-family: Poppins, "Segoe UI", Arial, sans-serif; }
body:not(.home) h1 { font-size: clamp(44px, 6vw, 70px); letter-spacing: -.04em; line-height: 1; }

.ppw-page-hero {
  position: relative;
  isolation: isolate;
  min-height: 370px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ppw-navy);
}
.ppw-page-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background-image: var(--page-image);
  background-position: center;
  background-size: cover;
}
.ppw-page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,43,62,.96) 0%, rgba(21,54,77,.87) 48%, rgba(21,54,77,.4) 100%);
}
.ppw-page-hero__inner { padding-block: 92px 66px; }
.ppw-page-hero .ppw-eyebrow { color: var(--ppw-accent-light); }
.ppw-page-hero h1 { max-width: 900px; margin: 10px 0 0; color: white !important; }
.ppw-page-hero__crumbs { margin: 18px 0 0; color: rgba(255,255,255,.72); font-size: 14px; }
.ppw-page-hero__crumbs a { color: white; text-decoration: none; }
.ppw-page-main { padding-block: clamp(70px, 9vw, 120px); background: var(--ppw-paper); }
.ppw-page-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(45px,7vw,95px); align-items: start; }
.ppw-page-layout--single { grid-template-columns: minmax(0,850px); justify-content: center; }
.ppw-content-card { padding: clamp(32px,5vw,64px); border-top: 5px solid var(--ppw-accent); background: white; box-shadow: var(--ppw-shadow); }
.ppw-content-card > :first-child { margin-top: 0; }
.ppw-content-card > :last-child { margin-bottom: 0; }
.ppw-content-card h2 { margin: 1.5em 0 .55em; font-size: clamp(28px,3.4vw,44px); line-height: 1.12; }
.ppw-content-card h3 { margin: 1.45em 0 .45em; font-size: 23px; line-height: 1.25; }
.ppw-content-card p, .ppw-content-card li { color: var(--ppw-copy); }
.ppw-content-card ul { padding-left: 20px; }
.ppw-content-card a:not(.ppw-button) { font-weight: 600; }
.ppw-analysis-demo { margin: 36px 0; padding-top: 28px; border-top: 1px solid var(--ppw-line); }
.ppw-analysis-demo h2 { margin: 0 0 18px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.ppw-analysis-demo__figure { margin: 0; }
.ppw-analysis-demo .ppw-analysis-video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 399 / 191; object-fit: contain; border: 1px solid var(--ppw-line); border-radius: 3px; background: #f5f5f5; }
.ppw-analysis-demo figcaption { margin-top: 12px; color: var(--ppw-copy); font-size: 14px; line-height: 1.6; }
.ppw-side-card { position: sticky; top: 115px; padding: 34px; background: var(--ppw-sky); }
.ppw-side-card h2 { margin: 0 0 13px; font-size: 27px; line-height: 1.15; }
.ppw-side-card p { margin: 0 0 24px; font-size: 15px; }

.ppw-child-grid, .ppw-card-grid, .ppw-project-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 24px;
  margin-top: 42px;
}
.ppw-child-card, .ppw-card-grid .red-box, .ppw-related .red-box {
  position: relative;
  display: flex;
  min-height: 170px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 28px;
  background: var(--ppw-navy);
  color: white;
  text-decoration: none;
}
.ppw-child-card::before, .ppw-card-grid .red-box::before, .ppw-related .red-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(21,54,77,.12), rgba(16,43,62,.9));
}
.ppw-child-card > *, .ppw-card-grid .red-box > *, .ppw-related .red-box > * { position: relative; z-index: 1; }
.ppw-child-card strong { font-family: Poppins, sans-serif; font-size: 19px; line-height: 1.25; }
.ppw-child-card span { margin-top: 12px; color: var(--ppw-accent-light); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ppw-child-card:hover, .ppw-card-grid .red-box:hover, .ppw-related .red-box:hover { background-color: var(--ppw-blue); transform: translateY(-3px); }

.ppw-service-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(300px,.56fr); gap: clamp(40px,7vw,90px); align-items: start; }
.ppw-service-image { overflow: hidden; background: #dbe4e8; box-shadow: var(--ppw-shadow); }
.ppw-service-image img { display: block; width: 100%; height: auto; }
.ppw-service-copy > :first-child { margin-top: 0; }
body.page-id-13 .ppw-service-copy h2,
body.page-id-10 .ppw-service-copy h2 {
  margin: 1.4em 0 .55em;
  color: var(--ppw-ink);
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  text-transform: none;
}
body.page-id-13 .ppw-service-copy p,
body.page-id-10 .ppw-service-copy p {
  font-size: clamp(17px, 1.8vw, 19px);
  line-height: 1.65;
}
body.page-id-13 .ppw-side-card p,
body.page-id-10 .ppw-side-card p { line-height: 1.6; }
.ppw-service-columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.ppw-service-column { padding: 28px; background: white; border: 1px solid var(--ppw-line); }
body.page-id-14 .ppw-service-copy .ppw-freeman-link {
  display: inline-block;
  max-width: 100%;
  padding-block: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ppw-estimate { margin-top: 56px; padding: clamp(34px,5vw,60px); background: var(--ppw-sky); }
.ppw-estimate h2 { margin-top: 0; font-size: clamp(30px,4vw,46px); }

.ppw-card-grid { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 0; }
.ppw-card-grid .red-box { min-height: 330px; padding: 0; background-color: var(--ppw-navy); background-position: center; background-size: cover; }
.ppw-card-grid .red-box img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ppw-card-grid .red-box:hover img { transform: scale(1.04); }
.ppw-card-grid .red-box p { z-index: 2; width: 100%; margin: auto 0 0; padding: 25px; background: rgba(16,43,62,.92); color: white; font-family: Poppins, sans-serif; font-size: 18px; font-weight: 600; line-height: 1.3; }
.ppw-card-grid .red-box .number { position: absolute; top: 18px; left: 18px; width: 36px; height: 36px; padding: 9px 0 0; background: var(--ppw-accent); color: white; text-align: center; font-size: 12px; }

.ppw-project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 0; }
.ppw-project { overflow: hidden; background: white; box-shadow: 0 15px 40px rgba(21,54,77,.09); }
.ppw-project img { display: block; width: 100%; aspect-ratio: 1.45/1; object-fit: cover; }
.ppw-project__body { padding: 30px; }
.ppw-project__body h2 { margin: 0 0 13px; font-size: 25px; }
.ppw-project__body p:last-child { margin-bottom: 0; }
.ppw-related { margin-top: 70px; }
.ppw-related h2 { margin-bottom: 28px; font-size: clamp(30px,4vw,44px); }
.ppw-related__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ppw-related .red-box { min-height: 155px; }

.ppw-contact-intro { max-width: 820px; margin-bottom: 55px; }
.ppw-contact-intro > :first-child { margin-top: 0; }
.ppw-contact-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,.8fr) minmax(360px,1.4fr); gap: 24px; align-items: start; }
.ppw-contact-card { min-height: 100%; padding: 34px; background: white; border-top: 4px solid var(--ppw-blue); box-shadow: 0 12px 35px rgba(21,54,77,.08); }
.ppw-contact-card--form { border-top-color: var(--ppw-accent); }
.ppw-contact-card--details { min-width: 0; font-size: 17px; line-height: 1.6; }
.ppw-contact-card--details p {
  margin: 0 0 16px;
  font-size: 17px;
  /* Legacy contact entries specify 10px inline, which overlaps wrapped names. */
  line-height: 1.6 !important;
}
.ppw-contact-card--details p:last-child { margin-bottom: 0; }
.ppw-contact-card--details a { overflow-wrap: anywhere; }
.ppw-contact-card h2, .ppw-contact-card h3 { margin-top: 0; }
.ppw-contact-card .gfield { margin-bottom: 14px; }
.ppw-contact-card input[type="text"], .ppw-contact-card input[type="email"], .ppw-contact-card input[type="tel"], .ppw-contact-card textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #c7d2d8; background: var(--ppw-paper); font: inherit;
}
.ppw-contact-card textarea { min-height: 145px; }

/* Contact band */
.contact-band { padding-block: 95px; background: #edf2f4; color: var(--ppw-ink); }
.contact-band__grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(55px,9vw,125px); }
.contact-band h2 { margin: 0 0 18px; color: var(--ppw-ink); font-size: clamp(38px,4.8vw,62px); font-weight: 650; letter-spacing: -.04em; line-height: 1.02; }
.contact-band p { color: var(--ppw-copy); font-size: 18px; }
.contact-band .gform_wrapper { margin: 0; }
.contact-band .gform_fields { display: grid; gap: 14px; }
.contact-band .gfield { margin: 0; padding: 0; }
.contact-band label { display: block; margin-bottom: 6px; color: var(--ppw-ink); font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.contact-band input[type="text"],
.contact-band input[type="email"],
.contact-band input[type="tel"],
.contact-band textarea {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid #c2ced4;
  border-radius: 0;
  background: white;
  color: var(--ppw-ink);
  font: inherit;
}
.contact-band textarea { min-height: 145px; resize: vertical; }
.contact-band input:focus,
.contact-band textarea:focus { outline: 2px solid var(--ppw-blue); outline-offset: 2px; border-color: transparent; }
.contact-band .gform_footer { margin-top: 17px; padding: 0; }
.contact-band .validation_message { color: var(--ppw-accent); }

/* Footer */
.site-footer { background: #102b3e; color: rgba(255,255,255,.65); }
.site-footer__inner { min-height: 108px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 23px; margin: 0; padding: 0; list-style: none; }
.site-footer a { color: white; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.site-footer a:hover { color: var(--ppw-accent-light); }
.site-footer p { margin: 0; font-size: 12px; }

@media (max-width: 980px) {
  .site-header__inner { min-height: 78px; }
  .site-brand { flex-basis: 315px; }
  .site-nav { position: fixed; inset: 78px 0 auto; display: none; padding: 25px 28px 32px; background: white; border-top: 1px solid var(--ppw-line); box-shadow: var(--ppw-shadow); }
  .site-nav.is-open { display: block; }
  .site-nav ul { align-items: stretch; flex-direction: column; gap: 2px; }
  .site-nav a { padding: 10px 0; font-size: 13px; }
  .site-nav .sub-menu { position: static; display: grid; width: auto; margin: 0 0 8px 14px; padding: 0 0 0 14px; border: 0; border-left: 1px solid var(--ppw-line); background: transparent; box-shadow: none; }
  .site-header__cta { margin-left: auto; }
  .menu-toggle { display: inline-flex; width: 45px; height: 45px; align-items: center; justify-content: center; border: 1px solid var(--ppw-line); background: transparent; color: var(--ppw-ink); font-size: 20px; }
  .ppw-services { grid-template-columns: repeat(2,1fr); }
  .ppw-proof__item { padding-inline: 25px; }
  .ppw-card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ppw-contact-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ppw-contact-card--form { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  body.admin-bar .site-header { top: 46px; }
  .wrapper, .ppw-shell { width: min(calc(100% - 32px), var(--ppw-width)); }
  .site-brand { flex-basis: 270px; gap: 10px; }
  .site-brand__mark { flex-basis: 46px; width: 46px; height: 46px; }
  .site-brand__mark img { width: 284px; height: 46px; }
  .site-brand__type strong { font-size: 19px; }
  .site-brand__type small { margin-top: 5px; font-size: 8px; }
  .site-header__cta { display: none; }
  .ppw-hero { min-height: 620px; }
  .ppw-hero__image { background-image: linear-gradient(90deg, rgba(21,54,77,.92), rgba(21,54,77,.53)), var(--hero-image); background-position: 57% center; }
  .ppw-hero__content { padding-block: 95px 110px; }
  .ppw-hero h1 { font-size: clamp(48px, 14vw, 68px); }
  .ppw-scroll { display: none; }
  .ppw-proof__grid { grid-template-columns: 1fr; padding-block: 12px; }
  .ppw-proof__item { min-height: 92px; padding: 16px 8px; border-right: 0; border-bottom: 1px solid var(--ppw-line); }
  .ppw-proof__item:last-child { border-bottom: 0; }
  .ppw-proof__item strong { width: 90px; font-size: 36px; }
  .ppw-intro,
  .ppw-section-head,
  .ppw-feature__grid,
  .ppw-cta,
  .contact-band__grid { grid-template-columns: 1fr; gap: 40px; }
  .ppw-page-layout, .ppw-service-layout, .ppw-service-columns, .ppw-project-grid, .ppw-card-grid, .ppw-related__grid, .ppw-contact-grid { grid-template-columns: 1fr; }
  .ppw-side-card { position: static; }
  .ppw-contact-card--form { grid-column: auto; }
  .ppw-page-hero { min-height: 310px; }
  .ppw-page-hero__inner { padding-block: 75px 52px; }
  .ppw-services { grid-template-columns: 1fr; }
  .ppw-feature__visual { min-height: 390px; }
  .ppw-feature__content { padding: 48px 30px; }
  .site-footer__inner { padding-block: 30px; align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .site-brand { flex-basis: 220px; }
  .site-brand__type small { display: none; }
  .menu-toggle { width: 42px; height: 42px; }
  .ppw-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .ppw-button { width: 100%; }
}

/* 2.3: quieter palette, clean wordmark, and consistent modern typography. */
body, input, textarea, select, button { font-family: "Fira Sans", "Segoe UI", Arial, sans-serif; }
body h1, body h2, body h3, body h4, body p, body a, body strong { text-shadow: none; }
body h1, body h2, body h3, body h4 { text-transform: none; font-style: normal; }
.site-header__inner { gap: 28px; min-height: 92px; }
.site-header .site-brand { flex: 0 0 auto; gap: 12px; }
.site-brand__symbol { display: block; flex: 0 0 42px; width: 42px; height: 48px; color: var(--ppw-navy); }
.site-header .site-brand__type { gap: 5px; }
.site-header .site-brand__type strong { font-family: "Segoe UI", Arial, sans-serif; font-size: 31px; line-height: 1; font-weight: 650; letter-spacing: -.045em; text-transform: none; }
.site-header .site-brand__type small { display: block; margin: 0; color: #55727a; font-size: 10px; line-height: 1.25; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.site-nav ul { gap: 25px; }
.site-nav a { font-size: 13px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.site-nav .sub-menu { top: 100%; }
.menu-toggle { flex: 0 0 auto; margin-left: auto; cursor: pointer; }
.site-header__cta, .ppw-button, input[type="submit"], button[type="submit"] { font-size: 13px; font-weight: 600; letter-spacing: .015em; text-transform: none; border-radius: 3px; }
.ppw-hero { min-height: 610px; }
.ppw-hero__content { padding-block: 90px 100px; max-width: 610px; }
.ppw-hero h1 { font-size: clamp(48px,5.8vw,76px); font-weight: 600; line-height: 1.05; letter-spacing: -.045em; text-transform: none; }
.ppw-hero .ppw-eyebrow, .ppw-cta .ppw-eyebrow, .ppw-page-hero .ppw-eyebrow { color: var(--ppw-accent-light); }
.ppw-hero .ppw-text-link span, .ppw-scroll span { color: var(--ppw-accent-light); }
.ppw-hero__lede { font-size: 20px; max-width: 560px; }
.ppw-proof__item strong { color: var(--ppw-navy); }
.ppw-intro-section, .ppw-capabilities, .ppw-feature { padding-block: clamp(64px,7vw,96px); }
.ppw-intro h2, .ppw-section-head h2, .ppw-feature h2, .ppw-cta h2 { font-size: clamp(34px,4vw,52px); font-weight: 600; line-height: 1.12; }
.ppw-service__body { min-height: 116px; padding: 24px 21px; grid-template-columns: 26px 1fr 20px; gap: 10px; }
.ppw-service__body strong { font-size: 17px; font-weight: 500; }
.ppw-service__image img { filter: none; }
.ppw-text-link { text-transform: none; letter-spacing: 0; font-size: 14px; }
body:not(.home) h1 { font-size: clamp(38px,5.5vw,64px); font-weight: 600; line-height: 1.08; }
body:not(.home) h2, body:not(.home) h3 { font-weight: 600; }
.ppw-page-hero { min-height: 290px; }
.ppw-page-hero__inner { padding-block: 65px 55px; }
.ppw-page-main { padding-block: clamp(48px,6vw,80px); }
.ppw-project img { object-fit: contain; background: #e8eeee; }
.ppw-project__body h2 { line-height: 1.2; }
.ppw-work-intro { padding: clamp(55px,7vw,95px) 0 58px; background: #f1f5f4; }
body .ppw-work-intro h1 { margin: 0; color: var(--ppw-navy); font-size: clamp(46px,6.5vw,82px); font-weight: 600; line-height: 1.04; letter-spacing: -.05em; }
.ppw-work-intro__lede { max-width: 610px; margin: 26px 0 0; font-size: 19px; line-height: 1.65; color: var(--ppw-copy); }
.ppw-work-gallery { background: white; padding: 56px 0 88px; }
.ppw-selected-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 52px 32px; }
.ppw-selected-project { min-width: 0; margin: 0; background: white; }
.ppw-selected-project__image { overflow: hidden; background: #e9efee; aspect-ratio: 1.28 / 1; }
.ppw-selected-project__image img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center; }
.ppw-selected-project__image img[src*="lens-mold"] { object-position: center 65%; }
.ppw-selected-project__body { padding-top: 24px; }
.ppw-selected-project__body .ppw-eyebrow { margin: 0 0 9px; font-size: 10px; }
body .ppw-selected-project__body h2 { margin: 0 0 12px; font-size: 29px; font-weight: 500; line-height: 1.18; letter-spacing: -.025em; text-transform: none; }
.ppw-selected-project__body > p:last-child { max-width: 510px; margin: 0; font-size: 16px; line-height: 1.65; }
.ppw-work-categories { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--ppw-line); }
body .ppw-work-categories h2 { margin: 0 0 28px; font-size: clamp(29px,4vw,40px); line-height: 1.15; letter-spacing: -.035em; }
.ppw-work-links { display: flex; flex-wrap: wrap; gap: 12px; }
.ppw-work-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 20px; background: #eff4f3; color: var(--ppw-navy); text-decoration: none; font-size: 15px; font-weight: 500; border: 1px solid #dbe7e5; }
.ppw-work-links a:hover { color: var(--ppw-accent); background: #e2eeeb; }
.ppw-work-links span { color: var(--ppw-accent); }
.ppw-gallery-heading { margin: 64px 0 28px; }
.ppw-contact-card textarea, .contact-band textarea, .ppw-estimate textarea { height: 160px; min-height: 160px; resize: vertical; }
.ppw-estimate input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .ppw-estimate textarea { max-width: 100%; box-sizing: border-box; }
.ppw-contact-card, .ppw-content-card { box-shadow: 0 12px 30px rgba(21,54,77,.055); }
.ppw-contact-grid { align-items: start; }
.site-footer a:hover { color: var(--ppw-accent-light); }
:focus-visible { outline: 3px solid #4c9499; outline-offset: 4px; }
@media (max-width:980px) {
    .site-header__inner { min-height: 80px; gap: 22px; }
    .site-nav { inset: 80px 0 auto; }
    .site-nav ul { gap: 3px; }
    .site-nav a { font-size: 15px; }
    .site-nav .sub-menu { top: auto; }
    body.admin-bar .site-nav { top: 112px; }
}
@media (max-width:760px) {
    .site-header__inner { min-height: 78px; gap: 14px; justify-content: space-between; }
    .site-header .site-brand { gap: 9px; }
    .site-brand__symbol { flex-basis: 35px; width: 35px; height: 40px; }
    .site-header .site-brand__type strong { font-size: 28px; }
    .site-header .site-brand__type small { font-size: 9px; letter-spacing: .15em; }
    .site-nav { top: 78px; }
    body.admin-bar .site-nav { top: 124px; }
    .ppw-hero { min-height: 540px; }
    .ppw-hero__content { padding-block: 72px 85px; }
    .ppw-hero h1 { font-size: clamp(45px,10vw,64px); }
    .ppw-hero__lede { font-size: 18px; }
    .ppw-work-intro { padding: 48px 0 40px; }
    body .ppw-work-intro h1 { font-size: clamp(42px,9vw,62px); }
    .ppw-work-intro__lede { font-size: 17px; }
    .ppw-work-gallery { padding: 32px 0 56px; }
    .ppw-selected-grid { grid-template-columns: 1fr; gap: 38px; }
    .ppw-selected-project__image { aspect-ratio: 1.3 / 1; }
    .ppw-work-categories { margin-top: 48px; padding-top: 32px; }
    .ppw-work-links { flex-direction: column; }
    .ppw-proof__item { min-height: 76px; }
    .ppw-feature__visual { min-height: 340px; }
}
@media (prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Finish inherited font and mobile navigation behavior. */
body { font-weight: 400; }
.ppw-hero__lede, .ppw-work-intro__lede, .ppw-copy p, .ppw-selected-project__body > p:last-child { font-weight: 400; }
@media (max-width:980px) { .site-nav { max-height: calc(100vh - 80px); overflow-y: auto; overscroll-behavior: contain; } .site-header__cta + .menu-toggle { margin-left: 0; } }
@media (max-width:760px) { .site-header__cta + .menu-toggle { margin-left: auto; } .site-nav { max-height: calc(100vh - 78px); } }

/* Capabilities stay readable without unaudited customer photographs. */
.ppw-service { border: 1px solid var(--ppw-line); }
.ppw-service__body { min-height: 112px; align-items: center; }
.ppw-service--analysis { grid-column: 1 / -1; background: #eaf2f1; border-color: #b8d1ce; }
.ppw-service--analysis .ppw-service__body { min-height: 100px; }
.ppw-content-card .ppw-service-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 28px 0 0; }
.ppw-service-directory li { border-top: 1px solid var(--ppw-line); margin: 0; }
.ppw-service-directory a { display: block; padding: 18px 12px 18px 0; }
@media (max-width: 640px) {
  .ppw-content-card .ppw-service-directory { grid-template-columns: 1fr; }
}
.ppw-analysis-service { clear: both; display: flow-root; margin-top: 54px; padding: clamp(24px, 4vw, 48px); background: #edf4f3; border-top: 3px solid var(--ppw-accent); scroll-margin-top: 115px; }
.ppw-analysis-service h2 { margin-top: 8px; }
.ppw-analysis-service .ppw-button { margin-top: 12px; }
.ppw-work-categories--standalone { margin-top: 0; padding-top: 0; border-top: 0; }

/* 2.7: phone navigation, comfortable reading widths, and shorter page sections. */
.submenu-toggle, .site-nav .site-nav__quote { display: none; }
@media (max-width: 980px) {
  .site-header { --ppw-header-height: 80px; --ppw-admin-height: 0px; }
  body.admin-bar .site-header { --ppw-admin-height: 32px; }
  .site-nav {
    position: absolute;
    inset: 100% 0 auto;
    max-height: calc(100vh - var(--ppw-header-height) - var(--ppw-admin-height));
    max-height: calc(100dvh - var(--ppw-header-height) - var(--ppw-admin-height));
    padding: 12px 24px 24px;
  }
  body.admin-bar .site-nav { top: 100%; }
  .site-nav .site-nav__menu { gap: 0; }
  .site-nav .site-nav__menu > li { border-bottom: 1px solid var(--ppw-line); }
  .site-nav.has-submenu-controls .menu-item-has-children { display: grid; grid-template-columns: minmax(0, 1fr) 48px; align-items: start; }
  .site-nav a { min-height: 48px; display: flex; align-items: center; padding: 12px 0; font-size: 16px; line-height: 1.4; }
  .site-nav .submenu-toggle {
    display: inline-flex;
    width: 48px;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ppw-accent-dark);
    font-size: 25px;
    cursor: pointer;
  }
  .site-nav .sub-menu { grid-column: 1 / -1; margin: 0 0 12px 0; padding: 0 0 0 14px; }
  .site-nav.has-submenu-controls li > .sub-menu { display: none; }
  .site-nav.has-submenu-controls li.submenu-open > .sub-menu { display: grid; gap: 0; }
  .site-nav .sub-menu a { min-height: 44px; padding: 11px 8px; font-size: 15px; line-height: 1.45; }
  .site-nav .site-nav__quote { display: flex; margin-top: 18px; padding: 14px 18px; color: white; }
  .menu-toggle { width: auto; min-width: 80px; min-height: 44px; height: 44px; gap: 8px; padding: 0 11px; border-radius: 3px; }
  .menu-toggle__label { font-size: 13px; font-weight: 600; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; --ppw-admin-height: 46px; }
}
@media (max-width: 760px) {
  .site-header { --ppw-header-height: 68px; }
  .site-header__inner { min-height: 68px; gap: 10px; }
  .site-header .site-brand__type strong { font-size: 26px; }
  .site-brand__symbol { flex-basis: 32px; width: 32px; height: 36px; }
  .site-nav { padding-inline: 20px; }
  .ppw-hero { min-height: 0; }
  .ppw-hero__content { padding-block: 44px 40px; }
  .ppw-hero h1 { font-size: clamp(36px, 10.2vw, 46px); line-height: 1.08; }
  .ppw-hero .ppw-eyebrow { font-size: 10px; letter-spacing: .09em; margin-bottom: 16px; }
  .ppw-hero__lede { margin-top: 20px; font-size: 17px; line-height: 1.6; }
  .ppw-actions { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .ppw-actions .ppw-text-link { min-height: 44px; justify-content: center; padding: 10px; }
  .ppw-proof__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 0; }
  .ppw-proof__item { min-width: 0; min-height: 106px; flex-direction: column; justify-content: center; gap: 5px; padding: 18px 6px; border-bottom: 0; border-right: 1px solid var(--ppw-line); text-align: center; }
  .ppw-proof__item strong { width: auto; font-size: 28px; line-height: 1.1; }
  .ppw-proof__item span { font-size: 10px; letter-spacing: .02em; line-height: 1.4; }
  .ppw-intro-section, .ppw-capabilities, .ppw-feature, .ppw-cta-section, .contact-band { padding-block: 48px; }
  .ppw-intro, .ppw-section-head, .ppw-cta, .contact-band__grid { gap: 24px; }
  .ppw-intro h2, .ppw-section-head h2, .ppw-feature h2, .ppw-cta h2, .contact-band h2 { font-size: 32px; line-height: 1.15; }
  .ppw-copy p, .ppw-section-head > p, .ppw-cta > div:last-child p, .contact-band p { font-size: 17px; line-height: 1.65; }
  .ppw-copy h2 { font-size: 25px; }
  .ppw-section-head { margin-bottom: 28px; }
  .ppw-services { gap: 12px; }
  .ppw-service__body { min-height: 80px; padding: 16px 14px; }
  .ppw-service__body strong { font-size: 16px; line-height: 1.4; }
  .ppw-service:hover { transform: none; }
  .ppw-page-hero { min-height: 0; }
  .ppw-page-hero__inner { padding-block: 36px 32px; }
  body:not(.home) .ppw-page-hero h1 { font-size: clamp(30px, 8vw, 38px); line-height: 1.15; overflow-wrap: break-word; }
  .ppw-page-hero .ppw-eyebrow { margin-bottom: 14px; }
  .ppw-page-hero__crumbs { margin-top: 14px; line-height: 1.5; }
  .ppw-page-hero__crumbs a { display: inline-flex; min-height: 44px; align-items: center; }
  .ppw-page-main { padding-block: 32px; }
  .ppw-page-layout, .ppw-service-layout { gap: 28px; }
  .ppw-content-card, .ppw-contact-card { padding: 24px 20px; }
  .ppw-content-card p, .ppw-content-card li { font-size: 17px; line-height: 1.65; }
  .ppw-content-card .ppw-eyebrow { font-size: 11px; }
  .ppw-service-column { padding: 18px 16px; }
  .ppw-service-columns { gap: 16px; margin-top: 24px; }
  .ppw-side-card { padding: 24px; }
  .ppw-estimate { padding: 24px 20px; margin-top: 28px; }
  .ppw-service-directory a { min-height: 48px; padding-block: 14px; line-height: 1.45; }
  .ppw-work-intro { padding-block: 36px 32px; }
  body .ppw-work-intro h1 { font-size: 38px; }
  .ppw-work-links a { min-height: 48px; padding: 14px 16px; }
  .ppw-contact-intro { margin-bottom: 28px; }
  .contact-band label { font-size: 12px; letter-spacing: .03em; }
  .contact-band input, .contact-band textarea,
  .ppw-contact-card input, .ppw-contact-card textarea,
  .ppw-estimate input[type="text"], .ppw-estimate input[type="email"], .ppw-estimate input[type="tel"], .ppw-estimate textarea { font-size: 17px; }
  .ppw-estimate input[type="text"], .ppw-estimate input[type="email"], .ppw-estimate input[type="tel"], .ppw-estimate textarea { width: 100%; min-height: 48px; }
  .contact-band input[type="submit"], .contact-band button[type="submit"], .ppw-contact-card input[type="submit"], .ppw-estimate input[type="submit"] { width: 100%; }
  .site-footer ul { gap: 0 20px; }
  .site-footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; }
  main [id] { scroll-margin-top: 84px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}

/* Detailed project inquiries on the Design, Prototype, and Analysis pages. */
.ppw-inquiry-guide { max-width: 760px; margin: 24px 0 32px; }
.ppw-inquiry-guide h3 { margin: 24px 0 14px; color: var(--ppw-ink); font-size: 22px; font-weight: 500; line-height: 1.3; text-transform: none; }
.ppw-inquiry-guide p, .ppw-inquiry-guide li { color: var(--ppw-copy); font-size: 17px; line-height: 1.6; }
.ppw-inquiry-guide p { margin: 0 0 16px; }
.ppw-inquiry-guide ul { margin: 0 0 18px; padding-left: 22px; list-style: disc; }
.ppw-inquiry-guide li { margin: 0 0 12px; padding-left: 3px; }
.ppw-inquiry-guide .ppw-inquiry-guide__optional { margin-bottom: 0; font-size: 15px; }
.ppw-estimate.ppw-estimate--detailed textarea,
.contact-band.contact-band--detailed textarea {
  width: 100%;
  max-width: 100%;
  height: 320px;
  min-height: 320px;
  box-sizing: border-box;
  resize: vertical;
  font-size: 17px;
  line-height: 1.6;
}
@media (max-width: 760px) {
  .ppw-estimate.ppw-estimate--detailed textarea,
  .contact-band.contact-band--detailed textarea { height: 280px; min-height: 280px; }
}
