﻿:root {
  --forest-950: #2b2415;
  --forest-900: #5e421c;
  --forest-700: #8b6123;
  --leaf: #6f8f35;
  --gold: #d8a444;
  --rice: #f6ead3;
  --paper: #fff8ec;
  --surface: #fffdf8;
  --ink: #2b241b;
  --muted: #71624c;
  --line: rgba(139, 97, 35, 0.2);
  --shadow: 0 26px 70px rgba(72, 48, 20, 0.16);
  --soft-shadow: 0 14px 34px rgba(72, 48, 20, 0.1);
  --radius: 22px;
  --container: 1180px;
  --heading: "Merriweather", Georgia, serif;
  --body: "Be Vietnam Pro", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--rice);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body.nav-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
::selection {
  color: #fff;
  background: var(--forest-700);
}
:focus-visible {
  outline: 3px solid rgba(215, 160, 58, 0.8);
  outline-offset: 4px;
}
.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  transform: translateY(-160%);
  border-radius: var(--radius);
  padding: 10px 14px;
  color: #fff;
  background: var(--forest-900);
  font-weight: 800;
  transition: transform 180ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  color: #fff;
  transition: background-color 220ms ease, box-shadow 220ms ease, padding 220ms ease, backdrop-filter 220ms ease;
}
.site-header.scrolled,
.site-header.menu-open {
  padding: 12px 0;
  background: rgba(15, 47, 31, 0.96);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(1.2);
}
.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  gap: 12px;
  font-weight: 800;
}
.brand img {
  width: 52px;
  height: 52px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}
.brand span {
  display: grid;
  gap: 0;
}
.brand strong {
  font-family: var(--heading);
  font-size: 1.2rem;
  line-height: 1.1;
}
.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
}
.nav-links {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}
.nav-links::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.7;
  pointer-events: none;
}
.nav-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 0 18px rgba(215, 160, 58, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1), width 260ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 160ms ease;
}
.nav-links.has-indicator .nav-indicator {
  opacity: 1;
}
.nav-indicator.no-transition {
  transition: none;
}
.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 0 15px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  font-weight: 700;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  color: var(--forest-950);
  background: #fff;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}
.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.hero {
  position: relative;
  min-height: 86dvh;
  display: flex;
  align-items: center;
  padding: 116px 0 80px;
  color: #fff;
  background: url("images/hero-st25-organic-field.png") center / cover no-repeat;
  isolation: isolate;
  overflow: hidden;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 34, 19, 0.9) 0%, rgba(12, 44, 25, 0.72) 44%, rgba(12, 44, 25, 0.25) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.38));
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  align-items: center;
  gap: 56px;
}
.hero-copy {
  max-width: 760px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(215, 160, 58, 0.38);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--gold);
  background: rgba(215, 160, 58, 0.12);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}
.hero h1,
.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin: 14px 0 0;
  font-family: var(--heading);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
}
.hero h1 {
  max-width: 730px;
  font-size: 4.15rem;
}
.hero-lead {
  max-width: 650px;
  margin: 22px 0 0;
  color: #f3ead5;
  font-size: 1.08rem;
}
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 900;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  color: var(--forest-950);
  background: var(--gold);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}
