/*
Theme Name: PPS Printing & Packaging
Theme URI: https://pps-shk.com/
Author: PPS Printing & Packaging Solutions
Description: A self-contained WordPress theme for PPS Printing & Packaging Solutions Limited.
Version: 1.0.0
Text Domain: pps-printing
*/

:root {
  --ink: #102a43;
  --ink-soft: #183953;
  --paper: #f7f2e8;
  --sand: #f0eadf;
  --gold: #f6b93b;
  --coral: #e87561;
  --slate: #476175;
  --line: #d4c8b8;
  --white: #fffdf7;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
  --mono: "Courier New", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
}
body.admin-bar .site-header { top: 32px; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.site-main { min-height: 100vh; overflow: hidden; }
.page-wrap { width: min(1180px, calc(100% - 2.5rem)); margin-inline: auto; }
.display-font { font-family: var(--serif); }
.eyebrow {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.15);
  padding: 20px 0;
}
.brand-link { display: inline-flex; align-items: center; }
.brand-link img { width: auto; height: 36px; object-fit: contain; }
.desktop-nav { display: flex; gap: 36px; align-items: center; }
.desktop-nav a, .mobile-nav a {
  color: rgba(247,242,232,.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.desktop-nav a:hover, .mobile-nav a:hover { color: var(--gold); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.25);
  background: transparent;
  color: var(--paper);
}
.mobile-nav {
  display: none;
  margin: 12px 16px 0;
  padding: 12px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(16,42,67,.96);
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: flex;
  justify-content: space-between;
  padding: 16px 12px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a:last-child { border-bottom: 0; }
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}
.hero-decoration { position: absolute; pointer-events: none; }
.hero-line { right: -112px; top: 80px; width: min(680px,85vw); opacity: .4; }
.hero-line-secondary { bottom: -112px; left: -15%; width: min(650px,80vw); opacity: .3; }
.hero-ellipse { right: 8%; top: 28%; width: 520px; opacity: .25; }
.hero-stars { right: 14%; top: 24%; width: 32px; opacity: .75; }
.hero-content {
  position: relative;
  display: flex;
  min-height: 760px;
  flex-direction: column;
  justify-content: center;
  padding: 128px 0 96px;
}
.hero-kicker { display: flex; align-items: center; gap: 12px; color: var(--gold); }
.hero-kicker:before { content: ""; width: 48px; height: 1px; background: var(--gold); }
.hero-title {
  max-width: 850px;
  margin: 28px 0 0;
  font: 400 clamp(3.6rem, 9vw, 8.5rem)/.9 var(--serif);
  letter-spacing: -.06em;
}
.hero-title span { position: relative; display: block; color: var(--gold); }
.hero-title span:after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 33%;
  width: 112px;
  height: 4px;
  background: var(--coral);
}
.hero-copy { max-width: 450px; margin: 32px 0 0; color: #dbe4e8; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 40px; }
.button-gold {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border: 0;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.button-gold:hover { background: var(--white); transform: translateY(-2px); }
.text-button {
  border: 0;
  background: transparent;
  color: rgba(247,242,232,.8);
  font-size: 14px;
  font-weight: 700;
}
.text-button:hover { color: var(--gold); }
.hero-quote { position: absolute; right: 0; bottom: 40px; max-width: 290px; text-align: right; }
.hero-quote p { margin: 0; font: 24px/1.15 var(--serif); color: rgba(247,242,232,.9); }
.hero-quote small { display: block; margin-top: 16px; color: var(--gold); }
.hero-edge {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 80px;
  background: var(--paper);
  clip-path: polygon(0 100%,0 55%,18% 68%,36% 45%,53% 76%,72% 40%,88% 64%,100% 31%,100% 100%);
}
.intro { padding: 64px 0 96px; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .8fr 1.6fr; gap: 40px; align-items: end; }
.intro-label { color: var(--coral); }
.intro-note { max-width: 280px; margin: 16px 0 0; color: var(--slate); font-size: 14px; line-height: 1.7; }
.intro-title { max-width: 900px; margin: 0; font: 400 clamp(2.5rem,5.4vw,5rem)/.98 var(--serif); letter-spacing: -.045em; }
.home-explore { padding: 128px 0; background: var(--sand); }
.home-explore-heading { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end; }
.home-explore-heading > p { max-width: 520px; justify-self: end; color: var(--slate); font-size: 18px; line-height: 1.8; }
.home-explore-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 56px; }
.home-explore-card { position: relative; display: flex; min-height: 240px; flex-direction: column; justify-content: space-between; padding: 28px; background: var(--ink); color: var(--paper); transition: transform .25s ease, box-shadow .25s ease, background .25s ease; }
.home-explore-card:nth-child(2) { background: var(--coral); color: var(--ink); }
.home-explore-card:nth-child(3) { background: var(--gold); color: var(--ink); }
.home-explore-card:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(16,42,67,.16); }
.home-explore-card .eyebrow { opacity: .7; }
.home-explore-card strong { max-width: 420px; font: 400 clamp(2rem,3.5vw,3.6rem)/.95 var(--serif); letter-spacing: -.04em; }
.card-arrow { align-self: flex-end; font-size: 24px; }
.home-explore-card:nth-child(2) strong, .home-explore-card:nth-child(3) strong { font-size: clamp(1.65rem,2.5vw,2.7rem); }
.home-contact-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-top: 80px; padding: 36px 0 0; border-top: 1px solid var(--line); }
.home-contact-cta p { margin: 0; color: var(--coral); }
.home-contact-cta h2 { margin: 12px 0 0; font: 400 clamp(2.1rem,4vw,4.4rem)/.95 var(--serif); letter-spacing: -.04em; }
.page-hero { padding: 190px 0 100px; background: var(--ink); color: var(--paper); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero h1 { max-width: 900px; margin: 24px 0 0; font: 400 clamp(3.5rem,8vw,7.5rem)/.9 var(--serif); letter-spacing: -.06em; }
.page-hero p:last-child { max-width: 600px; margin: 32px 0 0; color: #dbe4e8; font-size: 18px; line-height: 1.7; }
.inner-page .paper-grid { padding-top: 112px; }
.inner-page .group { padding-top: 112px; }
.about { position: relative; overflow: hidden; padding: 128px 0; background: var(--sand); }
.dots { position: absolute; right: -64px; top: 96px; width: 176px; opacity: .4; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; }
.about-photo-wrap { position: relative; }
.about-photo { aspect-ratio: .82; overflow: hidden; background: #d7cdbd; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.stat-badge { position: absolute; bottom: 20px; left: 20px; padding: 12px 16px; background: var(--gold); color: var(--ink); }
.stat-badge p { margin: 0; }
.stat-badge .eyebrow { font-weight: 700; }
.photo-caption { display: flex; align-items: center; gap: 12px; margin-top: 16px; color: var(--slate); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.photo-caption:before { content: ""; width: 32px; height: 1px; background: var(--coral); }
.section-kicker { color: var(--coral); }
.section-title { margin: 20px 0 0; font: 400 clamp(2.9rem,5vw,5.5rem)/.93 var(--serif); letter-spacing: -.05em; }
.about-copy { max-width: 640px; margin: 32px 0 0; color: #35536b; font-size: 18px; line-height: 1.8; }
.about-points { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; max-width: 640px; margin-top: 40px; padding-top: 24px; border-top: 1px solid #cfc1ae; }
.point-number { margin: 0; color: var(--coral); font: 400 40px/.9 var(--serif); }
.point-copy { margin: 8px 0 0; color: var(--slate); font-size: 14px; line-height: 1.45; }
.paper-grid {
  padding: 128px 0;
  background-color: var(--paper);
  background-image: linear-gradient(rgba(16,42,67,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(16,42,67,.045) 1px,transparent 1px);
  background-size: 34px 34px;
}
.cap-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: end; }
.cap-title { max-width: 420px; }
.cap-intro { max-width: 520px; justify-self: end; color: var(--slate); font-size: 18px; line-height: 1.8; }
.cap-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 20px; margin-top: 64px; }
.cap-feature { position: relative; min-height: 430px; overflow: hidden; background: var(--ink); color: var(--paper); }
.cap-feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; mix-blend-mode: luminosity; }
.cap-feature:after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top,var(--ink),rgba(16,42,67,.45),transparent); }
.cap-feature-content { position: relative; z-index: 1; display: flex; height: 100%; flex-direction: column; justify-content: end; padding: 44px; }
.cap-feature .eyebrow { color: var(--gold); }
.cap-feature h3 { max-width: 540px; margin: 12px 0 0; font: 400 48px/.95 var(--serif); }
.cap-feature p:last-child { max-width: 540px; margin: 20px 0 0; color: #dbe4e8; font-size: 14px; line-height: 1.7; }
.cap-list { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cap-item { padding: 28px 0; transition: background .2s ease; }
.cap-item:hover { background: var(--sand); }
.cap-item-inner { display: flex; gap: 20px; }
.cap-item .eyebrow { flex-shrink: 0; padding-top: 4px; color: var(--coral); }
.cap-item h3 { margin: 0; font: 400 32px/1 var(--serif); }
.cap-item p { max-width: 430px; margin: 12px 0 0; color: var(--slate); font-size: 14px; line-height: 1.7; }
.story { padding: 112px 0; background: var(--coral); color: var(--ink); }
.story-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.story-title { max-width: 600px; margin: 20px 0 0; font: 400 clamp(3rem,6vw,6rem)/.9 var(--serif); letter-spacing: -.06em; }
.story-note { display: flex; gap: 16px; max-width: 520px; margin-top: 32px; font-size: 14px; line-height: 1.7; }
.story-note:before { content: ""; flex: 0 0 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--gold); }
.story-images { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; }
.story-images > img:first-child { margin-top: 48px; aspect-ratio: .78; }
.story-images img { width: 100%; object-fit: cover; filter: grayscale(.2); }
.story-side { display: grid; gap: 16px; }
.story-side img { aspect-ratio: 1; }
.story-card { display: flex; aspect-ratio: 1; flex-direction: column; justify-content: space-between; padding: 24px; background: var(--ink); color: var(--paper); }
.story-card img { width: 44px; height: 44px; object-fit: contain; }
.story-card p { margin: 0; font: 24px/1.15 var(--serif); }
.group { padding: 128px 0; background: var(--ink); color: var(--paper); }
.group-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.15); }
.group-title { max-width: 700px; margin: 20px 0 0; font: 400 clamp(3rem,6vw,6rem)/.9 var(--serif); letter-spacing: -.06em; }
.group-intro { max-width: 380px; margin: 0; color: #dbe4e8; font-size: 14px; line-height: 1.7; }
.company-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 48px; }
.company-card { display: flex; min-height: 190px; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid rgba(255,255,255,.12); transition: transform .25s ease, box-shadow .25s ease; }
.company-card:hover { transform: translateY(-6px); box-shadow: 0 24px 55px rgba(0,0,0,.18); }
.company-card.cream { background: var(--sand); color: var(--ink); }
.company-card.gold { background: var(--gold); color: var(--ink); }
.company-card.rose { background: var(--coral); color: var(--ink); }
.company-card.green { background: #62847b; }
.company-card.blue { background: #315672; }
.company-card.ink { background: var(--ink-soft); }
.company-top { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.company-logo { width: auto; height: 48px; max-width: 165px; object-fit: contain; object-position: left; }
.company-name { margin: 0; font: 400 40px/1 var(--serif); }
.company-number { font-size: 11px; letter-spacing: .18em; opacity: .6; }
.company-bottom { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.company-type { max-width: 200px; margin: 0; font-size: 12px; line-height: 1.6; opacity: .75; }
.group-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); color: #dbe4e8; font-size: 14px; }
.group-foot strong { color: var(--gold); }
.group-foot .eyebrow { color: var(--gold); }
.contact { position: relative; overflow: hidden; padding: 128px 0; background: var(--sand); }
.footer-wave { position: absolute; bottom: 0; left: 0; width: 100%; opacity: .25; pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 96px; }
.contact-title { max-width: 600px; margin: 20px 0 0; font: 400 clamp(3.2rem,6vw,6.4rem)/.88 var(--serif); letter-spacing: -.06em; }
.contact-copy { max-width: 380px; margin: 28px 0 0; color: var(--slate); font-size: 16px; line-height: 1.75; }
.contact-details { display: grid; gap: 20px; margin-top: 40px; color: #35536b; font-size: 14px; }
.contact-details p { display: flex; align-items: center; gap: 12px; margin: 0; }
.contact-form-wrap { padding: 40px; background: var(--ink); color: var(--paper); box-shadow: 0 25px 65px rgba(16,42,67,.16); }
.form-heading { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.form-heading h3 { margin: 0; font: 400 32px/1 var(--serif); }
.form-heading span { color: var(--gold); }
.form-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.contact-form label { display: block; margin-top: 24px; }
.contact-form .eyebrow { color: #dbe4e8; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  outline: 0;
  background: transparent;
  color: var(--paper);
}
.contact-form textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.contact-form select option { color: var(--ink); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--gold); }
.form-error { margin: 20px 0; color: var(--gold); font-size: 14px; }
.form-success { display: flex; min-height: 440px; flex-direction: column; justify-content: space-between; }
.success-icon { display: grid; width: 56px; height: 56px; place-items: center; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 28px; }
.form-success h3 { max-width: 520px; margin: 32px 0 0; font: 400 50px/.92 var(--serif); }
.form-success p { max-width: 520px; margin: 24px 0 0; color: #dbe4e8; font-size: 14px; line-height: 1.7; }
.send-another { align-self: start; border: 0; background: transparent; color: var(--gold); font-size: 14px; font-weight: 700; }
.form-note { margin: 18px 0 0; color: #8ca0ad; font-size: 12px; line-height: 1.6; }
.site-footer { padding: 40px 0; background: var(--ink); color: var(--paper); }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-logo { width: auto; height: 40px; }
.footer-description { max-width: 380px; margin: 0; color: #aebfc8; font-size: 12px; line-height: 1.65; }
.back-top { border: 0; background: transparent; color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.back-top:hover { color: var(--paper); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); color: #7f99a8; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.footer-bottom span { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-ellipse { right: -8%; width: 420px; }
  .hero-quote { display: none; }
  .about-grid, .contact-grid { gap: 56px; }
  .cap-layout, .story-grid { grid-template-columns: 1fr; }
  .company-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
  body.admin-bar .site-header { top: 46px; }
  .page-wrap { width: calc(100% - 2rem); }
  .hero, .hero-content { min-height: 740px; }
  .hero-content { padding-top: 152px; }
  .hero-title { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-title span:after { display: none; }
  .hero-copy { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .intro-grid, .about-grid, .cap-head, .contact-grid, .home-explore-heading { grid-template-columns: 1fr; }
  .intro { padding: 80px 0; }
  .about, .paper-grid, .group, .contact { padding: 88px 0; }
  .about-points { gap: 12px; }
  .cap-feature-content { padding: 28px; }
  .cap-feature h3 { font-size: 38px; }
  .story { padding: 80px 0; }
  .home-explore { padding: 88px 0; }
  .home-explore-grid { grid-template-columns: 1fr; margin-top: 36px; }
  .home-contact-cta { align-items: flex-start; flex-direction: column; margin-top: 56px; }
  .page-hero { padding: 150px 0 72px; }
  .page-hero h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .page-hero p:last-child { font-size: 16px; }
  .company-grid { grid-template-columns: 1fr; }
  .group-head, .group-foot, .footer-main { align-items: flex-start; flex-direction: column; }
  .contact-form-wrap { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .form-success h3 { font-size: 42px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}