/* ==========================================================================
   YY Custom Packaging — Core stylesheet
   Brand palette sampled from the official logo & cover photo
   ========================================================================== */

:root {
  --forest: #0E3D25;
  --forest-900: #082716;
  --forest-800: #0A2E1C;
  --forest-700: #14502F;
  --forest-600: #1B6340;
  --forest-100: #DDE8E1;

  --cream: #F7F3E9;
  --cream-2: #EFE8D8;
  --cream-3: #E4DAC5;

  --gold: #C9B77E;
  --kraft: #C4A57B;
  --kraft-dark: #A8875C;

  --ink: #12211A;
  --muted: #5E6B62;
  --line: rgba(14, 61, 37, 0.14);
  --line-soft: rgba(14, 61, 37, 0.08);

  --maxw: 1180px;
  --radius: 3px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --serif: "Cormorant Garamond", "Songti SC", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* keep anchored sections clear of the sticky header */
[id] { scroll-margin-top: 100px; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* the off-canvas menu sits outside the viewport; clip it without
   turning the page into a scroll container (which would break sticky) */
html { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--forest); color: var(--cream); }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--forest);
}

h1 { font-size: clamp(2.6rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
h4 { font-size: 1.15rem; }

p { color: var(--muted); }
p strong { color: var(--ink); font-weight: 500; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--forest-600);
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: 1.08rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 62ch;
}

/* ---------- Layout ---------- */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

.section { padding: 104px 0; }
.section--tight { padding: 72px 0; }
.section--cream { background: var(--cream); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h1,
.section--forest h2,
.section--forest h3 { color: var(--cream); }
.section--forest p { color: rgba(247, 243, 233, 0.72); }

.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head h2 { margin: 18px 0 16px; }

.grid { display: grid; gap: 32px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}
.btn--primary:hover {
  background: var(--forest-700);
  border-color: var(--forest-700);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--forest);
  border-color: var(--line);
}
.btn--ghost:hover {
  border-color: var(--forest);
  background: rgba(14, 61, 37, 0.04);
}

.btn--light {
  background: var(--cream);
  color: var(--forest);
  border-color: var(--cream);
}
.btn--light:hover { background: #fff; border-color: #fff; }

.btn--outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(247, 243, 233, 0.35);
}
.btn--outline-light:hover {
  border-color: var(--cream);
  background: rgba(247, 243, 233, 0.08);
}

.btn .arrow { transition: transform 0.35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: all 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--forest); gap: 12px; }

/* ---------- Top bar ---------- */

.topbar {
  background: var(--forest-900);
  color: rgba(247, 243, 233, 0.8);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 40px;
}
.topbar__note { display: flex; align-items: center; gap: 8px; }
.topbar__dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 183, 126, 0.18);
}
.topbar__contact { display: flex; align-items: center; gap: 22px; }
.topbar__contact a { transition: color 0.25s; }
.topbar__contact a:hover { color: var(--cream); }

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow 0.3s;
}
.header.is-scrolled { box-shadow: 0 1px 24px rgba(14, 61, 37, 0.07); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 78px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--forest);
}
.brand__tag {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative;
  font-size: 0.86rem;
  font-weight: 450;
  color: var(--ink);
  padding: 6px 0;
  transition: color 0.25s;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--forest);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--forest); }
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--forest); }

.header__cta { display: flex; align-items: center; gap: 12px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  width: 20px; height: 1.5px;
  background: var(--forest);
  transition: all 0.3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: var(--cream);
  overflow: hidden;
  padding: 92px 0 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: var(--line-soft);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 64px;
  align-items: center;
  padding-bottom: 96px;
}

.hero__content { max-width: 560px; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 em {
  font-style: italic;
  color: var(--forest-600);
}
.hero .lead { margin-bottom: 36px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { color: var(--forest-600); flex-shrink: 0; }

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 34px 70px rgba(14, 61, 37, 0.13);
}
.hero__bags {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0;
  z-index: 1;
}
.hero__bags .bag {
  width: 172px;
  filter: drop-shadow(0 26px 34px rgba(14, 61, 37, 0.13));
}
.hero__bags .bag:nth-child(1) { transform: translateY(18px) rotate(-3deg); z-index: 1; }
.hero__bags .bag:nth-child(2) { width: 196px; z-index: 3; }
.hero__bags .bag:nth-child(3) { transform: translateY(24px) rotate(3deg); z-index: 2; }

.hero__badge {
  position: absolute;
  right: 0;
  bottom: 24px;
  z-index: 4;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 11px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--forest);
  box-shadow: 0 10px 30px rgba(14, 61, 37, 0.08);
}

