/* ===========================================================
   NextGenSupply — Presswood Pallets
   Theme: Deep teal + sand/cream, premium sustainable
   =========================================================== */

:root {
  /* Palette */
  --teal-900: #062b29;
  --teal-800: #0a3b38;
  --teal-700: #0e4f4a;
  --teal-600: #14635c;
  --teal-500: #1d7d74;
  --teal-400: #3a9b90;
  --sand-50:  #faf6ec;
  --sand-100: #f4ecda;
  --sand-200: #ebdfc6;
  --sand-300: #ddcba7;
  --leaf:     #6fae5b;
  --leaf-dark:#4f8f43;
  --amber:    #d8a13a;
  --ink:      #16201e;
  --ink-soft: #3c4a47;

  /* Semantic */
  --bg:        var(--sand-50);
  --bg-alt:    var(--sand-100);
  --surface:   #fffdf7;
  --primary:   var(--teal-700);
  --primary-d: var(--teal-900);
  --accent:    var(--leaf);
  --accent-d:  var(--leaf-dark);
  --text:      var(--ink);
  --text-soft: var(--ink-soft);
  --line:      rgba(14,79,74,0.14);

  --maxw: 1240px;
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 40px;
  --shadow-sm: 0 2px 10px rgba(6,43,41,0.06);
  --shadow-md: 0 18px 44px -22px rgba(6,43,41,0.40);
  --shadow-lg: 0 40px 90px -40px rgba(6,43,41,0.55);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 18px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--primary-d);
  text-wrap: balance;
}

p { text-wrap: pretty; }

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

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

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

section { position: relative; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--primary);
  --fg: var(--sand-50);
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  padding: 15px 28px;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s ease;
  box-shadow: var(--shadow-md);
  isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  transform: translateY(102%);
  transition: transform .45s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn:hover::after { transform: translateY(0); }
.btn:hover svg { transform: translateX(4px); }
.btn--ghost {
  --bg: transparent; --fg: var(--primary-d);
  box-shadow: none;
  border: 1.5px solid var(--line);
}
.btn--ghost::after { background: var(--sand-200); }
.btn--ghost:hover { box-shadow: var(--shadow-sm); }
.btn--light { --bg: var(--sand-50); --fg: var(--primary-d); }
.btn--light::after { background: var(--accent); }
.btn--light:hover { --fg: #fff; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-d);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; background: var(--accent); border-radius: 2px;
}
.eyebrow--center::before { display: none; }

/* ===========================================================
   NAV
   =========================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 22px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav.scrolled {
  background: rgba(250,246,236,0.82);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--line);
  padding: 13px 0;
}
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: -0.03em; color: var(--primary-d); }
.brand__mark {
  width: 40px; height: 40px; border-radius: 11px;
  background: linear-gradient(145deg, var(--teal-600), var(--teal-900));
  display: grid; place-items: center; position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand b { color: var(--accent); font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  font-weight: 500; font-size: 0.98rem; color: var(--text-soft);
  padding: 9px 15px; border-radius: 100px; position: relative;
  transition: color .25s ease, background .25s ease;
}
.nav__links a:hover { color: var(--primary-d); background: rgba(14,79,74,0.06); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--primary-d); border-radius: 2px; transition: .3s var(--ease); }

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative;
  padding: 184px 0 120px;
  background:
    radial-gradient(120% 90% at 88% -10%, rgba(111,174,91,0.18), transparent 55%),
    radial-gradient(90% 80% at 8% 110%, rgba(20,99,92,0.12), transparent 60%),
    var(--bg);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  padding: 8px 8px 8px 16px; border-radius: 100px;
  font-size: 0.86rem; font-weight: 500; color: var(--text-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero__badge b { color: var(--primary-d); font-weight: 700; }
.hero__badge .pill {
  background: var(--accent); color: #fff; font-family: var(--font-display);
  font-weight: 600; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 100px;
}
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.1rem); margin-bottom: 24px; }
.hero h1 .accent { color: var(--accent-d); position: relative; }
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--primary-d); color: transparent;
}
.hero__lead { font-size: 1.2rem; color: var(--text-soft); max-width: 30em; margin-bottom: 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__stats { display: flex; gap: 38px; margin-top: 52px; flex-wrap: wrap; }
.hero__stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2.5rem; color: var(--primary-d); line-height: 1; letter-spacing: -0.03em; }
.hero__stat .num .suf { color: var(--accent-d); }
.hero__stat .lbl { font-size: 0.92rem; color: var(--text-soft); margin-top: 7px; }
.hero__stat + .hero__stat { padding-left: 38px; border-left: 1px solid var(--line); }

/* Hero visual */
.hero__visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero__ring {
  position: absolute; border-radius: 50%; border: 1.5px dashed rgba(14,79,74,0.18);
}
.hero__ring.r1 { width: 480px; height: 480px; animation: spin 60s linear infinite; }
.hero__ring.r2 { width: 340px; height: 340px; border-style: solid; border-color: rgba(111,174,91,0.22); animation: spin 45s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__disc {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, rgba(255,253,247,0.9), rgba(244,236,218,0.5) 60%, transparent 72%);
}
.pallet-illus { position: relative; z-index: 2; width: min(420px, 80%); filter: drop-shadow(0 40px 50px rgba(6,43,41,0.35)); }
.hero__chip {
  position: absolute; z-index: 5; background: var(--surface);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 11px;
  font-size: 0.9rem; font-weight: 600; color: var(--primary-d);
}
.hero__chip .ic { width: 32px; height: 32px; border-radius: 9px; background: var(--sand-100); display: grid; place-items: center; color: var(--accent-d); }
.hero__chip .ic svg { width: 18px; height: 18px; }
.hero__chip.c1 { top: 6%; left: -4%; }
.hero__chip.c2 { bottom: 14%; right: -6%; }
.hero__chip.c3 { bottom: 2%; left: 8%; }

