/* ============================================================
   Angkasa Bersama Gemilang - Public UI
   ============================================================ */

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

:root {
  --ink: #1f1c1c;
  --ink-2: #3a2626;
  --muted: #6d4a4a;
  --line: #e6e8ec00;
  --paper: #fffdf9;
  --soft: #fff7ef;
  --soft-2: #fff2df;
  --brand: #d92d2d;
  --brand-2: #b51f1f;
  --gold: #f3bf3a;
  --gold-2: #f8d76b;
  --rose: #c54832;
  --green: #9b6b1f;
  --navy-warm: #2d1d1d;
  --navy-warm-deep: #1d1212;
  --navy-warm-soft: #4a2d2d;
  --danger: #dc2626;
  --success: #b86d1a;

  --font: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1180px;
  --header-h: 76px;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, .05), 0 8px 24px rgba(17, 24, 39, .05);
  --shadow: 0 18px 45px rgba(17, 24, 39, .10);
  --shadow-lg: 0 28px 70px rgba(17, 24, 39, .18);
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background:
    radial-gradient(circle at 12% 0%, rgba(243, 191, 58, .12), transparent 30rem),
    linear-gradient(180deg, #fff 0%, var(--soft-2) 100%);
  color: var(--ink);
  overflow-x: clip;

  -webkit-font-smoothing: antialiased;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.site-main { min-height: calc(100vh - var(--header-h) - 280px); }
.section { padding-block: clamp(4rem, 8vw, 7rem); }
.text-center { text-align: center; }

h1, h2, h3, h4 { color: var(--ink); letter-spacing: 0; line-height: 1.08; }
h1 { font-size: clamp(2.7rem, 6vw, 5.8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); font-weight: 760; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 720; }
h4 { font-size: 1rem; font-weight: 700; }
p { color: var(--muted); line-height: 1.75; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin-bottom: .85rem;
  color: var(--gold);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: .7;
}

.section-heading {
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
}

.section-heading .eyebrow { justify-content: center; }
.section-heading h2 { margin-bottom: .75rem; }

.prose { color: var(--muted); }
.prose h2 { margin-block: 1.8rem .85rem; font-size: 1.65rem; }
.prose p { margin-bottom: 1rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .55rem; color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  gap: .55rem;
  padding: .78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 750;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
  white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--paper); box-shadow: 0 14px 30px rgba(217, 45, 45, .22); }
.btn-primary:hover { background: var(--brand-2); }
.btn-outline { background: rgba(255,255,255,.72); color: var(--brand); border-color: rgba(217, 45, 45, .18); }
.btn-outline:hover { border-color: var(--gold); color: var(--brand-2); box-shadow: var(--shadow-sm); background: rgba(243, 191, 58, .08); }
.btn-white { background: var(--paper); color: var(--ink); box-shadow: 0 14px 32px rgba(0,0,0,.16); }
.btn-white:hover { background: #fff4d8; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(166, 22, 22, .96);
  border-bottom: 1px solid rgba(248, 215, 107, .18);
  box-shadow: 0 14px 34px rgba(166,22,22,.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background .22s ease, border-color .22s ease, box-shadow .22s ease, backdrop-filter .22s ease;
}

.site-header.is-scrolled {
  border-bottom-color: transparent;
  box-shadow: none;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
  color: var(--paper);
  font-weight: 800;
}

.brand-link img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-link span {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.nav-link {
  position: relative;
  padding: .72rem .86rem;
  border-radius: var(--radius-sm);
  color: rgba(255,255,255,.72);
  font-size: .88rem;
  font-weight: 700;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: .86rem;
  right: .86rem;
  bottom: .38rem;
  height: 2px;
  border-radius: 999px;
  background: var(--gold-2);
  opacity: 0;
  transform: scaleX(.45);
  transition: opacity .18s ease, transform .18s ease;
}

.nav-link:hover,
.nav-link.active {
  background: transparent;
  color: var(--gold-2);
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--paper);
  border-radius: 999px;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 7.5rem);
  background:
    linear-gradient(110deg, rgba(102, 16, 16, 0.78), rgba(217, 45, 45, 0.62) 48%, rgba(243, 191, 58, 0.48)),
    url("../images/bbg.png") center/cover no-repeat;
  color: var(--paper);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 35%;
  background: linear-gradient(180deg, transparent, rgba(17,24,39,.36));
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.10) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,.65), transparent 75%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
}

.hero-copy { max-width: 740px; }
.hero-copy .eyebrow { color: var(--gold-2); }
.hero-copy h1 { color: var(--paper); max-width: 760px; margin-bottom: 1.2rem; }
.hero-copy .hero-lead {
  max-width: 620px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero-actions .btn-outline {
  background: rgba(255,255,255,.10);
  color: var(--paper);
  border-color: rgba(255,255,255,.28);
}
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.54); }

.hero-visual { align-self: stretch; display: flex; align-items: flex-end; }
.hero-card {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.12);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}
.hero-card img { width: 100%; aspect-ratio: 4/4.35; object-fit: cover; }
.hero-card figcaption {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1rem;
  color: var(--paper);
  background: rgba(17,24,39,.45);
}
.hero-card figcaption img { width: 34px; height: 34px; object-fit: contain; }
.hero-card figcaption span { color: rgba(255,255,255,.78); font-size: .82rem; }

/* Page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
  text-align: center;
  color: var(--paper);
  background:
    linear-gradient(120deg, rgba(104, 17, 17, 0.72), rgba(217, 45, 45, 0.62)),
    url("../images/bbg.png") center/cover no-repeat;
}
.page-hero h1 { color: var(--paper); margin-bottom: .9rem; }
.page-hero p { max-width: 680px; margin-inline: auto; color: rgba(255,255,255,.78); font-size: 1.08rem; }
.page-hero--sm { padding-block: 3rem; }
.back-link {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--gold-2);
  font-size: .92rem;
  font-weight: 700;
}
.back-link:hover { color: var(--paper); }

/* Brand portfolio page */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.brand-hero {
  position: relative;
  overflow: hidden;
  background: #5f1010;
}

.brand-hero__surface {
  position: relative;
  min-height: clamp(520px, 58vw, 660px);
  display: flex;
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(92, 15, 15, 0.68) 0%, rgba(190, 28, 28, .38) 46%, rgba(54, 16, 16, .18) 100%),
    linear-gradient(135deg, rgba(255,255,255,.08) 1px, transparent 1px),
    var(--brand-hero-image, url("../images/pastry.png")) center/100% 100% no-repeat,
    #5f1010;
}

.brand-hero__surface::before,
.brand-hero__surface::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.brand-hero__surface::before {
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 44%, rgba(199,149,53,.34) 44.2%, transparent 44.6%),
    linear-gradient(135deg, transparent 0 62%, rgba(255,255,255,.08) 62.1%, transparent 62.4%);
  opacity: .45;
}