.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}
.btn-secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}
.btn-outline-dark {
  color: var(--forest-950);
  border-color: rgba(15, 47, 31, 0.22);
  background: transparent;
}
.btn-outline-dark:hover {
  background: rgba(15, 47, 31, 0.06);
}
.hero-product {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}
.hero-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  object-fit: cover;
}
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
}
.hero-facts div {
  min-height: 96px;
  padding: 14px;
  background: rgba(15, 47, 31, 0.72);
}
.hero-facts strong {
  display: block;
  color: var(--gold);
  font-family: var(--heading);
  font-size: 1.45rem;
  line-height: 1.1;
}
.hero-facts span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.45;
}
.section {
  padding: clamp(74px, 10vh, 116px) 0;
}
.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}
.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: end;
  max-width: none;
}
.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  color: var(--forest-950);
  font-size: 2.6rem;
}
.section-heading p,
.about-copy p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
}
.split-heading > p {
  margin: 0 0 4px;
}
.product-section,
.partners-section {
  background: var(--paper);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(215, 160, 58, 0.55);
  box-shadow: var(--shadow);
}
.product-card-primary {
  border-color: rgba(215, 160, 58, 0.44);
}
.product-media {
  overflow: hidden;
  background: #ede1cd;
}
.product-media img {
  width: 100%;
  aspect-ratio: 1 / 0.8;
  object-fit: cover;
  transition: transform 240ms ease;
}
.product-card:hover .product-media img {
  transform: scale(1.04);
}
.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
}
.tag {
  align-self: flex-start;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--forest-950);
  background: rgba(215, 160, 58, 0.2);
  font-size: 0.78rem;
  font-weight: 900;
}
.product-body h3 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--heading);
  font-size: 1.45rem;
  line-height: 1.2;
}
.product-body p {
  flex: 1;
  margin: 0;
  color: var(--muted);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip-row span,
.standard-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--forest-900);
  background: var(--rice);
  font-size: 0.82rem;
  font-weight: 800;
}
.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 44px;
  color: var(--forest-700);
  font-weight: 900;
}
.text-link::after {
  content: "";
  width: 26px;
  height: 1px;
  margin-left: 10px;
  background: currentColor;
  transition: width 180ms ease;
}
.text-link:hover::after {
  width: 38px;
}
.about-section,
.process-section {
  background: linear-gradient(180deg, var(--rice), #eef4e6);
}
.machinery-section {
  background: var(--surface);
}
.about-grid,
.contact-grid {
  display: grid;
  align-items: center;
  gap: 56px;
}
.about-grid {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
}
.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}
.value-item {
  min-height: 132px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 17px;
  background: rgba(255, 255, 255, 0.72);
}
.value-item strong {
  display: block;
  color: var(--forest-950);
  font-size: 0.98rem;
  line-height: 1.35;
}
.value-item span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.about-media {
  display: grid;
  gap: 16px;
}
.image-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius);
  background: #d9c7a9;
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.about-media .image-frame img {
  aspect-ratio: 5 / 4;
}
.image-frame figcaption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  border-radius: var(--radius);
  padding: 10px 12px;
  color: #fff;
  background: rgba(15, 47, 31, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}
.process-list {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}
.process-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}
.process-list div:last-child {
  border-bottom: 0;
}
.process-list span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  background: var(--forest-900);
  font-family: var(--heading);
  font-weight: 900;
}
.process-list p {
  margin: 0;
  color: var(--muted);
}
.process-list strong {
  display: block;
  color: var(--forest-950);
}
.cook-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
}
.cook-card h3,
.contact-form h3 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--heading);
  font-size: 1.45rem;
  line-height: 1.25;
}
.cook-card ol {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 22px;
  color: var(--muted);
}
.cook-card li::marker {
  color: var(--forest-700);
  font-weight: 900;
}
.standard-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.contact-section {
  background:
    linear-gradient(180deg, var(--surface), var(--rice)),
    url("images/rice-pattern-warm-background.png") center / cover no-repeat;
  background-blend-mode: normal, multiply;
}
.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  align-items: start;
}
.contact-list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}
.contact-list dt {
  color: var(--forest-700);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}