/* ---------- Trust strip ---------- */

.trust {
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.trust__item {
  padding: 34px 26px;
  border-right: 1px solid var(--line-soft);
}
.trust__item:last-child { border-right: none; }
.trust__num {
  font-family: var(--serif);
  font-size: 2.35rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1;
  letter-spacing: -0.02em;
}
.trust__num span { font-size: 1.15rem; color: var(--gold); margin-left: 2px; }
.trust__label {
  margin-top: 8px;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Product cards ---------- */

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease);
}
.product-card:hover {
  border-color: rgba(14, 61, 37, 0.24);
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(14, 61, 37, 0.09);
}

.product-card__media {
  position: relative;
  aspect-ratio: 4 / 3.4;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-card__media--kraft { background: #F1E9DA; }
.product-card__media--gift { background: #EFE7D6; }
.product-card__media .bag {
  width: 44%;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card__media .bag { transform: translateY(-6px) scale(1.02); }

.product-card__media .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product-card:hover .product-card__media .ph { transform: scale(1.045); }

.product-card__num {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  color: var(--forest);
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 11px;
  border-radius: 999px;
}

.product-card__body { padding: 28px 28px 30px; flex: 1; display: flex; flex-direction: column; }
.product-card__body h3 { margin-bottom: 10px; }
.product-card__body p { font-size: 0.92rem; margin-bottom: 18px; }
.product-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}
.spec-chip {
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}
.product-card__body .link-arrow { margin-top: auto; }

/* ---------- Feature / capability ---------- */

.feature {
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
}
.feature__icon {
  width: 40px; height: 40px;
  margin-bottom: 18px;
  color: var(--forest);
}
.feature h4 { margin-bottom: 10px; font-family: var(--sans); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.feature p { font-size: 0.9rem; }

/* ---------- Split section ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }

.split__media {
  position: relative;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 56px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}
.split__media--kraft { background: #F1E9DA; }
.split__media .bag { width: 46%; filter: drop-shadow(0 22px 30px rgba(14,61,37,.12)); }

.split__media--photo {
  padding: 0;
  overflow: hidden;
  background: var(--cream-2);
}
.split__media--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 34px;
}
.stat-row__item { background: #fff; padding: 22px 24px; }
.stat-row__item strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--forest);
  line-height: 1.1;
}
.stat-row__item span { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

.check-list { margin-top: 28px; display: grid; gap: 14px; }
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--muted);
  line-height: 1.65;
}
.check-list svg { flex-shrink: 0; margin-top: 4px; color: var(--forest-600); }
.check-list strong { color: var(--ink); font-weight: 500; }

/* ---------- Materials ---------- */

.material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.material {
  background: #fff;
  padding: 30px 26px;
  transition: background 0.3s;
}
.material:hover { background: var(--cream); }
.material__swatch {
  width: 100%;
  height: 76px;
  border-radius: 2px;
  margin-bottom: 18px;
  border: 1px solid rgba(14, 61, 37, 0.08);
}
.material h4 { font-family: var(--sans); font-size: 0.95rem; font-weight: 600; margin-bottom: 6px; }
.material p { font-size: 0.84rem; line-height: 1.6; }
.material__gsm {
  margin-top: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--forest-600);
  font-weight: 500;
}

.finish-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.finish-list li {
  font-size: 0.82rem;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
}

/* ---------- Industries ---------- */

.industry {
  position: relative;
  display: block;
  padding: 38px 30px;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.industry:hover { background: var(--forest); border-color: var(--forest); }
.industry:hover h4,
.industry:hover p,
.industry:hover .industry__num { color: var(--cream); }
.industry:hover p { color: rgba(247,243,233,.7); }
.industry:hover .industry__icon { color: var(--gold); }
.industry__num {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--forest);
  opacity: 0.45;
  transition: color 0.3s;
}
.industry__icon {
  width: 34px; height: 34px;
  margin: 26px 0 20px;
  color: var(--forest);
  transition: color 0.3s;
}
.industry h4 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  transition: color 0.3s;
}
.industry p { font-size: 0.86rem; line-height: 1.6; transition: color 0.3s; }

/* ---------- Process ---------- */

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(247, 243, 233, 0.16);
  border: 1px solid rgba(247, 243, 233, 0.16);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 56px;
}
.process__step {
  background: var(--forest);
  padding: 32px 24px 36px;
  position: relative;
}
.process__day {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.process__step h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
  letter-spacing: 0;
}
.process__step p { font-size: 0.82rem; line-height: 1.6; color: rgba(247, 243, 233, 0.6); }
.process__bar {
  position: absolute;
  left: 24px; bottom: 22px;
  width: 22px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}

/* ---------- Certifications ---------- */

.certs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.cert {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--forest);
}
.cert svg { color: var(--forest-600); }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s;
}
.faq__q:hover { color: var(--forest-600); }
.faq__q span:first-child { max-width: 78%; }
.faq__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  margin-top: 3px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--forest);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.faq__icon::before { width: 13px; height: 1px; transform: translate(-50%, -50%); }
.faq__icon::after { width: 1px; height: 13px; transform: translate(-50%, -50%); }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.faq__a-inner {
  padding: 0 60px 28px 0;
  font-size: 0.94rem;
  line-height: 1.8;
  color: var(--muted);
}
.faq__a-inner strong { color: var(--ink); font-weight: 500; }