.leaf-fall { position: absolute; top: -40px; color: var(--accent); opacity: 0.5; pointer-events: none; z-index: 1; }

/* Marquee */
.marquee {
  background: var(--primary-d); color: var(--sand-100);
  padding: 20px 0; overflow: hidden; white-space: nowrap;
}
.marquee__track { display: inline-flex; gap: 0; animation: marquee 28s linear infinite; }
.marquee__track span {
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  letter-spacing: -0.01em; padding: 0 30px; display: inline-flex; align-items: center; gap: 30px;
}
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===========================================================
   GENERIC SECTION HEADER
   =========================================================== */
.section { padding: 110px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(111,174,91,0.16), transparent 55%),
    linear-gradient(160deg, var(--teal-900), var(--teal-800));
  color: var(--sand-100);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--sand-50); }
.section--dark .eyebrow { color: var(--leaf); }
.section--dark .eyebrow::before { background: var(--leaf); }

.shead { max-width: 720px; margin-bottom: 58px; }
.shead.center { margin-inline: auto; text-align: center; }
.shead h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); margin: 16px 0 18px; }
.shead p { font-size: 1.12rem; color: var(--text-soft); }
.section--dark .shead p { color: rgba(244,236,218,0.78); }

/* ===========================================================
   ABOUT
   =========================================================== */
.about__grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 64px; align-items: center; }
.about__visual { position: relative; }
.about__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 36px; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
}
.about__card::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px;
  border-radius: 50%; background: radial-gradient(circle, rgba(111,174,91,0.22), transparent 70%);
}
.about__layers { display: grid; gap: 14px; position: relative; z-index: 1; }
.about__layer {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px;
  background: var(--sand-50); border: 1px solid var(--line); border-radius: var(--r-md);
  transition: transform .4s var(--ease);
}
.about__layer:hover { transform: translateX(6px); }
.about__layer .n { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--accent-d); min-width: 44px; }
.about__layer h4 { font-size: 1.06rem; margin-bottom: 2px; }
.about__layer p { font-size: 0.92rem; color: var(--text-soft); margin: 0; }
.about__copy h2 { font-size: clamp(2.1rem, 4.2vw, 3.2rem); margin-bottom: 20px; }
.about__copy p { color: var(--text-soft); margin-bottom: 18px; font-size: 1.1rem; }
.about__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.about__pills span {
  background: var(--sand-100); border: 1px solid var(--line); color: var(--primary-d);
  font-weight: 600; font-size: 0.9rem; padding: 9px 16px; border-radius: 100px;
}

