/* ==========================================================================
   Vector Packaging — Global Stylesheet
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Lora:ital,wght@0,400;0,500;1,400&family=Inter:wght@400;500;600&display=swap');

:root {
  --charcoal: #332C28;
  --charcoal-dark: #241F1C;
  --charcoal-soft: #4a413b;
  --orange: #D96B2C;
  --orange-dark: #B95720;
  --orange-light: #F0925A;
  --cream: #FBF8F4;
  --paper: #FFFFFF;
  --ink: #241F1C;
  --ink-soft: #5c534d;
  --line: #E7DFD6;

  --font-head: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-accent: 'Lora', Georgia, serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(36, 31, 28, 0.08);
  --shadow-lg: 0 20px 50px rgba(36, 31, 28, 0.14);
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--charcoal-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { color: var(--ink-soft); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.section--dark {
  background: var(--charcoal);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: #d8cfc7; }
.section--alt { background: var(--paper); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.1rem;
  max-width: 640px;
  color: var(--ink-soft);
}

.tagline-script {
  font-family: var(--font-accent);
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 107, 44, 0.35);
}
.btn--primary:hover { background: var(--orange-dark); }

.btn--ghost {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn--ghost:hover { background: var(--charcoal); color: #fff; }

.btn--on-dark {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn--on-dark:hover { background: #fff; color: var(--charcoal); }

.btn--block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* padding-block, NOT the `padding: 14px 0` shorthand. This element also
     carries .container, and the shorthand resets the container's 24px side
     padding to zero — which pinned the logo to the very edge of the screen. */
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { height: 40px; width: auto; }
.brand-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  color: var(--charcoal-dark);
  line-height: 1.35;
}
.brand-text span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.nav-links a.active,
.nav-links a:hover { color: var(--orange); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--charcoal);
}
.nav-phone svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--charcoal-dark);
  margin: 5px 0;
  transition: 0.2s ease;
}

@media (max-width: 880px) {
  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-phone { display: none; }
  .nav-toggle { display: block; }
}

/* ---------- Mobile header: keep the wordmark clear of the CTA ----------
   The brand was overflowing its flex box and sliding under the Request a
   Quote button — 40px of "PACKAGING" was hidden at 320px, 26px at 360px. */
@media (max-width: 880px) {
  .brand { flex-shrink: 0; min-width: 0; }
  .nav-cta { gap: 12px; flex-shrink: 1; min-width: 0; }
}

@media (max-width: 470px) {
  /* Below this width the header simply cannot hold logo + button + toggle.
     Drop the header button: the hero CTA sits just below it, and Contact
     is in the menu, so nothing is lost. */
  .nav-cta .btn--primary { display: none; }
  .brand img { height: 34px; }
  .brand-text { font-size: 0.86rem; }
  .nav { padding-block: 12px; }
  .nav-links { top: 62px; }
}


/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--charcoal);
  color: #fff;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 90% at 85% 15%, rgba(217,107,44,0.28), transparent 60%),
    radial-gradient(50% 60% at 10% 100%, rgba(217,107,44,0.14), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  /* padding-block, not shorthand — see the note on .nav above. */
  padding-block: 108px 96px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lede { color: #e3dbd3; font-size: 1.15rem; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-tag {
  margin-top: 34px;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.15rem;
  color: #f2c9a8;
}
.hero-art {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Logo lockup (mark + wordmark + tagline) sized 30% larger than base 340px */
.hero-art img { width: 100%; max-width: 442px; }

@media (max-width: 1100px) {
  .hero-inner { gap: 56px; }
  .hero-art img { max-width: 380px; }
}

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding-top: 56px; text-align: left; }
  .hero-art { order: -1; max-width: 260px; margin: 0 auto 20px; }
  .hero-art img { max-width: 260px; }
}

/* ---------- Page header (interior pages) ---------- */
.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: 72px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 90% at 90% 0%, rgba(217,107,44,0.25), transparent 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero p { color: #e3dbd3; max-width: 620px; margin-top: 14px; font-size: 1.05rem; }
.breadcrumb {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cbb9ad;
  margin-bottom: 16px;
}
.breadcrumb a:hover { color: var(--orange-light); }

/* ---------- Cards / Grids ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(217, 107, 44, 0.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

/* Photo card variant — product photography on white */
.card--media { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--media .card-photo {
  background: #fff;
  border-bottom: 1px solid var(--line);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.card--media .card-photo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.card--media .card-body { padding: 24px 24px 26px; }
.card--media .card-body h3 { margin-bottom: 10px; }

.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.96rem; }
.card ul { margin-top: 14px; padding-left: 0; list-style: none; }
.card ul li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}
.card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--orange);
}