.brand-hero__surface::after {
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(7,20,38,.58));
}

.brand-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .72fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.brand-hero__copy {
  max-width: 720px;
  padding-block: clamp(4rem, 8vw, 6rem);
}

.brand-hero .eyebrow { color: #ffc857; }
.brand-hero .eyebrow::before { display: none; }
.brand-hero h1 {
  max-width: 760px;
  margin-bottom: 1rem;
  color: var(--paper);
  font-size: clamp(2.9rem, 5.9vw, 5.7rem);
}
.brand-hero h1::first-letter { color: var(--paper); }
.brand-hero h1 strong,
.brand-hero h1 span { color: #ffc857; }
.brand-hero p {
  max-width: 620px;
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.brand-hero__features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  max-width: 760px;
  margin-top: clamp(1.6rem, 4vw, 2.5rem);
}

.brand-hero__features div {
  min-height: 104px;
  padding: 1rem;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
}

.brand-feature-icon,
.brand-stat-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: .7rem;
  border-radius: 999px;
  color: #ffc857;
  background: rgba(255,200,87,.13);
  border: 1px solid rgba(255,200,87,.24);
}

.brand-feature-icon svg,
.brand-stat-icon svg {
  width: 21px;
  height: 21px;
}

.brand-hero__features div > span:not(.brand-feature-icon) {
  display: block;
  margin-bottom: .28rem;
  color: var(--paper);
  font-size: .9rem;
  font-weight: 820;
}

.brand-hero__features small {
  display: block;
  color: rgba(255,255,255,.66);
  font-size: .78rem;
  line-height: 1.55;
}

.brand-hero__visual {
  min-height: 100%;
  align-self: stretch;
}

.brand-page {
  padding-top: clamp(1.1rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 88% 0%, rgba(199,149,53,.10), transparent 22rem),
    linear-gradient(180deg, #fff 0%, #fbfaf7 100%);
}

.brand-toolbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 1rem;
  align-items: center;
  margin-top: -2.75rem;
  margin-bottom: 1.8rem;
}

.brand-filter {
  display: flex;
  gap: .42rem;
  overflow-x: auto;
  padding: .58rem;
  border: 1px solid rgba(230,232,236,.96);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
  -webkit-overflow-scrolling: touch;
}

.brand-filter::-webkit-scrollbar { display: none; }

.brand-filter__item {
  flex: 0 0 auto;
  min-height: 42px;
  padding: .68rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .82rem;
  font-weight: 780;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}

.brand-filter__item:hover,
.brand-filter__item.active {
  background: var(--navy-warm);
  color: var(--paper);
  box-shadow: 0 12px 28px rgba(38,18,18,.18);
}

.brand-search {
  position: relative;
  display: block;
}

.brand-search::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 14px;
  height: 14px;
  border: 2px solid #7b8494;
  border-radius: 50%;
  transform: translateY(-58%);
}

.brand-search::before {
  content: "";
  position: absolute;
  right: .86rem;
  top: 58%;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: #7b8494;
  transform: rotate(45deg);
}

.brand-search input {
  width: 100%;
  min-height: 52px;
  padding: .86rem 2.7rem .86rem 1.05rem;
  border: 1px solid rgba(230,232,236,.96);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  font: inherit;
  font-size: .86rem;
}

.brand-search input:focus {
  outline: none;
  border-color: rgba(199,149,53,.74);
  box-shadow: 0 0 0 4px rgba(199,149,53,.14), var(--shadow-sm);
}

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

