/* ============================================================
   Priti Inc – DESIGN SYSTEM (static build)
   Tailwind utility classes are provided via the Tailwind CDN
   script in each HTML file. This file holds the custom
   design-system classes, tokens, and animations that Tailwind
   doesn't cover.
   ============================================================ */

:root {
  --pf-bg: #ffffff;
  --pf-bg-alt: #f5f5f5;
  --pf-dark: #2d2d2d;
  --pf-accent: #d90000;
  --pf-text: #1a1a1a;
  --pf-text-muted: #6b6b6b;
  --pf-border: #e0e0e0;
  --pf-container: 1320px;
  --pf-section-y: 96px;
}

* {
  box-sizing: border-box;
  border-color: var(--pf-border);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--pf-bg);
  color: var(--pf-text);
  font-family: "Inter", "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", "Yu Gothic", "Meiryo", "Microsoft YaHei", "PingFang SC",
    "Noto Sans CJK SC", sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "ss01" 1;
  word-break: break-word;
  overflow-x: hidden;
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
}

.pf-logo-image {
  display: block;
  width: 220px;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  object-position: left center;
}

.hero-btn-white {
  background: #ffffff !important;
  color: #222222 !important;
  border: none !important;
}

.hero-btn-white:hover {
  background: #d90000 !important;
  color: #ffffff !important;
  border: none !important;
}

/* ── Typography Scale (STRICT — no deviation) ─────────── */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  word-break: break-word;
  font-feature-settings: "kern" 1, "ss01" 1;
  margin: 0;
}

h2 {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  word-break: break-word;
  font-feature-settings: "kern" 1;
  margin: 0;
}

h3 {
  font-size: 1.375rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  word-break: break-word;
  margin: 0;
}

p {
  font-size: 1rem;
  line-height: 1.75;
  font-weight: 400;
  word-break: break-word;
  margin: 0;
}

/* CJK multilingual support */
:lang(zh),
:lang(ja),
.cjk {
  line-height: 1.8;
  word-break: break-word;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Kaku Gothic ProN",
    "Noto Sans CJK SC", sans-serif;
}

/* ── Layout Container ─────────────────────────────────────── */
.pf-container {
  max-width: var(--pf-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.pf-section {
  padding-top: var(--pf-section-y);
  padding-bottom: var(--pf-section-y);
}

/* ── Buttons ──────────────────────────────────────────────── */
.pf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--pf-dark);
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.pf-btn:hover {
  background-color: var(--pf-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 0, 0, 0.3);
}

.pf-btn:focus-visible {
  outline: 2px solid var(--pf-accent);
  outline-offset: 3px;
}

.pf-btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}

.pf-btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* ── Eyebrow / Label ─────────────────────────────────────── */
.pf-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pf-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pf-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--pf-accent);
  flex-shrink: 0;
}

.text-center .pf-eyebrow::before,
.text-center .pf-eyebrow-white::before {
  display: none;
}

.pf-eyebrow-white {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.pf-eyebrow-white::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background-color: var(--pf-accent);
  flex-shrink: 0;
}

/* ── Scroll Reveal Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ── Navigation ───────────────────────────────────────────── */
.pf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease,
    backdrop-filter 0.3s ease;
  background-color: transparent;
}

.pf-nav.scrolled {
  background-color: #ffffff;
  box-shadow: 0 1px 0 var(--pf-border), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pf-nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.pf-nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--pf-accent);
  transition: width 0.3s ease;
}

.pf-nav-link:hover::after,
.pf-nav-link.active::after {
  width: 100%;
}

/* ── Hero Section ─────────────────────────────────────────── */
.pf-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.pf-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.pf-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 60%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pf-hero-eyebrow {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
  opacity: 0;
}

.pf-hero-headline {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
  opacity: 0;
}

.pf-hero-subtext {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
}

.pf-hero-cta {
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.8s;
  opacity: 0;
}

/* ── Scroll Indicator ─────────────────────────────────────── */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.pf-scroll-indicator {
  animation: bounce 1.8s ease-in-out infinite;
}

/* ── Capability Blocks ────────────────────────────────────── */
.pf-capability-block {
  transition: box-shadow 0.35s ease;
  overflow: hidden;
}

.pf-capability-block:hover {
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.pf-capability-img {
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pf-capability-block:hover .pf-capability-img {
  transform: scale(1.04);
}

/* ── Industry Cards ───────────────────────────────────────── */
.pf-industry-card {
  background-color: #ffffff;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease;
  position: relative;
  border-bottom: 2px solid transparent;
}

.pf-industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.13);
  border-bottom-color: var(--pf-accent);
}