.contact-list dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 700;
}
.contact-list a:hover,
.footer-row a:hover {
  color: var(--forest-700);
}
.contact-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-heading {
  margin-bottom: 22px;
}
.form-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.contact-form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: var(--forest-950);
  font-weight: 800;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(31, 103, 62, 0.22);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fffdf7;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--forest-700);
  outline: 3px solid rgba(128, 204, 40, 0.2);
  outline-offset: 0;
}
.contact-form .btn {
  width: 100%;
  margin-top: 20px;
}
.site-footer {
  padding: 24px 0;
  color: #dce8d8;
  background: var(--forest-950);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-row p {
  margin: 0;
}
.footer-row a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 800;
}
.floating-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 52px;
  border-radius: 999px;
  padding: 0 18px;
  color: #fff;
  background: #0068ff;
  font-weight: 900;
  box-shadow: 0 16px 40px rgba(0, 104, 255, 0.34);
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.product-card:nth-child(2),
.value-item:nth-child(2) {
  transition-delay: 70ms;
}
.product-card:nth-child(3),
.value-item:nth-child(3) {
  transition-delay: 120ms;
}
.value-item:nth-child(4) {
  transition-delay: 170ms;
}
@media (max-width: 1080px) {
  .hero h1 {
    font-size: 3.25rem;
  }
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 2.2rem;
  }
  .nav-phone {
    display: none;
  }
}
@media (max-width: 920px) {
  .site-header {
    padding: 12px 0;
    background: rgba(15, 47, 31, 0.88);
    backdrop-filter: blur(14px);
  }
  .nav-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 12px);
    left: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    visibility: hidden;
    border-radius: var(--radius);
    padding: 0 10px;
    background: rgba(15, 47, 31, 0.98);
    box-shadow: var(--shadow);
    transition: max-height 260ms ease, opacity 220ms ease, transform 260ms ease, padding 260ms ease, visibility 0s linear 260ms;
  }
  .nav-links::before,
  .nav-indicator {
    display: none;
  }
  .nav-links.open {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
    padding: 10px;
    transition: max-height 260ms ease, opacity 220ms ease, transform 260ms ease, padding 260ms ease, visibility 0s;
  }
  .nav-link {
    justify-content: center;
    min-height: 48px;
    border-radius: var(--radius);
  }
  .hero {
    min-height: auto;
    padding: 104px 0 54px;
  }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .split-heading {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .hero-product {
    max-width: 520px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .split-heading > p {
    max-width: 680px;
  }
}
@media (max-width: 680px) {
  .container {
    width: min(100% - 28px, var(--container));
  }
  :root {
    --radius: 16px;
  }
  .brand img {
    width: 46px;
    height: 46px;
  }
  .brand strong {
    font-size: 1.02rem;
  }
  .brand small {
    font-size: 0.68rem;
  }
  .hero {
    min-height: 84dvh;
    padding: 96px 0 42px;
  }
  .hero h1 {
    font-size: 2.35rem;
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
  }
  .hero-product {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 1.9rem;
  }
  .product-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }
  .product-media img,
  .image-frame img,
  .about-media .image-frame img {
    aspect-ratio: 4 / 3;
  }  .cook-card {
    padding: 22px;
  }
  .process-list div {
    grid-template-columns: 44px 1fr;
    gap: 12px;
    padding: 16px;
  }
  .process-list span {
    width: 38px;
    height: 38px;
  }.footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .floating-contact {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
  }
}
@media (max-width: 380px) {
  .container {
    width: min(100% - 22px, var(--container));
  }
  .hero h1 {
    font-size: 2.08rem;
  }
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 {
    font-size: 1.72rem;
  }
  .brand small {
    display: none;
  }
}