.brand-showcase-card {
  --brand-product-image: url("../images/Produk.png");
  --brand-product-opacity: .82;
  position: relative;
  isolation: isolate;
  min-height: 260px;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  background:
    linear-gradient(140deg, rgba(255,255,255,.98) 0 55%, rgba(255,255,255,.72) 56% 100%),
    var(--brand-card-bg, #fff);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.brand-showcase-card[hidden] { display: none; }

.brand-showcase-card:hover {
  transform: translateY(-4px);
  border-color: rgba(199,149,53,.55);
  box-shadow: var(--shadow);
}

.brand-showcase-card::after {
  content: "";
  position: absolute;
  right: -1.9rem;
  bottom: -1.6rem;
  z-index: -1;
  width: min(85%, 400px);
  aspect-ratio: 1.1;
  background: var(--brand-product-image) center/contain no-repeat;
  opacity: var(--brand-product-opacity);
  filter: drop-shadow(0 16px 18px rgba(17,24,39,.12));
  transition: transform .24s ease;
}

.brand-showcase-card:hover::after { transform: scale(1.04) translateY(-3px); }

.brand-showcase-card__logo {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  margin-bottom: 1.05rem;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
}

.brand-showcase-card__logo img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.brand-showcase-card__logo .brand-initial {
  width: 74px;
  height: 74px;
  margin: 0;
  border-radius: 999px;
}

.brand-showcase-card__body {
  display: grid;
  align-content: end;
  max-width: 74%;
  min-height: 150px;
}

.brand-showcase-card__body strong {
  margin-bottom: .25rem;
  color: var(--navy-warm);
  font-size: 1.04rem;
  font-weight: 840;
  line-height: 1.2;
}

.brand-showcase-card__body em {
  margin-bottom: .5rem;
  color: var(--gold);
  font-style: normal;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.brand-showcase-card__body span {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.5;
}

.brand-showcase-card__body b {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--navy-warm);
  font-size: .83rem;
  font-weight: 800;
}

.brand-showcase-card__body b::after { content: "->"; }

.brand-feature-card {
  grid-column: span 2;
  min-height: 260px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius);
  background:
    linear-gradient(100deg, rgba(7,20,38,.98), rgba(10,31,58,.88) 58%, rgba(10,31,58,.42)),
    var(--brand-feature-image, url("../images/pastry.png")) right center/cover no-repeat;
  box-shadow: var(--shadow-sm);
}

.brand-feature-card h2 {
  max-width: 520px;
  margin-bottom: .75rem;
  color: var(--paper);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
}

.brand-feature-card p {
  max-width: 470px;
  margin-bottom: 1.3rem;
  color: rgba(255,255,255,.76);
}

.brand-empty-filter {
  margin-top: 1.4rem;
  padding: 1.5rem;
  border: 1px dashed rgba(17,24,39,.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
  text-align: center;
}

.brand-stats-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.55rem;
  padding: .8rem;
  border: 1px solid rgba(17,24,39,.10);
  border-radius: var(--radius);
  background: rgba(255,255,255,.84);
  box-shadow: var(--shadow-sm);
}

.brand-stats-panel div {
  min-height: 108px;
  padding: 1.1rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, #fff, #fbfaf7);
}

.brand-stats-panel .brand-stat-icon {
  width: 40px;
  height: 40px;
  margin-bottom: .75rem;
  color: var(--gold);
  background: rgba(199,149,53,.12);
  border-color: rgba(199,149,53,.20);
}

.brand-stats-panel .brand-stat-icon svg {
  width: 22px;
  height: 22px;
}

.brand-stats-panel strong {
  display: block;
  margin-bottom: .15rem;
  color: var(--navy-warm);
  font-size: clamp(1.55rem, 2.8vw, 2.3rem);
  font-weight: 860;
  line-height: 1;
}

.brand-stats-panel div > span:not(.brand-stat-icon) {
  display: block;
  margin-bottom: .25rem;
  color: var(--ink);
  font-size: .92rem;
  font-weight: 800;
}

.brand-stats-panel small {
  display: block;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

/* Ubah gambar per card di sini. Class memakai slug brand dari admin. */
.brand-showcase-card--chocolicious { --brand-product-image: url("../images/1.png"); }
.brand-showcase-card--sweet-pudding { --brand-product-image: url("../images/2.png"); }
.brand-showcase-card--the-bolu-rampah,
.brand-showcase-card--bolu-rampah { --brand-product-image: url("../images/4.png"); }
.brand-showcase-card--kue-tampah { --brand-product-image: url("../images/3.png"); }
.brand-showcase-card--bolu-susu-malino { --brand-product-image: url("../images/9.png"); }
.brand-showcase-card--seraya-bakery { --brand-product-image: url("../images/6.png"); }
.brand-showcase-card--marasa-bakery,
.brand-showcase-card--marasa { --brand-product-image: url("../images/7.png"); }
.brand-showcase-card--serasa-bakery { --brand-product-image: url("../images/8.png"); }
.brand-showcase-card--bolen-bahagia { --brand-product-image: url("../images/5.png"); }
.brand-showcase-card--pinus-point { --brand-product-image: url("../images/11.png"); }

/* Home blocks */
.stats-section {
  padding-block: 0;
  background: transparent;
  transform: translateY(-2.2rem);
  margin-bottom: -2.2rem;
  position: relative;
  z-index: 2;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  padding: .8rem;
  border: 1px solid rgba(230,232,236,.95);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.stat-card {
  min-height: 132px;
  display: grid;
  align-content: center;
  gap: .35rem;
  padding: 1.2rem;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #fbfaf7);
  border: 1px solid rgba(230,232,236,.7);
  text-align: center;
}
.stat-card strong { color: var(--brand); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; font-weight: 850; }
.stat-card span { color: var(--muted); font-size: .88rem; font-weight: 650; }

.highlights-section { background: var(--soft); }
.highlights-slider {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--paper);
}
.highlights-slider.dragging { cursor: grabbing; }
.highlights-slider::-webkit-scrollbar { height: 8px; }
.highlights-slider::-webkit-scrollbar-thumb { background: rgba(199,149,53,.55); border-radius: 999px; }
.highlight-image-wrap { min-width: 100%; scroll-snap-align: start; }
.highlight-image-wrap img { width: 100%; max-height: 620px; object-fit: cover; }

.vm-section { background: var(--paper); }
.vm-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 1rem;
  align-items: stretch;
}
.vm-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--soft-2);
  box-shadow: var(--shadow-sm);
}
.vm-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--green));
}
.vm-card.vision { background: var(--ink); }
.vm-card.vision h2,
.vm-card.vision p { color: var(--paper); }
.vm-card.vision p { opacity: .82; }
.vm-badge {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: .34rem .75rem;
  border-radius: 999px;
  background: rgba(199,149,53,.13);
  color: var(--gold);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vm-card h2 { font-size: clamp(1.55rem, 3vw, 2.35rem); margin-bottom: .9rem; }
.vm-card ul { display: grid; gap: .72rem; }
.vm-card li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--muted);
  font-size: .95rem;
}
.vm-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

/* Cards and grids */
.brand-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1rem; }
.brand-grid--large { grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); }
.brand-card {
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: 214px;
  padding: 1.4rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(199,149,53,.7); }
.brand-card img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 1rem; }
.brand-card strong { color: var(--ink); font-size: .98rem; margin-bottom: .24rem; }
.brand-card span { color: var(--gold); font-size: .77rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.brand-card p { margin-top: .7rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.brand-initial {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--green));
  color: var(--paper);
  font-size: 1.35rem;
  font-weight: 850;
}
.brand-initial--xl { width: 128px; height: 128px; font-size: 2rem; margin-inline: auto; }

