:root {
  /* Hazelnut color palette */
  --hazel-brown: #8b542e;
  --hazel-brown-dark: #5c361c;
  --leaf-green: #3c7a41;
  --leaf-green-soft: #6e9f63;
  --cream: #f7f2ea;
  --offwhite: #fdfbf7;
  --text-main: #2b241e;
  --text-muted: #6b6056;
  --border-soft: #e3d6c8;
  --accent-gold: #c68c3c;

  --max-width: 1180px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 16px 40px rgba(0,0,0,0.06);
  --transition-fast: 180ms ease-out;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* ------------------------ */
/* LEGACY PRODUCT HELPERS   */
/* ------------------------ */

/* SPECIFICATIONS WITH DIAGRAM - 2 COLUMN LAYOUT */
.specifications-with-diagram {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Diagram styling */
.spec-diagram-img {
  width: 100%;
  border-radius: 14px;
  background: #fff;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  object-fit: contain;
}

/* Responsive behavior */
@media (max-width: 950px) {
  .specifications-with-diagram {
    grid-template-columns: 1fr;
  }

  .spec-diagram-img {
    margin-top: 1.5rem;
  }
}

.product-overview-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.product-overview-text {
  max-width: 100%;
}

.product-overview-image img {
  width: 100%;
  border-radius: 0.7rem;
  object-fit: cover;
  background: #f3eee7;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

/* Responsive layout */
@media (max-width: 900px) {
  .product-overview-grid {
    grid-template-columns: 1fr;
  }

  .product-overview-image img {
    margin-top: 1rem;
  }
}

.product-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0.6rem;
  margin-bottom: 0.8rem;
  background: #f4f2ef;
}

/* ------------------------ */
/* GLOBAL BASE STYLES       */
/* ------------------------ */

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-main);
  background: radial-gradient(circle at top left,#faf3e4,#f8f4ee 40%,#f3efe8 100%);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

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

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

main {
  min-height: 60vh;
}

.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ------------------------ */
/* HEADER & NAVIGATION      */
/* ------------------------ */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(253, 251, 247, 0.94);
  border-bottom: 1px solid rgba(227, 214, 200, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 40px;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text span:first-child {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.brand-text span:last-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--text-muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

nav a {
  position: relative;
  padding-bottom: 0.2rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--leaf-green), var(--hazel-brown));
  transition: width var(--transition-fast);
}

nav a:hover::after,
nav a:focus-visible::after {
  width: 100%;
}

.nav-cta {
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--leaf-green);
  color: #fff;
  background: linear-gradient(135deg, var(--leaf-green), var(--hazel-brown));
  box-shadow: 0 10px 24px rgba(59, 122, 65, 0.35);
  font-size: 0.8rem;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(59, 122, 65, 0.4);
}

.nav-toggle {
  display: none;
  border: none;
  background: none;
  font-size: 1.4rem;
}

/* ------------------------ */
/* HOME HERO                */
/* ------------------------ */

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--leaf-green);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 3.2vw + 1rem, 3.3rem);
  line-height: 1.08;
  margin: 0 0 1rem;
  color: var(--hazel-brown-dark);
}

.hero h1 span {
  color: var(--leaf-green);
}

.hero-subtitle {
  max-width: 32rem;
  font-size: 0.98rem;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.8rem;
}

.chip {
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(108, 130, 99, 0.35);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--leaf-green);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.btn-primary {
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: none;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: linear-gradient(135deg, var(--leaf-green), var(--hazel-brown));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(25, 77, 33, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(25, 77, 33, 0.55);
}

.btn-secondary {
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(92, 54, 28, 0.5);
  background: rgba(253, 251, 247, 0.8);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--hazel-brown-dark);
  cursor: pointer;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.btn-secondary:hover {
  background: #f0e4d4;
  transform: translateY(-1px);
}

.hero-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--hazel-brown-dark);
}

