@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../webfonts/instrument-sans-700.ttf') format('truetype');
}
.nz-product-home { background: #fbefe4; }
.nz-product-home #content.ph-home { padding: 0; overflow: clip; color: var(--nz-navy); position: relative; isolation: isolate; }
.ph-shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.ph-home .ph-hero {
  box-sizing: border-box;
  position: relative;
  min-height: 100svh;
  padding: 120px 0 100px;
  display: flex;
  align-items: center;
  background: transparent;
  overflow: hidden;
  isolation: isolate;
}
.ph-hero-copy { width: 52%; max-width: 850px; padding: 0 0 0 clamp(28px, 6.2vw, 120px); position: relative; z-index: 2; }
.ph-home .ph-hero-eyebrow { font-family: var(--font-mono); font-size: 11px !important; letter-spacing: .13em; text-transform: uppercase; line-height: 1.5 !important; color: #505d59; margin: 0 0 26px; }
.ph-home .ph-hero h1 {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(48px, 5.4vw, 86px);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -.065em;
  color: #262622;
}
.ph-home .ph-hero-description { max-width: 32ch; margin: 30px 0 34px; font-family: 'Manrope', sans-serif; color: #62625c; font-size: clamp(16px, 1.3vw, 19px) !important; line-height: 1.7 !important; }
.ph-hero-link { display: inline-flex; align-items: center; gap: 34px; color: #fff !important; background: #dc4924; border: 1px solid #dc4924; border-radius: 999px; font: 600 14px/1.5 'Manrope', sans-serif; padding: 15px 22px; transition: background 180ms ease, transform 180ms ease; }
.ph-hero-link:hover { color: #fff !important; background: #bd3c1c; transform: translateY(-2px); }
.ph-hero-link span { font-size: 22px; line-height: 1; }
.ph-home .ph-showcase { position: relative; height: clamp(560px, 57vw, 1000px); padding: 64px 0 50px; overflow: hidden; background: transparent; scroll-margin-top: 76px; }
.ph-showcase-heading { position: relative; z-index: 2; text-align: center; padding-inline: 24px; pointer-events: none; }
.ph-home .ph-showcase-heading h2 { font-family: 'Manrope', sans-serif; font-size: clamp(28px, 3vw, 42px); font-weight: 500; letter-spacing: -.045em; }
.ph-home .ph-showcase-heading .ph-hero-eyebrow { margin-bottom: 12px; }
.ph-contact h2 span { color: var(--nz-orange-dark); }
.ph-button { display: inline-flex; align-items: center; gap: 30px; padding: 14px 22px; border-radius: var(--radius-full); background: var(--nz-navy); color: white !important; font-size: 15px; font-weight: 600; transition: background .2s, transform .2s; white-space: nowrap; }
.ph-button:hover { background: var(--nz-navy-light); transform: translateY(-2px); }
.ph-button span { font-size: 23px; line-height: 1; }
.ph-gallery-layer { isolation: isolate; z-index: 0; transform: translateZ(0); position: absolute; inset: 0; width: 100%; min-width: 0; min-height: 0; }
.ph-gallery { height: 100%; min-height: 0; }
.ph-gallery-stage { display: flex; gap: 18px; overflow-x: auto; padding: 24px; touch-action: pan-y; }
.ph-product-card { box-shadow: 0 1px 2px #00000012, 0 14px 24px -16px #00000038, 0 28px 42px -30px #00000029; position: relative; flex: 0 0 240px; height: 295px; overflow: hidden; border-radius: var(--radius-lg); color: #202b34 !important; background: radial-gradient(ellipse at 62% 12%, #fff 0%, #f3f4f3 57%, #e5e8e7 100%); }
.ph-card-visual { position: absolute; inset: 9% 8% 27%; overflow: hidden; }
.ph-card-visual img { position: absolute; width: 100%; height: 100%; max-width: none; object-fit: contain; padding: 0; filter: drop-shadow(0 8px 7px #00000018); }
.ph-card-caption { position: absolute; inset: auto 0 0; padding: 20px 22px 24px; display: flex; gap: 16px; align-items: end; justify-content: space-between; font-size: 16px; line-height: 1.25; }
.ph-card-caption strong { font-weight: 500; }
.ph-card-caption > span { font-size: 24px; }
.ph-gallery.is-enhanced .ph-gallery-stage {
  display: block;
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 0;
  overflow: visible;
}
.ph-gallery.is-enhanced .ph-product-card {
  position: absolute;
  left: 50%;
  top: 54%;
  width: 400px;
  height: calc(1600px / 3);
  transform-origin: 0 0;
  transition: none;
  backface-visibility: hidden;
}
.ph-gallery.is-enhanced .ph-card-caption { padding: 24px 28px 30px; font-size: 23px; line-height: 1.2; }
.ph-card-caption > span { transition: translate 150ms ease-out; }
.ph-product-card:is(:hover, :focus-visible) .ph-card-caption > span { translate: 2px -2px; }
.ph-gallery.is-enhanced .ph-product-card { border-radius: 20px; }
.ph-product-card:focus-visible { outline: 3px solid var(--nz-orange); outline-offset: 5px; }
.ph-hero-action .ph-button { background: var(--nz-orange); color: var(--nz-navy-dark) !important; }
.ph-hero-action .ph-button:hover { background: var(--nz-orange-light); }
.ph-hero-action { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 2; }
.ph-page-layer { position: relative; z-index: 3; background: transparent; border-radius: 28px 28px 0 0; margin-top: 0; }
.ph-home .ph-page-layer > section { background: transparent; }
.ph-categories { padding-block: 90px; scroll-margin-top: 100px; }
.ph-section-heading { max-width: 700px; margin-bottom: 40px; }
.ph-home h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.035em; margin: 0 0 20px; }
.ph-section-heading h2 span { color: var(--nz-text-secondary); }
.ph-section-heading p, .ph-engineering p, .ph-contact p { font-size: 18px; line-height: 1.6; color: var(--nz-text-secondary); }
.ph-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.ph-category { grid-column: span 2; position: relative; min-height: 470px; overflow: hidden; border-radius: var(--radius-xl); background: var(--nz-bg-tertiary); color: var(--nz-navy) !important; display: flex; flex-direction: column; }
.ph-category:nth-child(-n+2) { grid-column: span 3; }
.ph-category-copy { padding: 28px 28px 16px; position: relative; z-index: 1; }
.ph-category h3 { font-size: 25px; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 12px; max-width: 340px; }
.ph-category p { font-size: 15px; line-height: 1.5; margin: 0; max-width: 400px; }
.ph-category-image { width: 100%; height: 250px; object-fit: contain; padding-inline: 18px; margin-top: auto; transition: transform .6s cubic-bezier(.2,.65,.3,1); }
.ph-category:hover .ph-category-image { transform: scale(1.035); }
.ph-category-link { position: relative; z-index: 1; padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; background: inherit; font-weight: 600; font-size: 14px; }
.ph-category-link span { font-size: 24px; }
.ph-category--2 { background: #e0e8f5; }
.ph-category--3 { background: #fbe1d5; }
.ph-category--4 { background: #e5ecee; }
.ph-category--5 { background: #dce4ef; }
.ph-engineering { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; padding-block: 36px 96px; }
.ph-engineering-media { width: 100%; height: 440px; margin: 0; overflow: hidden; border-radius: var(--radius-xl); }
.ph-engineering-media img { width: 100%; height: 100%; object-fit: cover; }
.nz-scroll-motion-ready .ph-engineering-media img { transform: translateY(clamp(-18px, var(--nz-motion-y, 0px), 18px)) scale(1.1); }
.ph-text-link { display: inline-flex; align-items: center; gap: 24px; color: var(--nz-navy) !important; font-weight: 600; border-bottom: 1px solid var(--nz-navy); padding-bottom: 7px; }
.ph-disciplines { margin-top: 30px; font-size: 13px; color: var(--nz-text-secondary); line-height: 1.8; }
.ph-clients { padding-block: 24px 80px; text-align: center; }
.ph-clients h2 { font-size: 24px; }
.ph-clients > div { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 44px; padding-top: 20px; }
.ph-clients img { max-width: 140px; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.ph-contact { padding-block: 64px 90px; border-top: 1px solid var(--nz-border); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ph-contact p { max-width: 420px; margin-bottom: 24px; }
.ph-fallback { display: block; width: min(900px, 90%); max-height: 380px; object-fit: cover; margin: 40px auto; border-radius: var(--radius-xl); }
.ph-home :is(a, button):focus-visible { outline: 3px solid var(--nz-orange-dark); outline-offset: 5px; }
.ph-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 800px) {
  .ph-shell { width: calc(100% - 40px); }
  .ph-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-category, .ph-category:nth-child(-n+2) { grid-column: span 1; }
  .ph-category:last-child { grid-column: 1 / -1; }
  .ph-engineering { gap: 28px; grid-template-columns: 1fr; }
  .ph-engineering-media { height: 340px; }
  .ph-contact { gap: 32px; }
}
@media (max-width: 520px) {

  .ph-categories { padding-block: 60px; }
  .ph-bento { grid-template-columns: 1fr; gap: 18px; }
  .ph-category { min-height: 0; }
  .ph-category-copy { padding: 24px; }
  .ph-category h3 { font-size: 26px; }
  .ph-category-image { height: 250px; }
  .ph-contact { grid-template-columns: 1fr; padding-block: 45px 64px; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .ph-hero-copy { transform: none; }
  .ph-home *, .ph-gallery.is-enhanced .ph-product-card { transition: none !important; }
}
.ph-gallery.is-enhanced .ph-gallery-stage { cursor: grab; user-select: none; }
.ph-gallery-stage.is-dragging, .ph-gallery-stage.is-dragging a { cursor: grabbing; }

@media (max-height: 600px) {
  .ph-home .ph-hero { min-height: 620px; }
}

/* Sparse, feathered brand-orange pigment over a predominantly white hero. */
.nz-product-home .nz-mesh-atmosphere { opacity: var(--nz-home-mesh-opacity, 0); }
.ph-home .ph-hero { isolation: isolate; }
.ph-atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: #fff;
}
.ph-atmosphere::before {
  content: '';
  position: absolute;
  inset: -6%;
  background:
    radial-gradient(ellipse 18% 23% at 9% 20%, #ff57224d 0%, #ff572226 28%, #ff572209 53%, transparent 76%),
    radial-gradient(ellipse 12% 15% at 15% 27%, #ff57221f 0%, transparent 74%),
    radial-gradient(ellipse 22% 18% at 88% 28%, #ff57225c 0%, #ff57222e 26%, #ff57220a 54%, transparent 78%),
    radial-gradient(ellipse 19% 14% at 34% 91%, #ff57224a 0%, #ff57221f 33%, transparent 76%),
    radial-gradient(ellipse 10% 18% at 96% 86%, #ff572236 0%, #ff572212 38%, transparent 78%);
  filter: blur(14px);
  animation: ph-atmosphere-drift 26s ease-in-out infinite alternate;
}
.ph-atmosphere::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: .075;
  mask-image:
    radial-gradient(ellipse 22% 27% at 9% 20%, #000, transparent 80%),
    radial-gradient(ellipse 26% 22% at 88% 28%, #000, transparent 80%),
    radial-gradient(ellipse 23% 18% at 34% 91%, #000, transparent 80%),
    radial-gradient(ellipse 14% 22% at 96% 86%, #000, transparent 80%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
.ph-hero-action .ph-button { box-shadow: 0 6px 24px #d9612826; }
.ph-category { border: 1px solid #ffffffa6; box-shadow: 0 8px 36px #2546680a; }
.ph-category--1 { background: #e8eff3e6; }
.ph-category--2 { background: #e0e8f5e6; }
.ph-category--3 { background: #fbe1d5e6; }
.ph-category--4 { background: #e5eceee6; }
.ph-category--5 { background: #dce4efe6; }
.ph-category-link { background: transparent; }
.ph-line-mask { display: block; overflow: clip; padding-bottom: .09em; margin-bottom: -.09em; }
.ph-line { display: block; white-space: nowrap; }
.ph-reveal-ready .ph-text-reveal .ph-line {
  transform: translateY(112%);
  transition: transform 1050ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--line-delay, 0ms);
}
.ph-reveal-ready .ph-text-reveal.is-revealed .ph-line { transform: none; }
.ph-reveal-ready .ph-media-reveal {
  clip-path: inset(0 0 100% 0 round var(--radius-xl));
  transform: translateY(36px);
  transition: clip-path 1200ms cubic-bezier(.22, 1, .36, 1), transform 1200ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
.ph-reveal-ready .ph-media-reveal.is-revealed { clip-path: inset(0 0 0 round var(--radius-xl)); transform: none; }
.ph-reveal-ready .ph-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 850ms ease, transform 1000ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: 120ms;
}
.ph-reveal-ready .ph-reveal.is-revealed { opacity: 1; transform: none; }
@keyframes ph-atmosphere-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 3%, 0) scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .ph-atmosphere::before { animation: none; }
  .ph-reveal-ready :is(.ph-reveal, .ph-media-reveal, .ph-text-reveal .ph-line) { opacity: 1; transform: none; clip-path: none; transition: none; }
  .nz-scroll-motion-ready .ph-engineering-media img { transform: none; }
}

@media (max-width: 800px) {
  .ph-home .ph-hero { min-height: max(800px, 100svh); padding: 118px 0 100px; align-items: flex-start; }
  .ph-hero-copy { width: 100%; padding: 0 28px; max-width: 550px; }
  .ph-home .ph-hero h1 { font-size: clamp(44px, 7.8vw, 62px); }
  .ph-home .ph-hero-description { max-width: 32ch; margin: 24px 0; }
  .ph-home .ph-hero-eyebrow { margin-bottom: 20px; font-size: 10px !important; }
  .ph-home .ph-showcase { height: 560px; padding-top: 42px; }
  .ph-showcase .ph-gallery-layer { width: max(100%, 740px); left: 50%; right: auto; transform: translateX(-50%); }
  .ph-showcase .ph-hero-action { bottom: 28px; }
}