.news-preview-section { background: var(--soft); }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 1.15rem; }
.news-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-card > img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.news-body { padding: 1.2rem; }
.news-cat {
  display: inline-flex;
  margin-bottom: .75rem;
  padding: .28rem .65rem;
  border-radius: 999px;
  background: rgba(47,111,99,.10);
  color: var(--green);
  font-size: .74rem;
  font-weight: 800;
}
.news-body h2,
.news-body h3 { margin-bottom: .55rem; font-size: 1.08rem; line-height: 1.25; }
.news-body h2 a:hover,
.news-body h3 a:hover { color: var(--gold); }
.news-body p { margin-bottom: .85rem; font-size: .92rem; }
.news-body time { color: #98a2b3; font-size: .78rem; font-weight: 650; }

.article-page .article-hero-img img { width: 100%; max-height: 510px; object-fit: cover; }
.article-body { max-width: 800px; margin-inline: auto; }
.article-body .prose { padding-block: 2.5rem; }

.values-slider { overflow: hidden; padding-block: 1rem; }
.values-track { display: flex; gap: 1rem; padding-bottom: .5rem; animation: slide-right 24s linear infinite; }
.value-card {
  flex: 0 0 320px;
  min-width: 320px;
  padding: 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.value-card__inner { display: grid; gap: 1rem; }
.value-card__icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(199,149,53,.13);
  color: var(--gold);
}
.value-card__icon svg { width: 1.25rem; height: 1.25rem; }
.value-card h3 { margin-bottom: .45rem; }

@keyframes slide-right {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.media-panel {
  display: grid;
  place-items: center;
  min-height: 320px;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: var(--soft);
  border: 1px solid var(--line);
}
.media-panel img { max-width: 260px; }
.content-panel h2 { margin-bottom: 1rem; }
.content-panel p { margin-bottom: 1rem; }
.feature-list { display: grid; gap: .65rem; margin-top: 1.25rem; }
.feature-list li { position: relative; padding-left: 1.45rem; color: var(--muted); font-size: .95rem; }
.feature-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.career-list { display: grid; gap: 1rem; }
.career-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.3rem 1.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.career-type {
  display: inline-flex;
  margin-bottom: .55rem;
  padding: .24rem .62rem;
  border-radius: 999px;
  color: var(--green);
  background: rgba(47,111,99,.10);
  font-size: .74rem;
  font-weight: 800;
}
.career-card h2 { margin-bottom: .3rem; font-size: 1.2rem; }
.career-card p { font-size: .92rem; }
.career-card small { display: block; margin-top: .3rem; color: #98a2b3; font-size: .78rem; }
.career-sidebar { position: sticky; top: calc(var(--header-h) + 1rem); }
.sidebar-card {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 { margin-bottom: 1rem; }
.sidebar-card ul { display: grid; gap: .6rem; }
.sidebar-card li { color: var(--muted); font-size: .92rem; }
.sidebar-card li strong { color: var(--ink); }

.contact-layout { display: grid; grid-template-columns: .85fr 1.35fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info h2 { margin-bottom: 1.35rem; }
.contact-list { display: grid; gap: 1rem; }
.contact-list li {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.contact-list li strong { display: block; margin-bottom: .25rem; color: #98a2b3; font-size: .74rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.contact-list li a,
.contact-list li span { color: var(--ink); font-weight: 700; }

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.5rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { color: var(--ink-2); font-size: .86rem; font-weight: 750; }
.form-group label span { color: var(--gold); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .82rem .95rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .94rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(199,149,53,.16); }
.form-group textarea { min-height: 145px; resize: vertical; }
.form-group.has-error input,
.form-group.has-error textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .78rem; }

.alert {
  padding: .95rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  font-size: .92rem;
  font-weight: 650;
}
.alert-success { color: #065f46; background: #ecfdf5; border: 1px solid #a7f3d0; }
.alert-error { color: #991b1b; background: #fef2f2; border: 1px solid #fecaca; }

.pagination { display: flex; align-items: center; justify-content: center; gap: .45rem; margin-top: 3rem; }
.page-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 750;
  background: var(--paper);
}
.page-btn:hover,
.page-btn.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.cta-section {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6rem);
  background:
    linear-gradient(120deg, rgba(45,29,29,.96), rgba(74,45,45,.88)),
    url("../images/Produk.png") center/cover no-repeat;
}
.cta-inner { max-width: 780px; text-align: center; }
.cta-inner h2 { color: var(--paper); margin-bottom: .8rem; }
.cta-inner p { color: rgba(255,255,255,.76); margin-bottom: 1.8rem; font-size: 1.05rem; }

.site-footer {
  margin-top: -1px;
  border-top: 0;
  background: var(--navy-warm-deep);
  color: var(--paper);
  padding-top: 3.2rem;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr .75fr 1fr; gap: 2.5rem; padding-bottom: 2.6rem; }
.footer-brand img { width: 72px; height: 72px; object-fit: contain; margin-bottom: 1rem; border-radius: 0; background: transparent; }
.footer-brand p { color: var(--paper); font-weight: 800; margin-bottom: .28rem; }
.footer-brand small { color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-visitor-count { display: block; margin-top: .55rem; color: rgba(255,255,255,.72); font-weight: 700; }
.footer-nav h3,
.footer-contact h3 { margin-bottom: 1rem; color: rgba(255,255,255,.54); font-size: .76rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.footer-nav ul,
.footer-contact ul { display: grid; gap: .58rem; }
.footer-nav a,
.footer-contact a,
.footer-contact li { color: rgba(255,255,255,.68); font-size: .92rem; }
.footer-nav a:hover,
.footer-contact a:hover { color: var(--paper); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 1.1rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.46); font-size: .85rem; }

.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--soft); }
.error-inner { max-width: 520px; padding: 2rem; text-align: center; }
.error-code { display: block; color: rgba(199,149,53,.3); font-size: 7rem; font-weight: 900; line-height: 1; }
.error-inner h1 { margin-bottom: .75rem; }
.error-inner p { max-width: 410px; margin: 0 auto 1.7rem; }
.empty-state { padding: 4rem 2rem; color: var(--muted); text-align: center; }
.empty-state h3 { margin-bottom: .45rem; color: var(--ink); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .hero-grid,
  .vm-grid,
  .split-grid,
  .contact-layout { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; }
  .brand-hero__surface {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(45,29,29,.82), rgba(74,45,45,.68)),
      var(--brand-hero-image, url("../images/pastry.png")) center/100% 100% no-repeat,
      var(--navy-warm);
  }
  .brand-hero__inner { grid-template-columns: 1fr; }
  .brand-hero__visual { display: none; }
  .brand-toolbar { grid-template-columns: 1fr; margin-top: -1.8rem; }
  .brand-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-stats-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .site-header {
    background: rgba(45,29,29,.92);
  }
  .site-header.is-scrolled {
    background: rgba(45,29,29,.58);
    border-bottom-color: transparent;
    box-shadow: none;
    backdrop-filter: blur(26px) saturate(1.6);
    -webkit-backdrop-filter: blur(26px) saturate(1.6);
  }
  .brand-link span { display: none; }
  .menu-toggle { display: flex; }
  .site-header.is-scrolled .menu-toggle {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  }
  .main-nav {
    display: none;
    position: fixed;
    top: var(--header-h);
    inset-inline: 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: .7rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    background: rgba(45,29,29,.66);
    box-shadow: 0 24px 54px rgba(45,29,29,.32), inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
  }
  .main-nav.open { display: flex; }
  .nav-link { width: 100%; padding: .82rem 1rem; }
  .nav-link::after { left: 1rem; right: auto; width: 34px; bottom: .48rem; }
  .hero { padding-block: 3.5rem 5rem; }
  .hero-grid { gap: 2rem; }
  .hero-card img { aspect-ratio: 16/11; }
  .brand-hero h1 { font-size: clamp(2.4rem, 12vw, 3.8rem); }
  .brand-hero__copy { padding-block: 3.2rem 5rem; }
  .brand-hero__features { grid-template-columns: 1fr; }
  .brand-filter { border-radius: 18px; }
  .brand-filter__item { min-height: 40px; padding-inline: .82rem; }
  .brand-showcase-grid { grid-template-columns: 1fr; }
  .brand-showcase-card { min-height: 236px; }
  .brand-showcase-card__body { max-width: 72%; }
  .brand-feature-card { grid-column: span 1; min-height: 240px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid,
  .footer-bottom .container { grid-template-columns: 1fr; display: grid; }
}

@media (max-width: 520px) {
  .hero-actions .btn,
  .cta-inner .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .brand-toolbar { margin-top: -1.2rem; }
  .brand-search input { min-height: 48px; }
  .brand-showcase-card {
    min-height: 250px;
    padding: 1.1rem;
  }
  .brand-showcase-card::after {
    right: -2.4rem;
    width: min(74%, 190px);
  }
  .brand-showcase-card__body { max-width: 78%; }
  .brand-stats-panel { grid-template-columns: 1fr; }
  .stat-card { min-height: 112px; }
  .career-card { align-items: flex-start; }
  .career-card .btn { width: 100%; }
}

/* Home redesign */
.btn-gold,
.hero-actions .btn-gold {
  background: linear-gradient(135deg, #f4c65a, #c9891d);
  color: var(--navy-warm);
  border-color: rgba(255,255,255,.2);
  box-shadow: 0 16px 32px rgba(201,137,29,.26);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffd875, #d79a2d);
  color: var(--navy-warm);
}

.home-hero {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  display: flex;
  align-items: center;
  margin-top: calc(var(--header-h) * -1);
  padding-block: calc(var(--header-h) + clamp(3.5rem, 7vw, 6rem)) clamp(5rem, 8vw, 7rem);
  color: var(--paper);
  background:
    radial-gradient(circle at 72% 52%, rgba(246,190,72,.18), transparent 18rem),
    linear-gradient(105deg, rgba(35, 18, 18, 0.76) 0%, rgba(48, 28, 28, 0.94) 48%, rgba(68, 41, 41, 0.48) 100%),
    url("../images/bbg.png") no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(6,18,34,.72));
  pointer-events: none;
}

.home-hero__texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 74px 74px;
  opacity: .38;
  pointer-events: none;
}

.home-hero__grid {
  margin-top: 20px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(380px, .9fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-width: 0;
}

.home-hero__copy {
  min-width: 0;
  max-width: 735px;
}
.home-hero__copy .eyebrow { color: #f6c14c; }
.home-hero__copy .eyebrow::before { display: none; }
.home-hero__copy h1 {
  margin-bottom: 1.3rem;
  color: var(--paper);
  font-size: clamp(2.6rem, 5.3vw, 5.15rem);
  line-height: 1.02;
}
.home-hero__copy h1 span { color: #f6c14c; }
.home-hero__copy p {
  max-width: 600px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.home-hero__visual {
  position: relative;
  min-height: 440px;
}

.home-hero__photo {
  position: relative;
  overflow: hidden;
  margin: 25px 0 0;
  border: 2px solid rgba(246,193,76,.72);
  border-radius: 44px;
  background: rgba(255,255,255,.08);
  box-shadow: 0 28px 70px rgba(0,0,0,.34);
}

.home-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 10px rgba(255,255,255,.04);
  pointer-events: none;
}

.home-hero__photo img {
  width: 100%;
  aspect-ratio: 16 / 10.4;
  object-fit: cover;
}

.home-hero__product {
  position: absolute;
  right: -5rem;
  bottom: -2.5rem;
  width: min(45%, 270px);
  filter: drop-shadow(0 24px 24px rgba(0,0,0,.36));
}

.home-stats-wrap {
  position: relative;
  z-index: 4;
  margin-top: -3.3rem;
}

.home-stats-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(230,232,236,.96);
  border-radius: 22px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 24px 60px rgba(14,31,53,.14);
}

.home-stat {
  min-width: 0;
  min-height: 128px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: .9rem;
  align-content: center;
  padding: 1.35rem 1.25rem;
  border-right: 1px solid rgba(17,24,39,.10);
}

.home-stat:last-child { border-right: 0; }
.home-stat__icon {
  grid-row: 1 / 3;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: start;
  border: 1px solid rgba(199,149,53,.34);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(246,193,76,.18), rgba(10,31,58,.05));
  color: #c9891d;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.62);
}
.home-stat__icon i {
  font-size: 1.05rem;
  line-height: 1;
}
.home-stat strong {
  min-width: 0;
  color: var(--navy-warm);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: .98;
  font-weight: 850;
  letter-spacing: 0;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}
.home-stat small {
  min-width: 0;
  margin-top: .4rem;
  color: #4c596c;
  font-size: clamp(.78rem, .9vw, .9rem);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: normal;
  word-break: normal;
}
.home-stat:last-child strong {
  font-size: clamp(1.06rem, 1.35vw, 1.42rem);
  line-height: 1.08;
}

.home-section {
  position: relative;
  background: #fff;
}
.home-section--compact { padding-block: clamp(2.4rem, 5.5vw, 4.3rem); }

.home-section--wheat {
  overflow: hidden;
  isolation: isolate;
}

.home-section--wheat-journey {
  overflow: visible;
  min-height: 100vh;
}

.home-section--wheat > .container {
  position: relative;
  z-index: 1;
}

.wheat-decor {
  position: absolute;
  z-index: 0;
  width: clamp(88px, 10vw, 170px);
  aspect-ratio: 1 / 1.55;
  background: url("../images/gandumkiri.png") center/contain no-repeat;
  opacity: 34;
  pointer-events: none;
  filter: drop-shadow(0 18px 18px rgba(14,31,53,.10));
}

.wheat-decor--left {
  left: max(-2.4rem, calc((100vw - var(--container)) / 2 - 6.2rem));
  transform: rotate(-10deg);
}

.wheat-decor--right {
  right: max(-2.4rem, calc((100vw - var(--container)) / 2 - 6.2rem));
  transform: scaleX(-1) rotate(-10deg);
}

.home-section--wheat-why .wheat-decor--left { top: 1.3rem; }
.home-section--wheat-why .wheat-decor--right { bottom: .8rem; }

.home-section--wheat-products .wheat-decor {
  opacity: .38;
}
.home-section--wheat-products .wheat-decor--left { bottom: 1.4rem; }
.home-section--wheat-products .wheat-decor--right { top: 1.1rem; }

.home-section--wheat-distribution .wheat-decor {
  width: clamp(96px, 11vw, 185px);
  opacity: .32;
}
.home-section--wheat-distribution .wheat-decor--left { top: 50%; transform: translateY(-50%) rotate(-10deg); }
.home-section--wheat-distribution .wheat-decor--right { top: 50%; transform: translateY(-50%) scaleX(-1) rotate(-10deg); }

.home-section--wheat-journey .wheat-decor {
  width: clamp(96px, 12vw, 190px);
  opacity: .30;
}
.home-section--wheat-journey .wheat-decor--left { top: 7.5rem; }
.home-section--wheat-journey .wheat-decor--right { bottom: 3rem; }

.home-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: clamp(1.4rem, 3.4vw, 2.3rem);
  text-align: center;
}
.home-heading span {
  width: 28px;
  height: 1px;
  background: #c9891d;
}
.home-heading h2,
.home-subheading h2 {
  color: #42464d;
  font-size: clamp(1.08rem, 1.7vw, 1.32rem);
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

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

.reason-card,
.product-card,
.home-brand-card,
.journey-card,
.home-news-carousel,
.faq-list details {
  border: 1px solid rgba(17,24,39,.08);
  background: rgba(255,255,255,.96);
  box-shadow: 0 16px 42px rgba(14,31,53,.07);
}

.reason-card {
  min-height: 175px;
  padding: 1.45rem 1.25rem;
  border-radius: 8px;
  text-align: center;
}
.reason-card__icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: .85rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(246,193,76,.95), rgba(7,20,38,.92));
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.46);
  color: #fff;
}
.reason-card__icon i {
  font-size: 1.35rem;
  line-height: 1;
}
.reason-card h3,
.product-card h3 {
  margin-bottom: .5rem;
  color: var(--navy-warm);
  font-size: 1rem;
}
.reason-card p,
.product-card p {
  color: #667085;
  font-size: .86rem;
  line-height: 1.58;
}

.home-products {
  background:
    radial-gradient(circle at 0% 72%, rgba(246,193,76,.16), transparent 17rem),
    #fff;
}

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

.product-card {
  overflow: hidden;
  display: grid;
  align-content: start;
  min-height: 330px;
  padding: 1rem;
  border-radius: 12px;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  margin-bottom: 1rem;
  border-radius: 10px;
  background: #f6f7f9;
  object-fit: cover;
}
.product-card a,
.read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: 1rem;
  color: #c9891d;
  font-size: .78rem;
  font-weight: 850;
}
.product-card a::after,
.read-more::after { content: "->"; }

.home-small-action { margin-top: 1.45rem; }
.home-small-action .btn {
  min-height: 36px;
  padding: .62rem 1rem;
  font-size: .76rem;
}

.home-split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr);
  gap: 1.15rem;
  align-items: start;
}