/* Scroll motion polish */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 4px;
  z-index: 999;
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), #78b85b, var(--forest-500));
  box-shadow: 0 0 18px rgba(215, 160, 58, 0.55);
}
.hero,
.route-hero {
  background-position: center calc(50% + var(--parallax-y, 0px));
}
.reveal {
  transform: translateY(34px) scale(0.985);
  filter: none;
  transition:
    opacity 360ms ease,
    transform 460ms cubic-bezier(0.2, 0.82, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal-auto:nth-child(3n + 1) { transform: translateY(34px) translateX(-14px) scale(0.985); }
.reveal-auto:nth-child(3n + 2) { transform: translateY(34px) scale(0.985); }
.reveal-auto:nth-child(3n) { transform: translateY(34px) translateX(14px) scale(0.985); }
.reveal-auto.visible { transform: none; }
.scroll-float {
  transition-property: opacity, transform, box-shadow, translate;
}
.scroll-float:hover {
  translate: 0 -6px;
  box-shadow: 0 24px 56px rgba(15, 47, 31, 0.16);
}
.product-media img,
.image-frame img,
.about-media img {
  transition: transform 700ms cubic-bezier(0.2, 0.82, 0.2, 1), filter 700ms ease;
}
.product-card:hover .product-media img,
.image-frame:hover img,
.about-media:hover img {
  transform: scale(1.045);
  filter: saturate(1.08) contrast(1.04);
}
.btn,
.text-link,
.nav-link,
.floating-contact {
  transition-property: color, background, background-color, border-color, box-shadow, transform, opacity;
  transition-duration: 220ms;
  transition-timing-function: ease;
}
.btn:hover,
.floating-contact:hover {
  transform: translateY(-3px);
}
.section-heading.visible .eyebrow,
.hero-copy.visible .eyebrow {
  animation: rice-glow 1400ms ease both;
}
@keyframes rice-glow {
  0% { letter-spacing: 0.02em; text-shadow: none; }
  50% { letter-spacing: 0.08em; text-shadow: 0 0 18px rgba(215, 160, 58, 0.38); }
  100% { letter-spacing: 0.06em; text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
  .nav-links::before {
    animation: none !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero,
  .route-hero {
    background-position: center center !important;
  }
  .scroll-progress {
    display: none !important;
  }
}
.route-main {
  padding-top: 76px;
}
.route-hero {
  color: #fff;
  background:
    linear-gradient(120deg, rgba(15, 47, 31, 0.94), rgba(31, 103, 62, 0.78)),
    url("images/rice-pattern-warm-background.png") center / cover no-repeat;
}
.route-hero .section-heading {
  margin-bottom: 0;
}
.route-hero h1,
.product-detail-copy h1 {
  margin: 14px 0 0;
  font-family: var(--heading);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.08;
}
.route-hero p,
.product-detail-copy .hero-lead {
  max-width: 760px;
}
 .route-hero p {
  color: #fff8dc;
  font-weight: 650;
  font-size: 1.08rem;
  line-height: 1.75;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.38);
}
.product-list-hero .section-heading > p {
  display: inline-block;
  margin-top: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 248, 220, 0.32);
  border-radius: 18px;
  background: rgba(15, 47, 31, 0.38);
  backdrop-filter: blur(8px);
}
.product-detail-copy .hero-lead {
  color: var(--muted);
}
.product-detail {
  background: linear-gradient(180deg, var(--rice), var(--paper));
}
.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.product-detail-media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.product-detail-media img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--radius) - 6px);
  object-fit: cover;
}
.product-detail-media .chip-row {
  margin-top: 14px;
}
.product-detail-copy p:not(.eyebrow):not(.hero-lead) {
  color: var(--muted);
}
.feature-list {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--forest-950);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}
.related-section {
  background: var(--surface);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.related-card {
  display: grid;
  grid-template-columns: 116px 1fr;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: var(--paper);
  box-shadow: var(--soft-shadow);
  font-family: var(--heading);
  font-weight: 900;
}
.related-card img {
  width: 116px;
  height: 92px;
  border-radius: calc(var(--radius) - 6px);
  object-fit: cover;
}
@media (max-width: 920px) {
  .product-detail-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }
}
/* Giao dien chu dao: Lua chin. */
.hero { background-position:center; }
.hero-shade { background:linear-gradient(90deg, rgba(43,36,21,.9), rgba(94,66,28,.64) 52%, rgba(94,66,28,.18)); }
.hero-grid { grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr); gap:42px; }
.hero-product { border-radius:34px; }
.product-grid { grid-template-columns:1.25fr .9fr .9fr; }
.about-grid { grid-template-columns:.95fr 1.05fr; }