/* ---------- CTA band ---------- */

.cta-band {
  position: relative;
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  border: 1px solid rgba(201, 183, 126, 0.18);
  border-radius: 50%;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 300px; height: 300px;
  border: 1px solid rgba(201, 183, 126, 0.12);
  border-radius: 50%;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 84px 0;
  flex-wrap: wrap;
}
.cta-band h2 { max-width: 560px; color: var(--cream); }
.cta-band p { margin-top: 14px; max-width: 480px; color: rgba(247, 243, 233, 0.68); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.footer {
  background: var(--forest-900);
  color: rgba(247, 243, 233, 0.62);
  font-size: 0.88rem;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 56px;
  padding: 76px 0 56px;
}
.footer__brand .brand__name { color: var(--cream); }
.footer__brand .brand__tag { color: rgba(247, 243, 233, 0.45); }
.footer__desc {
  margin-top: 22px;
  font-size: 0.86rem;
  line-height: 1.8;
  color: rgba(247, 243, 233, 0.55);
  max-width: 34ch;
}
.footer h5 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 20px;
}
.footer__links { display: grid; gap: 11px; }
.footer__links a { transition: color 0.25s; }
.footer__links a:hover { color: var(--cream); }
.footer__contact { display: grid; gap: 14px; }
.footer__contact a,
.footer__contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: color 0.25s;
}
.footer__contact a:hover { color: var(--cream); }
.footer__contact svg { flex-shrink: 0; margin-top: 4px; color: var(--gold); }

.footer__bottom {
  border-top: 1px solid rgba(247, 243, 233, 0.1);
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.78rem;
  color: rgba(247, 243, 233, 0.4);
  flex-wrap: wrap;
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  background: var(--cream);
  padding: 76px 0 84px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.page-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); margin: 18px 0 20px; }
.page-hero .lead { margin-bottom: 30px; }
.page-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 340px;
}
.page-hero__visual .bag {
  width: 58%;
  filter: drop-shadow(0 24px 34px rgba(14, 61, 37, 0.14));
}
.page-hero__visual .ph {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 4.3;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 28px 56px rgba(14, 61, 37, 0.14);
}
/* landscape source image: keep more of the frame */
.page-hero__visual .ph--wide {
  max-width: 100%;
  aspect-ratio: 4 / 3.2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.breadcrumb a:hover { color: var(--forest); }
.breadcrumb span { opacity: 0.4; }

/* ---------- Spec table ---------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:first-child { border-top: 1px solid var(--line); }
.spec-table th {
  text-align: left;
  font-weight: 500;
  color: var(--forest);
  padding: 16px 24px 16px 0;
  width: 34%;
  vertical-align: top;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.spec-table td { padding: 16px 0; color: var(--muted); vertical-align: top; }

/* ---------- Option grid ---------- */

.option-card {
  padding: 28px 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: #fff;
  transition: border-color 0.3s, background 0.3s;
}
.option-card:hover { border-color: var(--line); background: var(--cream); }
.option-card h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.option-card p { font-size: 0.86rem; line-height: 1.65; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: start;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 0.94rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(14, 61, 37, 0.07);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: #A8B0AA; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.6;
}

/* hidden anti-spam field — real users never see or reach it */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  pointer-events: none;
}