.vision-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 1.4rem;
  min-height: 310px;
  max-height: 390px;
  padding: clamp(1.35rem, 3vw, 2rem);
  border-radius: 14px;
  background:
    linear-gradient(120deg, rgba(126, 2, 2, 0.639), rgba(143, 0, 0, 0.94)),
    url("../images/bbg.png") center/cover no-repeat;
  box-shadow: 0 18px 45px rgba(14,31,53,.16);
}
.vision-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 43% 50%, rgba(246,193,76,.25), transparent 8rem);
  pointer-events: none;
}
.vision-panel__col {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.vision-panel__col + .vision-panel__col {
  padding-left: 1.25rem;
  border-left: 1px solid rgba(246,193,76,.48);
}
.vision-panel span,
.panel-label,
.home-final-cta__inner span {
  display: block;
  margin-bottom: .75rem;
  color: #f6c14c;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.vision-panel p,
.vision-panel li {
  color: rgba(255,255,255,.82);
  font-size: .84rem;
  line-height: 1.55;
}
.vision-panel p {
  max-width: 34ch;
}
.vision-panel ul {
  display: grid;
  gap: .45rem;
  max-height: 254px;
  overflow-y: auto;
  padding-right: .55rem;
  scrollbar-color: rgba(246,193,76,.75) rgba(255,255,255,.12);
  scrollbar-width: thin;
}
.vision-panel ul::-webkit-scrollbar {
  width: 6px;
}
.vision-panel ul::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.vision-panel ul::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(246,193,76,.78);
}
.vision-panel li {
  position: relative;
  padding-left: 1.05rem;
}
.vision-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #f6c14c;
}