/* ===========================================================
   FEATURES
   =========================================================== */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 32px 30px; position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .4s ease;
}
.feature::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--teal-500));
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.feature:hover::after { transform: scaleX(1); }
.feature__ic {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--sand-100), var(--sand-200));
  color: var(--primary); margin-bottom: 22px; transition: transform .5s var(--ease);
}
.feature:hover .feature__ic { transform: rotate(-8deg) scale(1.06); }
.feature__ic svg { width: 28px; height: 28px; }
.feature h3 { font-size: 1.32rem; margin-bottom: 10px; }
.feature p { color: var(--text-soft); font-size: 1rem; }

/* ===========================================================
   PRODUCTS
   =========================================================== */
.products__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
  border-radius: var(--r-lg); overflow: hidden; position: relative;
  background: var(--surface); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
  display: flex; flex-direction: column;
}
.product:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product__art {
  position: relative; aspect-ratio: 4/3; display: grid; place-items: center;
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(255,253,247,0.7), transparent 70%),
    linear-gradient(160deg, var(--sand-100), var(--sand-200));
  overflow: hidden;
}
.product__art svg.pallet { width: 70%; transition: transform .6s var(--ease); filter: drop-shadow(0 20px 24px rgba(6,43,41,0.22)); }
.product:hover .product__art svg.pallet { transform: translateY(-6px) rotate(-2deg) scale(1.04); }
.product__tag {
  position: absolute; top: 16px; left: 16px; background: var(--primary-d); color: var(--sand-50);
  font-family: var(--font-display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 13px; border-radius: 100px;
}
.product__body { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.product__body h3 { font-size: 1.46rem; margin-bottom: 9px; }
.product__body p { color: var(--text-soft); font-size: 1rem; margin-bottom: 18px; flex: 1; }
.product__specs { display: flex; gap: 10px; flex-wrap: wrap; }
.product__specs span { font-size: 0.82rem; font-weight: 600; color: var(--primary-d); background: var(--sand-100); padding: 6px 12px; border-radius: 8px; }

/* ===========================================================
   SIZES
   =========================================================== */
.sizes__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.size {
  background: rgba(255,253,247,0.06); border: 1px solid rgba(244,236,218,0.16);
  border-radius: var(--r-md); padding: 28px 24px; transition: transform .45s var(--ease), background .4s ease;
}
.size:hover { transform: translateY(-6px); background: rgba(255,253,247,0.12); }
.size .dim { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--sand-50); letter-spacing: -0.02em; }
.size .dim small { font-size: 0.9rem; font-weight: 500; color: var(--leaf); display: block; margin-top: 4px; letter-spacing: 0.04em; }
.size .meta { margin-top: 18px; display: grid; gap: 9px; }
.size .meta div { display: flex; justify-content: space-between; font-size: 0.92rem; color: rgba(244,236,218,0.72); border-top: 1px solid rgba(244,236,218,0.12); padding-top: 9px; }
.size .meta b { color: var(--sand-50); font-weight: 600; }
.sizes__note { margin-top: 30px; text-align: center; color: rgba(244,236,218,0.7); font-size: 1rem; }
.sizes__note b { color: var(--leaf); }

/* ===========================================================
   COMPARISON
   =========================================================== */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; }
.compare__wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); box-shadow: var(--shadow-md); background: var(--surface); }
.compare th, .compare td { padding: 20px 22px; text-align: left; font-size: 1rem; }
.compare thead th { font-family: var(--font-display); font-size: 1.04rem; color: var(--primary-d); border-bottom: 2px solid var(--line); }
.compare thead th.hl { background: var(--primary-d); color: var(--sand-50); border-radius: 14px 14px 0 0; position: relative; }
.compare thead th.hl small { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; color: var(--leaf); margin-top: 2px; }
.compare tbody td { border-bottom: 1px solid var(--line); color: var(--text-soft); }
.compare tbody td.hl { background: rgba(111,174,91,0.08); color: var(--primary-d); font-weight: 600; }
.compare tbody tr:last-child td { border-bottom: none; }
.compare td:first-child { font-weight: 600; color: var(--primary-d); }
.compare .yes { color: var(--accent-d); font-weight: 700; }
.compare .no { color: #b15c4e; }
.compare .mid { color: var(--amber); }

/* ===========================================================
   INDUSTRIES / CUSTOMERS
   =========================================================== */
.industries__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.industry {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 28px 24px; text-align: left; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  position: relative; overflow: hidden;
}
.industry:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.industry__ic { width: 46px; height: 46px; color: var(--primary); margin-bottom: 16px; }
.industry__ic svg { width: 100%; height: 100%; }
.industry h4 { font-size: 1.12rem; margin-bottom: 6px; }
.industry p { font-size: 0.9rem; color: var(--text-soft); margin: 0; }
.logos { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 48px; align-items: center; justify-content: center; }
.logos span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.02em;
  color: var(--primary-d); opacity: 0.4; transition: opacity .3s ease; padding: 0 8px;
}
.logos span:hover { opacity: 0.85; }