.form-error {
  margin-top: 20px;
  padding: 16px 20px;
  background: #FCEBEB;
  border: 1px solid #F09595;
  border-radius: 3px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #791F1F;
}

.contact-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.contact-card h3 { margin-bottom: 24px; }
.contact-list { display: grid; gap: 22px; }
.contact-list__item { display: flex; gap: 14px; }
.contact-list__item svg { flex-shrink: 0; margin-top: 3px; color: var(--forest-600); }
.contact-list__label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-list__value { font-size: 0.95rem; color: var(--ink); font-weight: 500; word-break: break-word; }
.contact-list__value a:hover { color: var(--forest-600); }

/* ---------- Spec panel cards ----------
   Used where we do not yet have a photograph of the individual product.
   A paper-tone swatch with the distinguishing attribute, rather than
   repeating one stock photo across a whole grid. */

.product-card__media--spec {
  flex-direction: column;
  justify-content: center;
  padding: 30px 22px;
  text-align: center;
}
.product-card__media--spec .spec-label {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 13px;
}
.product-card__media--spec .spec-mark {
  font-family: var(--serif);
  font-size: clamp(1.12rem, 1.65vw, 1.42rem);
  line-height: 1.24;
  color: var(--forest);
  letter-spacing: -0.005em;
}
.product-card__media--spec .spec-rule {
  width: 26px;
  height: 1px;
  background: var(--gold);
  margin: 17px auto 0;
}
.product-card:hover .product-card__media--spec .spec-rule { width: 42px; transition: width 0.4s var(--ease); }

/* ---------- Sub-category quick links ---------- */

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}
.quick-links__label {
  width: 100%;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.855rem;
  color: var(--ink);
  transition: background 0.28s var(--ease), border-color 0.28s var(--ease), color 0.28s var(--ease);
}
.quick-links a:hover {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--cream);
}

/* ---------- Reveal animation ---------- */
/* The hidden state is scoped to html.js on purpose: if JavaScript is blocked
   or fails to load, the "js" class is never added and every section stays
   visible. A decorative animation must never be able to blank the page. */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
html.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal,
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 72px; }
  .hero__content { max-width: 100%; }
  .hero__visual { min-height: 400px; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .split--reverse .split__media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 44px; }
  .page-hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: 0; right: 0;
    width: min(340px, 86vw);
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 100px 32px 40px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(14, 61, 37, 0.12);
    z-index: 99;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { width: 100%; padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav__link::after { display: none; }
  /* keep the toggle above the open panel so it can close it */
  .header__cta { position: relative; z-index: 101; }
  .nav-toggle { display: flex; }
  .header__cta .btn { display: none; }
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item:nth-child(2) { border-right: none; }
  .trust__item:nth-child(1),
  .trust__item:nth-child(2) { border-bottom: 1px solid var(--line-soft); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero__bags .bag { width: 130px; }
  .hero__bags .bag:nth-child(2) { width: 150px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; padding: 64px 0; }
  .topbar__contact a:first-child { display: none; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .hero { padding-top: 56px; }
  .hero__bags .bag { width: 104px; }
  .hero__bags .bag:nth-child(2) { width: 120px; }
  .hero__visual { min-height: 320px; }
  .hero__badge { display: none; }
  .grid-4, .material-grid, .process { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
  .form-row { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 40px; }
  .topbar__note { display: none; }
  .topbar__inner { justify-content: center; }
  .faq__q span:first-child { max-width: 84%; }
  .faq__a-inner { padding-right: 20px; }
  .contact-card { padding: 30px 24px; }
  .page-hero { padding: 52px 0 60px; }
}