.distribution-panel {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(190px, .8fr);
  gap: 1rem;
  align-items: center;
  min-height: 310px;
  align-self: start;
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(14,31,53,.08);
}
.distribution-panel .panel-label { color: var(--navy-warm); margin-bottom: .55rem; }
.distribution-panel h2 {
  margin-bottom: 1.2rem;
  color: var(--navy-warm);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.18;
}
.distribution-panel h2 strong {
  float: left;
  margin-right: .65rem;
  color: #6d85a5;
  font-size: 3.2rem;
  line-height: .8;
}
.distribution-panel ul { display: grid; gap: .35rem; clear: both; }
.distribution-panel li {
  position: relative;
  padding-left: 1.05rem;
  color: var(--navy-warm-soft);
  font-size: .84rem;
  font-weight: 760;
}
.distribution-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 7px;
  height: 7px;
  border: 2px solid #c9891d;
  border-radius: 50%;
}
.distribution-panel img {
  width: 100%;
  max-height: 275px;
  object-fit: contain;
  filter: drop-shadow(0 18px 20px rgba(9,28,52,.12));
}

.journey-story {
  display: grid;
  grid-template-columns: minmax(240px, .34fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  overflow: visible;
}

.journey-story__aside {
  position: sticky;
  top: calc(var(--header-h) + 1.4rem);
  align-self: start;
  z-index: 3;
  overflow: hidden;
  max-height: calc(100vh - var(--header-h) - 2.8rem);
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(143, 0, 0, 0.97), rgba(58, 10, 10, 0.9)),
    url("../images/pastry.png") center/cover no-repeat;
  box-shadow: 0 18px 45px rgba(14,31,53,.16);
}
.journey-story__aside .panel-label {
  color: #f6c14c;
}
.journey-story__aside h3 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
  line-height: 1.25;
}
.journey-progress {
  position: relative;
  display: grid;
  gap: .55rem;
}
.journey-progress::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(246,193,76,.28);
}
.journey-progress button {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .2rem 0 .2rem 2.8rem;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,.66);
  font: inherit;
  font-size: .8rem;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}
.journey-progress button::before {
  content: "";
  position: absolute;
  left: 8px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(246,193,76,.48);
  border-radius: 999px;
  background: var(--navy-warm-soft);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.journey-progress button.is-active {
  color: #fff;
}
.journey-progress button.is-active::before {
  background: #f6c14c;
  box-shadow: 0 0 0 6px rgba(246,193,76,.16);
  transform: scale(1.08);
}

.journey-track {
  position: relative;
  display: grid;
  gap: 1rem;
}
.journey-track::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 1.4rem;
  bottom: 1.4rem;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(201,137,29,.16), rgba(201,137,29,.58), rgba(201,137,29,.16));
}
.journey-card {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 1.8rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, .52fr);
  gap: 1rem;
  align-items: stretch;
  min-height: 190px;
  margin-left: 3rem;
  padding: .95rem;
  border-radius: 14px;
  text-align: left;
  opacity: .72;
  transform: translateY(8px);
  transition: opacity .24s ease, transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.journey-card.is-active {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(201,137,29,.42);
  box-shadow: 0 22px 54px rgba(14,31,53,.13);
}
.journey-card::before {
  content: "";
  position: absolute;
  left: -2.1rem;
  top: 2rem;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #c9891d;
  box-shadow: 0 0 0 5px rgba(201,137,29,.15);
}
.journey-card__content {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: .5rem .35rem .5rem .55rem;
}
.journey-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: .8rem;
  border-radius: 12px;
  color: #c9891d;
  background: rgba(201,137,29,.10);
  border: 1px solid rgba(201,137,29,.22);
}
.journey-card__icon i {
  font-size: 1.12rem;
  line-height: 1;
}
.journey-card b {
  display: block;
  margin-bottom: .28rem;
  color: #c9891d;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.journey-card h3 {
  margin-bottom: .55rem;
  color: var(--navy-warm);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}