/* ===========================================================
   ENQUIRY + CONTACT
   =========================================================== */
.enquiry__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
.enquiry__info h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.enquiry__info p { color: rgba(244,236,218,0.8); font-size: 1.1rem; margin-bottom: 32px; }
.contact__list { display: grid; gap: 16px; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item .ic {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: rgba(111,174,91,0.16); color: var(--leaf); display: grid; place-items: center;
}
.contact__item .ic svg { width: 22px; height: 22px; }
.contact__item h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--leaf); margin-bottom: 4px; }
.contact__item p, .contact__item a { color: var(--sand-50); font-size: 1.04rem; line-height: 1.5; }
.contact__item a:hover { color: var(--leaf); }

.form {
  background: var(--surface); border-radius: var(--r-lg); padding: 38px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(244,236,218,0.5);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; position: relative; }
.field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--primary-d); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-sm);
  background: var(--sand-50); transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: #fff;
  box-shadow: 0 0 0 4px rgba(111,174,91,0.14);
}
.form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form__ok {
  display: none; text-align: center; padding: 50px 20px;
}
.form__ok.show { display: block; }
.form__ok .check {
  width: 66px; height: 66px; border-radius: 50%; background: var(--accent); color: #fff;
  display: grid; place-items: center; margin: 0 auto 20px; animation: pop .5s var(--ease);
}
.form__ok h3 { font-size: 1.6rem; margin-bottom: 8px; }
.form__ok p { color: var(--text-soft); }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: var(--teal-900); color: rgba(244,236,218,0.7); padding: 70px 0 30px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(244,236,218,0.12); }
.footer .brand { color: var(--sand-50); margin-bottom: 16px; }
.footer__about { font-size: 0.98rem; max-width: 30ch; }
.footer__col h5 { font-family: var(--font-display); color: var(--sand-50); font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; padding: 6px 0; font-size: 0.96rem; transition: color .25s ease, padding-left .25s ease; }
.footer__col a:hover { color: var(--leaf); padding-left: 5px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; flex-wrap: wrap; font-size: 0.9rem; }
.footer__bottom .leaf-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--leaf); font-weight: 600; }

/* ===========================================================
   SCROLL REVEAL
   =========================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
.reveal[data-d="5"] { transition-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__ring, .marquee__track, .leaf-fall { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { min-height: 400px; order: -1; }
  .about__grid { grid-template-columns: 1fr; gap: 44px; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .products__grid { grid-template-columns: 1fr 1fr; }
  .sizes__grid { grid-template-columns: 1fr 1fr; }
  .industries__grid { grid-template-columns: 1fr 1fr; }
  .enquiry__grid { grid-template-columns: 1fr; gap: 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 980px) {
  .nav__links, .nav__cta .btn { display: none; }
  .nav__burger { display: flex; }
  /* hero is single-column here — floating chips overlay awkwardly & overflow, so hide */
  .hero__chip { display: none; }
}

/* ---- Tablet & small ---- */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .hero { padding: 124px 0 72px; }
  .features__grid, .products__grid, .sizes__grid, .industries__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .hero__stat + .hero__stat { padding-left: 0; border-left: none; }
  .hero__stats { gap: 24px 30px; margin-top: 40px; }
  /* floating chips don't fit a phone column — hide */
  .hero__chip { display: none; }
  /* shrink the decorative hero rings/disc so they don't dominate */
  .hero__visual { min-height: 320px; }
  .hero__ring.r1 { width: 340px; height: 340px; }
  .hero__ring.r2 { width: 240px; height: 240px; }
  .hero__disc { width: 300px; height: 300px; }
  .pallet-illus { width: min(300px, 78%); }
  .shead { margin-bottom: 40px; }
  .form { padding: 26px 22px; }
  .about__card { padding: 26px 22px; }
  .enquiry__grid { gap: 36px; }
  .compare th, .compare td { padding: 15px 16px; font-size: 0.94rem; }
}