.hero-visual {
  position: relative;
  border-radius: 28px;
  background: radial-gradient(circle at top left,#f9f2dd,#f5ebd3 45%,#e8dcc5 100%);
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.6);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-card {
  border-radius: 18px;
  background: rgba(255,255,255,0.92);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
  font-size: 0.82rem;
}

.hero-card-title {
  font-weight: 600;
  color: var(--hazel-brown-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-card-title span.icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: rgba(104, 146, 88, 0.18);
  color: var(--leaf-green);
}

.hero-card p {
  margin: 0;
  color: var(--text-muted);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.7rem;
  background: rgba(60,122,65,0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  color: var(--leaf-green);
}

.hero-badge span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--leaf-green);
}

/* ------------------------ */
/* SECTION BASE             */
/* ------------------------ */

section {
  padding: 2.8rem 0;
}

.section-header {
  margin-bottom: 1.7rem;
}

.section-header {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 2.5rem auto;
}

.section-header .section-title {
  margin: 0 0 0.8rem 0;
  line-height: 1.25;
}

.section-header .section-description {
  margin: 0 auto;
  line-height: 1.6;
  max-width: 750px;
}

.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--leaf-green-soft);
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  margin: 0 0 0.4rem;
  color: var(--hazel-brown-dark);
}

.section-description {
  max-width: 36rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Muted background sections */
.section-muted {
  background: linear-gradient(180deg,#f7f2ea,#f4efe5);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

/* ------------------------ */
/* INDEX: PRODUCT GRID      */
/* ------------------------ */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1.2rem;
}

.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1rem;
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
  border: 1px solid rgba(219,201,176,0.5);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
}

.product-chip {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-green);
}

.product-card h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--hazel-brown-dark);
}

.product-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.product-link {
  margin-top: 0.3rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--leaf-green);
}

/* ------------------------ */
/* WHY ATLAS                */
/* ------------------------ */

.why-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 2.3rem;
  align-items: start;
}

.pill-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0.7rem;
  margin-top: 1rem;
}

.pill {
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(139,84,46,0.05);
  font-size: 0.82rem;
  border: 1px dashed rgba(139,84,46,0.4);
}

.why-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(209,196,180,0.7);
}

.why-stat {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
}

.why-stat strong {
  display: block;
  font-size: 1.1rem;
  color: var(--hazel-brown-dark);
}

/* ------------------------ */
/* INDUSTRIES & PROCESS     */
/* ------------------------ */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1.2rem;
}

.industry-card {
  padding: 1rem;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(204,189,167,0.7);
  font-size: 0.86rem;
}

.industry-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
  color: var(--hazel-brown-dark);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 1rem;
}

.process-step {
  font-size: 0.86rem;
}

.process-step-number {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(60,122,65,0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--leaf-green);
  margin-bottom: 0.4rem;
  background: #fff;
}

.process-step h3 {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
  color: var(--hazel-brown-dark);
}

/* ------------------------ */
/* HAZELNUT ACADEMY         */
/* ------------------------ */

.academy {
  background: #fff;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.academy-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2.2rem;
}

.academy-highlight {
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg,#f5efdf,#efe3cf);
  border: 1px solid rgba(200,180,150,0.8);
  box-shadow: var(--shadow-soft);
  font-size: 0.9rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  background: #fff;
  border: 1px solid rgba(167,146,109,0.6);
  margin-bottom: 0.7rem;
}

.badge-pill span.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-gold);
}

.academy-list {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.article-card {
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(210,193,169,0.7);
  font-size: 0.83rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.article-card h3 {
  margin: 0;
  font-size: 0.95rem;
  color: var(--hazel-brown-dark);
}

.article-meta {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.article-link {
  margin-top: 0.1rem;
  font-size: 0.8rem;
  color: var(--leaf-green);
  font-weight: 500;
}

/* ------------------------ */
/* CTA STRIP                */
/* ------------------------ */

.cta-strip {
  padding: 1.7rem 0;
}

.cta-box {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg,#3c7a41,#8b542e);
  color: #fff;
  padding: 1.4rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 18px 42px rgba(0,0,0,0.25);
}

.cta-box h2 {
  margin: 0;
  font-size: 1.4rem;
  font-family: "Playfair Display", serif;
}

.cta-box p {
  margin: 0.2rem 0 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn-light {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.btn-light:hover {
  background: rgba(255,255,255,0.25);
}

/* ------------------------ */
/* FOOTER & FORM            */
/* ------------------------ */

footer {
  border-top: 1px solid var(--border-soft);
  background: #f7f2ea;
  margin-top: auto;
}

.footer-inner {
  padding: 2.4rem 0 1.2rem;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1.2fr);
  gap: 2.2rem;
}

.footer-brand h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  margin: 0 0 0.4rem;
  color: var(--hazel-brown-dark);
}

.footer-brand p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.footer-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--leaf-green);
  font-weight: 500;
}

.footer-form {
  background: #fff;
  padding: 1.3rem 1.4rem 1.4rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(211,193,170,0.9);
}

.footer-form h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  color: var(--hazel-brown-dark);
}