.journey-card p {
  max-width: 520px;
  color: #667085;
  font-size: .86rem;
  line-height: 1.58;
}
.journey-card__media {
  position: relative;
  overflow: hidden;
  min-height: 160px;
  margin: 0;
  border-radius: 10px;
  background: #f6f7f9;
}
.journey-card__media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: transform .32s ease;
}
.journey-card.is-active .journey-card__media img {
  transform: scale(1.04);
}
.journey-card--future {
  background:
    linear-gradient(135deg, rgba(45,29,29,.96), rgba(74,45,45,.90)),
    url("../images/Produk.png") center/cover no-repeat;
}
.journey-card--future b,
.journey-card--future h3,
.journey-card--future p { color: #fff; }
.journey-card--future .journey-card__icon {
  color: var(--navy-warm);
  background: #f6c14c;
  border-color: rgba(255,255,255,.26);
}

.home-end-flow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: -1px;
  box-shadow: inset 0 -2px 0 var(--navy-warm-deep);
  background:
    linear-gradient(180deg,
      rgba(255,255,255,1) 0%,
      rgba(247, 248, 251, 0.333) 24%,
      rgba(73, 45, 45, 0.916) 62%,
      var(--navy-warm-deep) 96%,
      var(--navy-warm-deep) 100%);
}
.home-end-flow::before,
.home-end-flow::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.home-end-flow::before {
  z-index: -2;
  background: url("../images/bbg.png") center top / cover no-repeat;
  opacity: .18;
  filter: saturate(.82) contrast(1.05);
}
.home-end-flow::after {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.56) 28%, rgba(45,29,29,.40) 62%, var(--navy-warm-deep) 100%),
    radial-gradient(circle at 20% 38%, rgba(246,193,76,.13), transparent 20rem),
    radial-gradient(circle at 88% 72%, rgba(36,96,90,.16), transparent 18rem);
}
.home-end-flow > * {
  position: relative;
  z-index: 1;
}
.home-end-flow .home-section {
  background: transparent;
}
.home-end-flow .news-faq-grid .home-subheading h2 {
  color: var(--navy-warm);
  text-shadow: 0 2px 18px rgba(0,0,0,.24);
}

.home-brand-section { background: transparent; }
.home-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 180px));
  justify-content: center;
  gap: 1rem;
}
.home-brand-card {
  display: grid;
  justify-items: center;
  align-content: center;
  width: 100%;
  min-height: 174px;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.home-brand-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201,137,29,.45);
  box-shadow: 0 18px 45px rgba(14,31,53,.11);
}
.home-brand-card img,
.home-brand-card .brand-initial {
  width: 70px;
  height: 70px;
  margin-bottom: .9rem;
  object-fit: contain;
}
.home-brand-card strong {
  margin-bottom: .25rem;
  color: var(--navy-warm);
  font-size: .86rem;
  line-height: 1.18;
}
.home-brand-card span {
  color: #c9891d;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .07em;
  line-height: 1.3;
  text-transform: uppercase;
}

.home-partner-band {
  padding-block: 1.35rem;
  background: transparent;
}
.home-partner-band .container {
  overflow: hidden;
  padding-block: 1.2rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy-warm), var(--navy-warm-soft));
  box-shadow: 0 20px 45px rgba(38,18,18,.14);
}
.home-partner-band p {
  margin-bottom: .95rem;
  color: rgba(255,255,255,.82);
  font-size: .82rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.partner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2.2rem;
}
.partner-list strong {
  color: rgba(255,255,255,.92);
  font-size: clamp(.9rem, 1.7vw, 1.1rem);
  letter-spacing: .02em;
}

.news-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 2rem;
  align-items: start;
}
.home-subheading { margin-bottom: 1.1rem; }
.home-news-carousel {
  overflow: hidden;
  border-radius: 8px;
}
.home-news-track {
  position: relative;
  min-height: 430px;
}
.home-news-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 210px 1fr;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition: opacity .45s ease, transform .45s ease;
}
.home-news-slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.home-news-slide.no-image {
  grid-template-rows: 1fr;
}
.home-news-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-news-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 220px;
  padding: 1rem 1.15rem 1.05rem;
}
.home-news-content span {
  display: inline-flex;
  margin-bottom: .45rem;
  padding: .18rem .46rem;
  border-radius: 999px;
  background: rgba(74,45,45,.08);
  color: var(--navy-warm);
  font-size: .68rem;
  font-weight: 820;
}
.home-news-content h3 {
  margin-bottom: .4rem;
  color: var(--navy-warm);
  font-size: clamp(1rem, 1.45vw, 1.18rem);
  line-height: 1.24;
}
.home-news-content p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: .7rem;
  color: #667085;
  font-size: .82rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.home-news-content time {
  display: block;
  margin-top: auto;
  color: #98a2b3;
  font-size: .7rem;
}
.home-news-content .read-more {
  margin-top: .5rem;
}
.home-news-dots {
  display: flex;
  justify-content: center;
  gap: .5rem;
  padding: .15rem 1rem .85rem;
}
.home-news-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(74,45,45,.2);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}
.home-news-dots button.active {
  width: 28px;
  background: var(--gold);
}

.faq-list {
  display: grid;
  gap: .68rem;
}
.faq-list details {
  border-radius: 8px;
}
.faq-list summary {
  position: relative;
  cursor: pointer;
  padding: .92rem 3rem .92rem 1rem;
  color: var(--navy-warm);
  font-size: .88rem;
  font-weight: 760;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  color: var(--navy-warm);
  font-size: 1.3rem;
  line-height: 1;
  transform: translateY(-50%);
}
.faq-list details[open] summary::after { content: "-"; }
.faq-list details p {
  padding: 0 1rem 1rem;
  color: #667085;
  font-size: .84rem;
}

.home-final-cta {
  padding-block: 1.3rem 0;
  background: transparent;
}
.home-final-cta__inner {
  margin-bottom: 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.55rem, 4vw, 2.3rem) clamp(1.2rem, 4vw, 2.7rem);
  border-radius: 14px 14px 14px 14px;
  background:
    linear-gradient(100deg, rgba(7,20,38,.96), rgba(10,31,58,.86) 62%, rgba(10,31,58,.42)),
    url("../images/Produk.png") center/cover no-repeat;
  box-shadow: 0 -10px 44px rgba(14,31,53,.13);
}
.home-final-cta__inner h2 {
  margin-bottom: .45rem;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.home-final-cta__inner p {
  max-width: 650px;
  color: rgba(255,255,255,.78);
}

@media (max-width: 1180px) {
  .home-stats-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home-stat {
    border-right: 1px solid rgba(17,24,39,.10);
    border-bottom: 1px solid rgba(17,24,39,.10);
  }
  .home-stat:nth-child(3n),
  .home-stat:last-child {
    border-right: 0;
  }
  .home-stat:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-brand-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 180px)); }
  .wheat-decor {
    width: clamp(74px, 12vw, 132px);
    opacity: .24;
  }
  .wheat-decor--left { left: -2.5rem; }
  .wheat-decor--right { right: -2.5rem; }
}