/* Brand refresh: warm ivory logo chip */
.site-header .brand {
  position: relative;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(244, 209, 116, 0.38);
  border-radius: 999px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 255, 255, 0.98), rgba(255, 252, 236, 0.88) 44%, rgba(246, 222, 154, 0.78));
  box-shadow: 0 14px 36px rgba(63, 43, 13, 0.18), inset 0 1px 0 rgba(255,255,255,0.75);
  color: #123c25;
}
.site-header .brand::after {
  content: "";
  position: absolute;
  inset: 8px 16px auto auto;
  width: 74px;
  height: 28px;
  pointer-events: none;
  opacity: 0.14;
  background: repeating-linear-gradient(115deg, #9a7a22 0 2px, transparent 2px 10px);
  border-radius: 999px;
}
.site-header .brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border: 2px solid rgba(255, 255, 255, 0.95);
  background: #fffdf1;
  box-shadow: 0 10px 24px rgba(18, 60, 37, 0.22);
}
.site-header .brand strong { color: #143f27; }
.site-header .brand small { color: #5d8a22; letter-spacing: 0.08em; }
.site-header.scrolled .brand,
.site-header.menu-open .brand { transform: translateY(0); }
@media (max-width: 760px) {
  .site-header .brand { padding: 6px 10px 6px 7px; }
  .site-header .brand img { width: 54px; height: 54px; }
}

/* Logo header refinement: use the original horizontal artwork, no duplicate text/chip. */
.site-header .brand {
  min-height: 0;
  gap: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
}
.site-header .brand::after {
  display: none;
}
.site-header .brand img {
  width: clamp(220px, 22vw, 330px);
  height: auto;
  max-height: 76px;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.site-header .brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 760px) {
  .site-header .brand img {
    width: clamp(176px, 58vw, 245px);
    max-height: 58px;
  }
}

/* Header brand final: logo mark + visible name/slogan, clean ivory depth. */
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 8px 16px 8px 10px;
  border: 1px solid rgba(230, 203, 126, 0.42);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 253, 244, 0.96), rgba(244, 230, 180, 0.86));
  box-shadow: 0 12px 32px rgba(38, 32, 14, 0.16), inset 0 1px 0 rgba(255,255,255,0.75);
  color: #133f27;
}
.site-header .brand::after { display: none; }
.site-header .brand img {
  width: 58px;
  height: 58px;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}