.footer-form p {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0.7rem 0.9rem;
  margin-bottom: 0.9rem;
}

.form-grid-full {
  grid-column: 1 / -1;
}

label {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.2rem;
  color: var(--text-muted);
}

input, textarea, select {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(190,172,148,0.9);
  padding: 0.55rem 0.65rem;
  font-family: inherit;
  font-size: 0.86rem;
  background: #fdfaf4;
  transition: border var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  resize: vertical;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--leaf-green);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(60,122,65,0.18);
}

textarea {
  min-height: 110px;
}

.footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.copyright {
  padding: 0.8rem 0 1rem;
  border-top: 1px solid rgba(210,196,175,0.9);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

/* ===================================================== */
/* NEW PRODUCT DETAIL LAYOUT (raw-kernels.html & friends)*/
/* ===================================================== */

/* HERO ALT */
.product-hero-alt {
  padding: 3rem 0 2rem;
}

.product-hero-alt-inner {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,1.1fr);
  gap: 3rem;
  align-items: center;
}

.product-breadcrumb {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.product-breadcrumb a {
  color: var(--leaf-green);
}

.product-hero-alt-text h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.1rem;
  margin: 0 0 0.7rem;
  color: var(--hazel-brown-dark);
}

.product-hero-sub {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 36rem;
  margin-bottom: 1.3rem;
}

.product-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.3rem;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 0.9rem;
}

.product-hero-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  max-width: 32rem;
}

.product-hero-alt-media {
  display: flex;
  justify-content: center;
}

.product-hero-image-card {
  background: radial-gradient(circle at top left,#f9f2dd,#f5ebd3 45%,#e8dcc5 100%);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.product-hero-image-card::after {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.6);
  pointer-events: none;
}

.product-hero-alt-img {
  border-radius: 18px;
  object-fit: cover;
}

/* KEY FACTS */
.product-keyfacts-grid {
  display: grid;
  grid-template-columns: minmax(0,1.5fr) minmax(0,1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.product-keyfacts-text .section-title {
  margin-bottom: 0.4rem;
}

.product-keyfacts-text .section-description {
  max-width: 36rem;
  margin-bottom: 1.4rem;
}

.product-keyfacts-cards {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1rem;
}

.keyfact-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(209,194,172,0.8);
  box-shadow: 0 10px 22px rgba(0,0,0,0.04);
  font-size: 0.86rem;
}

.keyfact-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.94rem;
  color: var(--hazel-brown-dark);
}

.keyfact-card ul {
  margin: 0;
  padding-left: 1rem;
}

.keyfact-card li {
  margin-bottom: 0.2rem;
  color: var(--text-muted);
}

.product-keyfacts-image {
  display: flex;
  align-items: center;
}

/* Reusable image-pill card (used in several sections) */
.image-pill-card {
  background: #fff;
  border-radius: 999px;
  padding: 0.6rem;
  box-shadow: 0 16px 36px rgba(0,0,0,0.07);
  border: 1px solid rgba(214,199,177,0.85);
}

.image-pill-card.large {
  border-radius: 22px;
}

.image-pill-card-img {
  border-radius: inherit;
  width: 100%;
  object-fit: cover;
}

.image-pill-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.45rem;
}

/* SPECS LAYOUT */
.specs-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.specs-left .section-title {
  margin-bottom: 0.4rem;
}

.specs-left .section-description {
  margin-bottom: 1.3rem;
}