@media (max-width: 1100px) {
  .site-header {
    --header-h: 72px;
  }
  .brand-link img {
    width: 44px;
    height: 44px;
  }
  .brand-link span {
    max-width: 230px;
  }
  .main-nav {
    gap: .15rem;
  }
  .nav-link {
    padding-inline: .62rem;
    font-size: .82rem;
  }
  .home-hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 3rem) 5.6rem;
  }
  .home-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.4rem;
  }
  .home-hero__copy {
    max-width: 760px;
  }
  .home-hero__copy h1 {
    font-size: clamp(2.9rem, 8vw, 4.9rem);
  }
  .home-hero__visual {
    width: min(100%, 720px);
    min-height: auto;
    margin-inline: auto;
  }
  .home-hero__photo {
    margin-top: 0;
    border-radius: 32px;
  }
  .home-hero__product {
    right: -1.75rem;
    bottom: -2.5rem;
    width: min(34%, 210px);
  }
  .home-stats-wrap {
    margin-top: -2.6rem;
  }
}

@media (max-width: 980px) {
  .home-split-feature,
  .news-faq-grid {
    grid-template-columns: 1fr;
  }
  .home-news-track {
    min-height: 460px;
  }
  .home-news-slide {
    grid-template-rows: minmax(220px, 48vw) 1fr;
  }
  .home-hero__visual {
    max-width: 720px;
    min-height: auto;
  }
  .reason-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .distribution-panel { grid-template-columns: 1fr minmax(180px, 260px); }
  .journey-story {
    grid-template-columns: minmax(210px, .32fr) minmax(0, 1fr);
    gap: 1rem;
  }
  .journey-story__aside {
    position: sticky;
    top: calc(var(--header-h) + .85rem);
    max-height: calc(100vh - var(--header-h) - 1.7rem);
    padding: 1rem;
  }
  .journey-story__aside h3 { margin-bottom: .85rem; }
  .journey-progress {
    grid-template-columns: 1fr;
    gap: .35rem;
  }
  .journey-progress::before {
    display: block;
  }
  .journey-progress button {
    min-height: 34px;
    justify-content: flex-start;
    padding: .2rem 0 .2rem 2.45rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: left;
  }
  .journey-progress button::before { display: block; }
  .journey-card {
    grid-template-columns: 1fr;
  }
  .journey-card__media {
    order: -1;
  }
  .journey-card__content {
    align-content: start;
  }
}

@media (max-width: 767px) {
  .journey-story {
    grid-template-columns: 1fr;
  }
  .journey-story__aside {
    top: calc(var(--header-h) + .6rem);
    max-height: none;
    padding: .85rem;
    border-radius: 12px;
  }
  .journey-story__aside h3 {
    display: none;
  }
  .journey-progress {
    display: flex;
    overflow-x: auto;
    gap: .45rem;
    padding-bottom: .2rem;
    scrollbar-width: none;
  }
  .journey-progress::-webkit-scrollbar { display: none; }
  .journey-progress::before { display: none; }
  .journey-progress button {
    flex: 0 0 auto;
    min-height: 34px;
    justify-content: center;
    padding: .3rem .7rem;
    border: 1px solid rgba(246,193,76,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    text-align: center;
  }
  .journey-progress button::before { display: none; }
  .journey-card {
    scroll-margin-top: calc(var(--header-h) + 12.5rem);
  }
}

@media (max-width: 980px) {
  .home-section--wheat-distribution .wheat-decor {
    top: auto;
    transform: none;
  }
  .home-section--wheat-distribution .wheat-decor--left {
    top: 1.2rem;
    transform: rotate(-10deg);
  }
  .home-section--wheat-distribution .wheat-decor--right {
    bottom: 1.2rem;
    transform: scaleX(-1) rotate(-10deg);
  }
}

@media (max-width: 767px) {
  .home-hero {
    min-height: auto;
    padding-block: calc(var(--header-h) + 2.5rem) 4.8rem;
  }
  .home-hero__photo { border-radius: 24px; }
  .home-hero__product { right: -1.5rem; bottom: -3.2rem; width: min(42%, 190px); }
  .home-stats-wrap { margin-top: -2.2rem; }
  .home-stats-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 16px;
  }
  .home-stat {
    min-height: 118px;
    padding: 1.05rem;
  }
  .home-stat:nth-child(3n) {
    border-right: 1px solid rgba(17,24,39,.10);
  }
  .home-stat:nth-child(2n),
  .home-stat:last-child {
    border-right: 0;
  }
  .home-stat:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(17,24,39,.10);
  }
  .home-stat:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
  }
  .home-stat:last-child strong {
    font-size: clamp(1.3rem, 4vw, 1.75rem);
  }
  .product-grid,
  .home-brand-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .journey-track::before {
    left: 18px;
  }
  .journey-card {
    grid-template-columns: 1fr;
    margin-left: 2.35rem;
  }
  .journey-card::before {
    left: -1.82rem;
  }
  .journey-card__media {
    min-height: 180px;
    order: -1;
  }
  .vision-panel {
    grid-template-columns: 1fr;
    max-height: none;
  }
  .vision-panel__col + .vision-panel__col {
    padding-left: 0;
    padding-top: 1rem;
    border-left: 0;
    border-top: 1px solid rgba(246,193,76,.48);
  }
  .vision-panel p {
    max-width: none;
  }
  .vision-panel ul {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .home-final-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .wheat-decor {
    width: 86px;
    opacity: .18;
  }
  .wheat-decor--left { left: -3.2rem; }
  .wheat-decor--right { right: -3.2rem; }
}

@media (max-width: 560px) {
  .home-heading { gap: .65rem; }
  .home-heading span { width: 18px; }
  .home-stats-card {
    grid-template-columns: 1fr;
  }
  .home-stat {
    min-height: 104px;
    grid-template-columns: 40px minmax(0, 1fr);
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid rgba(17,24,39,.10);
  }
  .home-stat:nth-child(3n),
  .home-stat:nth-child(2n),
  .home-stat:last-child {
    border-right: 0;
  }
  .home-stat:nth-last-child(-n + 2) {
    border-bottom: 1px solid rgba(17,24,39,.10);
  }
  .home-stat:last-child {
    grid-column: auto;
    border-bottom: 0;
  }
  .home-stat:last-child strong {
    font-size: clamp(1.24rem, 6vw, 1.6rem);
  }
  .home-stat__icon {
    width: 38px;
    height: 38px;
  }
  .reason-grid,
  .product-grid,
  .home-brand-grid,
  .distribution-panel {
    grid-template-columns: 1fr;
  }
  .product-card { min-height: auto; }
  .distribution-panel img {
    max-height: 230px;
    justify-self: center;
  }
  .home-final-cta__inner .btn { width: 100%; }
}