.site-header .brand span {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
  display: grid;
  gap: 2px;
}
.site-header .brand strong {
  color: #143f27;
  font-family: var(--heading);
  font-size: clamp(1.18rem, 1.6vw, 1.55rem);
  line-height: 1;
  letter-spacing: -0.02em;
}
.site-header .brand small {
  color: #5e8b26;
  font-size: clamp(0.72rem, 1vw, 0.92rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
@media (max-width: 760px) {
  .site-header .brand {
    gap: 9px;
    min-height: 54px;
    padding: 7px 11px 7px 8px;
    border-radius: 18px;
  }
  .site-header .brand img {
    width: 46px;
    height: 46px;
  }
  .site-header .brand strong { font-size: 1.02rem; }
  .site-header .brand small { font-size: 0.62rem; letter-spacing: 0.055em; }
}

/* Header brand soft polish: gentler, lighter, less bulky. */
.site-header .brand {
  gap: 11px;
  min-height: 56px;
  padding: 7px 15px 7px 9px;
  border: 1px solid rgba(225, 202, 139, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 254, 248, 0.94), rgba(249, 239, 205, 0.82));
  box-shadow:
    0 8px 22px rgba(42, 34, 15, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(10px) saturate(1.05);
}
.site-header .brand img {
  width: 46px;
  height: 46px;
  opacity: 0.96;
  filter: drop-shadow(0 3px 6px rgba(20, 63, 39, 0.10));
}
.site-header .brand span { gap: 3px; }
.site-header .brand strong {
  color: #16432a;
  font-size: clamp(1.06rem, 1.35vw, 1.36rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.site-header .brand small {
  color: #699238;
  font-size: clamp(0.64rem, 0.82vw, 0.78rem);
  line-height: 1;
  letter-spacing: 0.105em;
  font-weight: 800;
}
.site-header.scrolled .brand,
.site-header.menu-open .brand {
  box-shadow: 0 7px 20px rgba(10, 38, 23, 0.12), inset 0 1px 0 rgba(255,255,255,0.8);
}
@media (max-width: 760px) {
  .site-header .brand {
    gap: 8px;
    min-height: 48px;
    padding: 6px 10px 6px 7px;
  }
  .site-header .brand img {
    width: 38px;
    height: 38px;
  }
  .site-header .brand strong { font-size: 0.94rem; }
  .site-header .brand small { font-size: 0.55rem; letter-spacing: 0.075em; }
}

/* Header brand readability: airier text, calmer hierarchy. */
.site-header .brand {
  gap: 14px;
  padding: 9px 22px 9px 13px;
  min-height: 64px;
}
.site-header .brand img {
  width: 50px;
  height: 50px;
}
.site-header .brand span {
  gap: 7px;
}
.site-header .brand strong {
  font-family: "Be Vietnam Pro", sans-serif;
  font-size: clamp(1rem, 1.18vw, 1.22rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.015em;
}
.site-header .brand small {
  font-size: clamp(0.56rem, 0.68vw, 0.66rem);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: 0.16em;
  color: #6f933f;
}
@media (max-width: 760px) {
  .site-header .brand {
    gap: 9px;
    padding: 7px 12px 7px 8px;
    min-height: 50px;
  }
  .site-header .brand img {
    width: 38px;
    height: 38px;
  }
  .site-header .brand span { gap: 5px; }
  .site-header .brand strong { font-size: 0.9rem; letter-spacing: -0.01em; }
  .site-header .brand small { font-size: 0.48rem; letter-spacing: 0.12em; }
}

/* Mobile UX final layer: max-width only; desktop untouched. */
@media (max-width: 920px) {
  html { scroll-padding-top: 84px; }
  body { min-width: 0; }
  .site-header {
    padding: 10px 0;
    background: rgba(43, 36, 21, 0.92);
    backdrop-filter: blur(16px) saturate(1.1);
  }
  .site-header.scrolled,
  .site-header.menu-open { padding: 8px 0; }
  .nav-shell { gap: 10px; }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    touch-action: manipulation;
  }
  .nav-toggle span { margin-left: auto; margin-right: auto; }
  .nav-links {
    left: 14px;
    right: 14px;
    top: calc(100% + 10px);
    max-height: min(0px, calc(100dvh - 92px));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.open { max-height: calc(100dvh - 92px); }
  .nav-link,
  .btn,
  .text-link,
  .floating-contact,
  .nav-phone { touch-action: manipulation; }
  .nav-link { min-height: 48px; padding: 0 16px; }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .split-heading,
  .product-detail-grid,
  .related-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-product { max-width: 520px; }
}

@media (max-width: 760px) {
  .site-header .brand {
    max-width: calc(100vw - 88px);
    gap: 8px;
    padding: 6px 10px 6px 7px;
    min-height: 48px;
  }
  .site-header .brand img {
    width: 38px;
    height: 38px;
  }
  .site-header .brand span { min-width: 0; }
  .site-header .brand strong,
  .site-header .brand small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .site-header .brand strong { font-size: clamp(0.82rem, 3.5vw, 0.94rem); }
  .site-header .brand small { font-size: clamp(0.42rem, 2.2vw, 0.5rem); letter-spacing: 0.08em; }
}

@media (max-width: 680px) {
  :root { --radius: 16px; }
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 56px 0; }
  .hero {
    min-height: 78dvh;
    padding: 96px 0 42px;
    background-position: 58% center;
  }
  .hero-shade {
    background: linear-gradient(180deg, rgba(43,36,21,.88), rgba(94,66,28,.68) 58%, rgba(94,66,28,.42));
  }
  .hero h1 { font-size: clamp(2rem, 11vw, 2.6rem); line-height: 1.1; }
  .route-hero h1,
  .product-detail-copy h1 { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hero-lead,
  .route-hero p,
  .product-detail-copy .hero-lead { font-size: 1rem; line-height: 1.65; }
  .eyebrow { line-height: 1.4; }
  .hero-actions,
  .contact-actions { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    text-align: center;
    padding: 0 18px;
  }
  .hero-product { display: none; }
  .section-heading h2,
  .about-copy h2,
  .contact-copy h2 { font-size: clamp(1.72rem, 8vw, 2.05rem); line-height: 1.18; }
  .product-grid,
  .partner-grid,
  .value-grid { grid-template-columns: 1fr; gap: 16px; }
  .product-card,
  .cook-card,
  .contact-form,
  .feature-list li { border-radius: var(--radius); }
  .product-body,
  .cook-card,
  .contact-form { padding: 22px; }
  .chip-row { gap: 8px; }
  .chip-row span { min-height: 34px; display: inline-flex; align-items: center; }
  .process-list div { grid-template-columns: 44px 1fr; gap: 12px; padding: 16px; }
  .process-list span { width: 38px; height: 38px; }
  .contact-list div { grid-template-columns: 1fr; gap: 6px; }
  .form-row { grid-template-columns: 1fr; }
  input,
  textarea { min-height: 48px; font-size: 16px; }
  .related-card { grid-template-columns: 92px 1fr; gap: 12px; }
  .related-card img { width: 92px; height: 78px; }
  .footer-row { align-items: flex-start; flex-direction: column; gap: 12px; }
  .floating-contact { right: 14px; bottom: 14px; min-height: 48px; min-width: 72px; padding: 0 16px; }
}

@media (max-width: 380px) {
  .container { width: min(100% - 22px, var(--container)); }
  .site-header .brand small { display: none; }
  .site-header .brand { max-width: calc(100vw - 82px); }
  .hero h1 { font-size: 2rem; }
  .related-card { grid-template-columns: 1fr; }
  .related-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}

/* Nav toggle SVG icon: replace 3 text bars with real vector icon. */
.nav-toggle {
  display: none;
  place-items: center;
  padding: 0;
}
.nav-toggle-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.nav-toggle .icon-close {
  opacity: 0;
  transform: scale(0.86) rotate(-12deg);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-toggle .icon-menu {
  opacity: 1;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}
.nav-toggle[aria-expanded="true"] .icon-menu {
  opacity: 0;
  transform: scale(0.86) rotate(12deg);
}
.nav-toggle[aria-expanded="true"] .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
@media (max-width: 920px) {
  .nav-toggle { display: grid; }
}

.machine-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.machine-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}
.machine-media {
  background: #fff;
}
.machine-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 14px;
}
.machine-body {
  padding: 16px;
}
.machine-body span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 10px;
  border-radius: 999px;
  color: #fff;
  background: var(--forest-900);
  font-family: var(--heading);
  font-weight: 900;
}
.machine-body h3 {
  margin: 0;
  color: var(--forest-950);
  font-size: 1rem;
}
.machine-body p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}
.machine-body .machine-en {
  color: var(--gold-700, var(--gold));
  font-weight: 800;
}
.machinery-support-heading {
  margin-top: 56px;
}
@media (max-width: 1120px) {
  .machine-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .machine-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .machine-body { padding: 14px; }
}
@media (max-width: 520px) {
  .machine-grid { grid-template-columns: 1fr; }
}


/* Process + machinery mapped media */
.section-heading {
  max-width: 880px;
  text-align: center;
}
.section-heading p:not(.eyebrow) {
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.75;
}
.machinery-hero {
  margin-top: 30px;
  max-width: 980px;
}
.process-stage-grid {
  display: grid;
  gap: 28px;
  margin-top: 34px;
}
.process-stage {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255,255,255,.74);
  box-shadow: var(--soft-shadow);
}
.stage-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 16px;
  margin-bottom: 18px;
}
.stage-head span,
.machine-card span {
  color: var(--gold-700, #9d6b16);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.stage-head h3,
.machine-card h3 {
  margin: 0;
  color: var(--forest-950);
  font-family: var(--heading);
}
.machine-step-grid,
.machine-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.machine-step,
.machine-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}
.machine-step img,
.machine-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.machine-step strong {
  display: block;
  padding: 14px 14px 0;
  color: var(--forest-950);
}
.machine-step p,
.machine-card p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.55;
}
.machine-step p { padding: 0 14px 16px; }
.machine-step.no-photo {
  display: grid;
  align-content: center;
  min-height: 260px;
  padding: 18px;
  background: linear-gradient(135deg, var(--rice), #fff);
}
.machine-step.no-photo span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: #fff;
  background: var(--forest-900);
  font-family: var(--heading);
  font-weight: 900;
}
.machine-step.no-photo strong,
.machine-step.no-photo p { padding-left: 0; padding-right: 0; }
.machine-card-grid { margin-top: 34px; }
.machine-card div { padding: 16px; }
.auxiliary-section { background: linear-gradient(180deg, var(--surface), var(--rice)); }
.aux-grid { margin-top: 24px; }
@media (max-width: 980px) {
  .machine-step-grid,
  .machine-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .machine-step-grid,
  .machine-card-grid { grid-template-columns: 1fr; }
  .process-stage { padding: 14px; }
}