/* Product card variant with image swatch */
.product-card { padding: 0; overflow: hidden; }
.product-card .swatch {
  height: 220px;
  display: flex; align-items: center; justify-content: center;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 20px;
  color: var(--orange);
}
.product-card .swatch svg { width: 56px; height: 56px; }
/* Icon fallback for categories awaiting photography */
.product-card .swatch--icon { background: linear-gradient(135deg, #efe6da, #f8f2ea); }
.product-card .swatch img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.product-card .body { padding: 24px 24px 26px; }

/* Full-width product card — image sits alongside the copy */
.product-card--wide { display: grid; grid-template-columns: 340px 1fr; align-items: stretch; }
.product-card--wide .swatch {
  height: 100%;
  min-height: 240px;
  border-bottom: none;
  border-right: 1px solid var(--line);
}
.product-card--wide .body { display: flex; flex-direction: column; justify-content: center; padding: 32px; }
@media (max-width: 720px) {
  .product-card--wide { grid-template-columns: 1fr; }
  .product-card--wide .swatch {
    min-height: 0; height: 200px;
    border-right: none; border-bottom: 1px solid var(--line);
  }
  .product-card--wide .body { padding: 24px 24px 26px; }
}
.product-card .tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 14px;
}
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.badge {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--orange-dark);
  background: rgba(217, 107, 44, 0.1);
  border: 1px solid rgba(217, 107, 44, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
}

.product-card .tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  /* minmax(0, 1fr) keeps all four columns equal — with a plain 1fr the long
     word "Hundreds" widens its own track and squeezes its neighbours. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  text-align: center;
}
.stats .num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--orange);
}
.stats .label {
  font-size: 0.85rem;
  color: #d8cfc7;
  margin-top: 4px;
}
@media (max-width: 700px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Process steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step { position: relative; padding-left: 4px; }
.step .step-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.4rem;
  color: rgba(217, 107, 44, 0.35);
  margin-bottom: 8px;
}
.step h3 { margin-bottom: 8px; font-size: 1.08rem; }
.step p { font-size: 0.92rem; }

/* ---------- Two-column feature ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) {
  .feature { grid-template-columns: 1fr; gap: 30px; }
}
.feature-visual {
  background: linear-gradient(160deg, var(--charcoal), #46392f);
  border-radius: 18px;
  min-height: 320px;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.feature-visual img { max-width: 220px; }
.feature ul { margin-top: 18px; padding-left: 0; list-style: none; }
.feature ul li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.feature ul li svg { width: 20px; height: 20px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }

/* ---------- Quote / CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange), var(--orange-dark));
  color: #fff;
  border-radius: 20px;
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band .btn--primary { background: #fff; color: var(--orange-dark); box-shadow: none; }
.cta-band .btn--primary:hover { background: var(--charcoal-dark); color: #fff; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testimonial p {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--charcoal-dark);
  line-height: 1.6;
}
.testimonial .who {
  margin-top: 18px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
  font-style: normal;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: var(--charcoal);
}
input, select, textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(217,107,44,0.15);
}
textarea { resize: vertical; min-height: 120px; }

.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }
.form-status {
  margin-top: 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: rgba(46, 125, 50, 0.1); color: #2e7d32; }
.form-status.err { background: rgba(183, 28, 28, 0.08); color: #b71c1c; }

/* Honeypot — invisible to people, irresistible to bots */
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Contact info cards ---------- */
.contact-info { display: grid; gap: 18px; }
.contact-info .card { display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; }
.contact-info .card-icon { margin-bottom: 0; flex-shrink: 0; }
.contact-info a.value:hover { color: var(--orange); }
.contact-info .value { font-family: var(--font-head); font-weight: 600; color: var(--charcoal-dark); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--charcoal-dark);
  color: #cfc5bd;
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 880px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { height: 38px; margin-bottom: 14px; }
.footer-brand p { color: #a89c92; font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a, .footer-col p {
  display: block;
  font-size: 0.92rem;
  color: #a89c92;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--orange-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.82rem;
  color: #7d7168;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* Kept as a hook for potential future scroll-reveal enhancement;
   content is always fully visible regardless of JS or scroll state. */
.fade-up {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Mobile refinements — must stay LAST in this file.
   These override base component rules above, and CSS gives the win to
   whichever equal-specificity rule comes last. Adding them earlier silently
   does nothing.
   ========================================================================== */
@media (max-width: 880px) {

  /* --- Legibility: these were 11.5–12.5px, too small to read on a phone --- */
  .product-card .tag { font-size: 0.85rem; padding: 6px 12px; }
  .badge            { font-size: 0.82rem; padding: 8px 15px; }
  .eyebrow          { font-size: 0.82rem; }
  .card p, .card ul li, .step p { font-size: 1rem; }
  .footer-brand p, .footer-col a, .footer-col p { font-size: 0.95rem; }
  .footer-bottom    { font-size: 0.85rem; }
  .breadcrumb       { font-size: 0.85rem; }

  /* --- Touch targets: comfortable minimum is ~44px --- */
  .footer-col a { padding: 10px 0; margin-bottom: 0; }
  .contact-info .value,
  a.value { display: inline-block; padding: 10px 0; }
  .breadcrumb a { display: inline-block; padding: 10px 6px 10px 0; }
  .nav-toggle { padding: 10px 6px; }
  .brand { padding: 4px 0; }

  /* 16px on inputs also stops iOS zooming the page when a field is focused */
  input, select, textarea { font-size: 16px; padding: 14px 15px; }
  .btn { padding: 15px 28px; }
}

/* --- Stats strip on phones ------------------------------------------------
   At two columns the 2.2rem numbers ran nearly edge to edge, so "Hundreds"
   and "Owner" crowded each other and the labels wrapped mid-phrase. Equal
   columns (minmax 0 stops long words widening their own track), a smaller
   number, a wider row gap, and tighter label leading give it room. */
/* Tablets: still four across, but 2.2rem is too wide for a quarter-column. */
@media (max-width: 880px) {
  .stats { column-gap: 18px; }
  .stats .num   { font-size: 1.7rem; line-height: 1.15; }
  .stats .label { font-size: 0.88rem; line-height: 1.35; margin-top: 6px; }
}

@media (max-width: 700px) {
  .section--dark.section--tight { padding: 44px 0; }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    row-gap: 34px;
  }
  .stats .num   { font-size: 1.65rem; line-height: 1.15; }
  .stats .label { font-size: 0.9rem; line-height: 1.35; margin-top: 6px; }
}

@media (max-width: 380px) {
  .stats .num   { font-size: 1.45rem; }
  .stats .label { font-size: 0.86rem; }
}