.pf-logo-link {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.pf-logo-image {
  display: block;
  width: 220px;
  height: auto;
  object-fit: contain;
}

.pf-industry-card-img img,
.pf-industry-card-img .pf-placeholder {
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pf-industry-card:hover .pf-industry-card-img img,
.pf-industry-card:hover .pf-industry-card-img .pf-placeholder {
  transform: scale(1.06);
}

/* ── Product Cards ────────────────────────────────────────── */
.pf-product-card {
  background-color: #ffffff;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s ease;
  box-shadow: inset 0 0 0 1px var(--pf-border);
}

.pf-product-card:hover {
  transform: translateY(-5px);
  box-shadow: inset 0 0 0 1px var(--pf-border), 0 20px 56px rgba(0, 0, 0, 0.13);
}

.pf-product-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.pf-product-img-wrap img,
.pf-product-img-wrap .pf-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.pf-product-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: opacity;
  pointer-events: none;
}

.pf-product-card:hover .pf-product-img-wrap img,
.pf-product-card:hover .pf-product-img-wrap .pf-placeholder {
  transform: scale(1.07);
}

.pf-product-card:hover .pf-product-img-wrap::after {
  opacity: 1;
}

/* ── Certification Cards ─────────────────────────────────── */
.pf-cert-card {
  background: #ffffff;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.pf-cert-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--pf-accent);
  transition: width 0.4s ease;
}

.pf-cert-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.pf-cert-card:hover::after {
  width: 100%;
}

/* ── Modal ────────────────────────────────────────────────── */
.pf-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeInOverlay 0.3s ease;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pf-modal-card {
  background: #ffffff;
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 48px;
  animation: slideUpModal 0.35s ease;
  position: relative;
}

@keyframes slideUpModal {
  from { opacity: 0; transform: scale(0.95) translateY(16px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Divider ──────────────────────────────────────────────── */
.pf-divider {
  width: 40px;
  height: 2px;
  background-color: var(--pf-accent);
  margin-bottom: 28px;
}

/* ── Stat Number ──────────────────────────────────────────── */
.pf-stat-num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--pf-dark);
}

.pf-stat-underline {
  width: 32px;
  height: 3px;
  background-color: var(--pf-accent);
  margin-top: 8px;
}

/* ── Process Steps ────────────────────────────────────────── */
.pf-step-line {
  flex: 1;
  height: 1px;
  background-color: var(--pf-border);
  margin: 0 16px;
  margin-top: -20px;
}

/* ── Specs Table ──────────────────────────────────────────── */
.pf-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.pf-specs-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--pf-border);
  font-size: 0.9375rem;
}

.pf-specs-table td:first-child {
  font-weight: 600;
  color: var(--pf-text);
  width: 40%;
  background-color: #fafafa;
}

.pf-specs-table td:last-child {
  color: var(--pf-text-muted);
}

/* ── Filter Tabs ──────────────────────────────────────────── */
.pf-filter-tab {
  padding: 8px 20px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--pf-border);
  background: transparent;
  color: var(--pf-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.pf-filter-tab:hover {
  border-color: var(--pf-accent);
  color: var(--pf-accent);
}

.pf-filter-tab.active {
  background-color: var(--pf-dark);
  border-color: var(--pf-dark);
  color: #ffffff;
}

/* ── Footer ───────────────────────────────────────────────── */
.pf-footer {
  background-color: var(--pf-dark);
  color: rgba(255, 255, 255, 0.85);
}

.pf-footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  display: block;
  margin-bottom: 10px;
}

.pf-footer-link:hover {
  color: var(--pf-accent);
}

/* ── Banner Sections ──────────────────────────────────────── */
.pf-banner {
  position: relative;
  overflow: hidden;
}

.pf-banner-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.pf-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

/* ── Hamburger Menu ───────────────────────────────────────── */
.pf-mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffffff;
  z-index: 99;
  display: flex;
  flex-direction: column;
  padding: 80px 24px 40px;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
}

.pf-mobile-menu.open {
  transform: translateY(0);
}

/* ── Image Parallax ───────────────────────────────────────── */
.pf-parallax-section {
  position: relative;
  overflow: hidden;
}

.pf-parallax-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* ── Misc ─────────────────────────────────────────────────── */
.pf-tag {
  display: inline-block;
  background-color: var(--pf-dark);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
}