.specs-table-block {
  margin-bottom: 1.1rem;
}

.specs-table-block h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--hazel-brown-dark);
}

.spec-list {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.spec-list li {
  margin-bottom: 0.25rem;
}

.spec-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

.specs-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.specs-image-card,
.specs-secondary-image-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 0.6rem;
  box-shadow: 0 14px 32px rgba(0,0,0,0.06);
  border: 1px solid rgba(214,199,177,0.9);
}

.specs-main-img,
.specs-secondary-img {
  border-radius: 14px;
  object-fit: cover;
  width: 100%;
}

.specs-image-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* ORIGIN & VARIETIES */
.origin-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.origin-left .section-title {
  margin-bottom: 0.4rem;
}

.origin-left .section-description {
  margin-bottom: 1.1rem;
}

.origin-text-block {
  margin-top: 0.9rem;
}

.origin-text-block h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--hazel-brown-dark);
}

/* APPLICATIONS */
.applications-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.1fr);
  gap: 2.3rem;
  align-items: flex-start;
}

.applications-left .section-title {
  margin-bottom: 0.4rem;
}

.applications-left .section-description {
  margin-bottom: 1.1rem;
}

.applications-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 1rem;
}

.application-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  border: 1px solid rgba(210,193,169,0.8);
  font-size: 0.86rem;
}

.application-card h3 {
  margin: 0 0 0.3rem;
  font-size: 0.96rem;
  color: var(--hazel-brown-dark);
}

.application-card p {
  margin: 0;
  color: var(--text-muted);
}

.applications-right .image-pill-card.large {
  width: 100%;
}

/* PACKAGING & LOGISTICS */
.packaging-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.packaging-main .section-title {
  margin-bottom: 0.4rem;
}

.packaging-main .section-description {
  margin-bottom: 1.1rem;
}

/* QUALITY & CHECKLIST */
.quality-layout {
  display: grid;
  grid-template-columns: minmax(0,1.6fr) minmax(0,1.1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.quality-left .section-title {
  margin-bottom: 0.4rem;
}

.quality-left .section-description {
  margin-bottom: 1.1rem;
}

.quality-note-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(214,199,177,0.9);
  box-shadow: 0 16px 36px rgba(0,0,0,0.06);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.quality-note-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
  color: var(--hazel-brown-dark);
}

.quality-note-card p {
  margin: 0 0 0.8rem;
}

/* ------------------------ */
/* RESPONSIVE BREAKPOINTS   */
/* ------------------------ */

@media (max-width: 960px) {
  nav {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }

  header.nav-open nav {
    display: flex;
    flex-direction: column;
    background: var(--offwhite);
    padding: 1rem;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    box-shadow: var(--shadow-soft);
  }

  .hero-inner {
    grid-template-columns: minmax(0,1fr);
  }
  .hero {
    padding-top: 2.3rem;
  }
  .product-grid,
  .industries-grid,
  .process-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .academy-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .academy-list {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .footer-inner {
    grid-template-columns: minmax(0,1fr);
  }

  /* Product detail responsive */
  .product-hero-alt-inner,
  .product-keyfacts-grid,
  .specs-layout,
  .origin-layout,
  .applications-layout,
  .packaging-layout,
  .quality-layout {
    grid-template-columns: minmax(0,1fr);
  }

  .product-hero-alt {
    padding-top: 2.3rem;
  }

  .product-hero-alt-media {
    order: -1;
    margin-bottom: 1.4rem;
  }

  .product-keyfacts-cards {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 640px) {
  .product-grid,
  .industries-grid,
  .process-grid,
  .academy-list,
  .pill-list {
    grid-template-columns: minmax(0,1fr);
  }
  .hero-visual {
    margin-top: 0.5rem;
  }
  .cta-box {
    padding: 1.2rem 1.1rem;
  }
  .form-grid {
    grid-template-columns: minmax(0,1fr);
  }

  /* Product detail further stacking */
  .product-keyfacts-cards {
    grid-template-columns: minmax(0,1fr);
  }
  .applications-grid {
    grid-template-columns: minmax(0,1fr);
  }
}