/* ---- Phones ---- */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 60px 0; }
  .hero { padding: 112px 0 60px; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.2rem); }
  .hero__lead { font-size: 1.06rem; margin-bottom: 28px; }
  .hero__badge { font-size: 0.8rem; padding: 7px 7px 7px 13px; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hero__stats { gap: 20px 26px; }
  .hero__stat .num { font-size: 2.1rem; }
  .hero__visual { min-height: 280px; }
  .hero__ring.r1 { width: 280px; height: 280px; }
  .hero__ring.r2 { width: 196px; height: 196px; }
  .hero__disc { width: 250px; height: 250px; }
  .pallet-illus { width: min(260px, 84%); }
  .shead h2 { font-size: clamp(1.8rem, 8vw, 2.3rem); }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .marquee__track span { font-size: 1rem; padding: 0 20px; gap: 20px; }
  .btn { padding: 14px 24px; }
  .about__pills span { font-size: 0.84rem; padding: 8px 13px; }
  .compare th, .compare td { padding: 13px 13px; font-size: 0.88rem; }
  .product__body { padding: 22px 22px 26px; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 40px;
  transform: translateY(-100%); transition: transform .5s var(--ease); visibility: hidden;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--primary-d); padding: 12px 0; border-bottom: 1px solid var(--line); }

/* ===========================================================
   NO-MOTION (tweak)
   =========================================================== */
body.no-motion .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
body.no-motion .hero__ring,
body.no-motion .marquee__track,
body.no-motion .leaf-fall { animation: none !important; }
body.no-motion .leaf-fall { display: none; }
body.no-motion [data-parallax] { transform: none !important; }

/* ===========================================================
   TWEAKS PANEL
   =========================================================== */
.tweaks {
  position: fixed; top: 50%; right: 22px; transform: translateY(-50%) translateX(120%);
  width: 290px; max-height: 86vh; overflow-y: auto; z-index: 1000;
  background: rgba(255,253,247,0.96); backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid var(--line); border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(6,43,41,0.55);
  font-family: var(--font-body); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .35s var(--ease), visibility .35s;
}
.tweaks.open { transform: translateY(-50%) translateX(0); opacity: 1; visibility: visible; }
.tweaks__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: inherit; }
.tweaks__title { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--primary-d); letter-spacing: -0.02em; }
.tweaks__close { background: none; border: none; font-size: 1.5rem; line-height: 1; color: var(--text-soft); cursor: pointer; padding: 0 4px; }
.tweaks__close:hover { color: var(--primary-d); }
.tweaks__body { padding: 16px 20px 22px; }
.tweaks__sec { font-family: var(--font-display); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-d); margin: 18px 0 10px; }
.tweaks__sec:first-child { margin-top: 4px; }
.tweaks__seg { display: flex; gap: 6px; background: var(--sand-100); padding: 5px; border-radius: 12px; }
.tweaks__opt {
  flex: 1; font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; color: var(--text-soft);
  background: transparent; border: none; padding: 9px 6px; border-radius: 8px; cursor: pointer;
  transition: background .25s ease, color .25s ease; white-space: nowrap;
}
.tweaks__opt.active { background: var(--surface); color: var(--primary-d); box-shadow: var(--shadow-sm); }
.tweaks__swatches { display: flex; gap: 10px; }
.tweaks__swatch { width: 42px; height: 42px; border-radius: 11px; border: 2px solid transparent; cursor: pointer; transition: transform .2s ease, border-color .2s ease; box-shadow: var(--shadow-sm); }
.tweaks__swatch:hover { transform: scale(1.08); }
.tweaks__swatch.active { border-color: var(--primary-d); transform: scale(1.08); }
.tweaks__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 0.92rem; font-weight: 500; color: var(--text); cursor: pointer; }
.tweaks__toggle input { display: none; }
.tweaks__track { width: 44px; height: 26px; border-radius: 100px; background: var(--sand-200); position: relative; flex-shrink: 0; transition: background .25s ease; }
.tweaks__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease); }
.tweaks__toggle input:checked + .tweaks__track { background: var(--accent); }
.tweaks__toggle input:checked + .tweaks__track::after { transform: translateX(18px); }
@media (max-width: 520px) { .tweaks { right: 12px; left: 12px; width: auto; } }