.pf-tag-outline {
  background-color: transparent;
  color: var(--pf-dark);
  border: 1.5px solid var(--pf-border);
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Image Placeholders (swap for real photography) ───────── */
.pf-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-color: #ececec;
  background-image: repeating-linear-gradient(
    45deg,
    #eeeeee,
    #eeeeee 12px,
    #e4e4e4 12px,
    #e4e4e4 24px
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.pf-placeholder span {
  color: #9a9a9a;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.5;
}

.pf-placeholder.pf-placeholder-sm span {
  font-size: 0.5625rem;
}

/* ── Product Gallery Lightbox ───────────────────────────────
   Scales to however many images a product has (see js/products.js
   `images` array + js/product-detail.js) — no fixed slot count. */
.pf-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: rgba(26, 26, 26, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px;
}

.pf-lightbox[hidden] {
  display: none;
}

.pf-lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-lightbox-image-wrap {
  max-width: min(90vw, 1100px);
  max-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pf-lightbox-image-wrap img {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
}

.pf-lightbox-image-wrap .pf-placeholder {
  width: min(90vw, 700px);
  aspect-ratio: 4 / 3;
  height: auto;
}

.pf-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.pf-lightbox-close:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.pf-lightbox-nav {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  margin: 0 16px;
}

.pf-lightbox-nav:hover {
  background-color: rgba(255, 255, 255, 0.18);
}

.pf-lightbox-counter {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

@media (max-width: 640px) {
  .pf-lightbox { padding: 20px; }
  .pf-lightbox-nav { width: 40px; height: 40px; margin: 0 8px; }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
  .pf-section { padding-top: 64px; padding-bottom: 64px; }
  .pf-modal-card { padding: 32px 24px; }
}

@media (max-width: 480px) {
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}

/* ── Reduced Motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .pf-hero-eyebrow,
  .pf-hero-headline,
  .pf-hero-subtext,
  .pf-hero-cta,
  .pf-scroll-indicator,
  .pf-capability-img,
  .pf-industry-card-img img,
  .pf-product-img-wrap img,
  .pf-product-img-wrap::after,
  .pf-mobile-menu,
  .pf-btn {
    transition: none !important;
    animation: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* Homepage Request a Quote button */
.cta-quote-btn {
  background-color: #d90000 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.cta-quote-btn:hover {
  background-color: #ffffff !important;
  color: #d90000 !important;
  border: none !important;
  box-shadow: none !important;
}

/* Logo switching */
.pf-logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.pf-logo-image {
  width: 220px;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.pf-logo-grey {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
}

.pf-logo-white {
  opacity: 1;
}

/* Scrolled navbar */
.pf-nav.scrolled .pf-logo-white {
  opacity: 0;
}

.pf-nav.scrolled .pf-logo-grey {
  opacity: 1;
}

/* ============================================================
   CATALOGUE AND PRODUCT PAGE VISUAL UPDATES
   ============================================================ */

/* Catalogue hero */
.catalogue-hero {
  background-color: #2d2d2d !important;
}

.catalogue-hero h1,
.catalogue-hero-description {
  color: #ffffff !important;
}

.catalogue-hero .pf-eyebrow-white {
  color: rgba(255, 255, 255, 0.75);
}

/* White navigation text while navbar overlays dark catalogue hero */
body[data-page="catalogue"] .pf-nav:not(.scrolled) .pf-nav-link {
  color: #ffffff !important;
}

/* Keep the active navigation underline visible */
body[data-page="catalogue"] .pf-nav:not(.scrolled) .pf-nav-link::after {
  background-color: #d90000;
}

/* Catalogue filter divider: container width only */
.catalogue-filter-section {
  border-bottom: none !important;
  box-shadow: none !important;
}

.catalogue-filter-container {
  border-bottom: 1px solid #e0e0e0;
}

/* body.product-detail-page .pf-nav .pf-btn {
  background-color: #d90000;
  color: #ffffff;
  box-shadow: 0 5px 16px rgba(217, 0, 0, 0.18);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
} */

body.product-detail-page .pf-nav .pf-btn:hover {
  background-color: #b80000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(217, 0, 0, 0.4);
}


/* ============================================================
   SHARED NAVBAR — CONSISTENT INITIAL AND SCROLLED STATES
   ============================================================ */

/* All pages: white links while the transparent navbar is at the top. */
.pf-nav:not(.scrolled) .pf-nav-link {
  color: #ffffff !important;
}

/* All pages: dark links once the navbar gains its white background. */
.pf-nav.scrolled .pf-nav-link {
  color: #1a1a1a !important;
}

/* Initial Contact button: transparent with a white outline. */
.pf-nav:not(.scrolled) #pf-nav-cta,
.pf-nav:not(.scrolled) #pf-nav-cta.pf-btn-outline {
  background: transparent !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: none;
}

/* Scrolled Contact button: muted grey. */
.pf-nav.scrolled #pf-nav-cta {
  background: #777777 !important;
  color: #ffffff !important;
  border: 1px solid #777777 !important;
  box-shadow: none;
}

/* Hover state on both navbar states: red with a restrained glow. */
.pf-nav #pf-nav-cta:hover,
.pf-nav #pf-nav-cta.pf-btn-outline:hover {
  background: #d90000 !important;
  color: #ffffff !important;
  border-color: #d90000 !important;
  transform: translateY(-2px);
  box-shadow:
    0 5px 14px rgba(217, 0, 0, 0.22),
    0 0 12px rgba(217, 0, 0, 0.12);
}

body[data-page="product"] .pf-nav:not(.scrolled) {
  background-color: #2d2d2d;
}