@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700;800&display=swap");

:root {
  --green-950: #082d1d;
  --green-900: #0d3e29;
  --green-800: #12613b;
  --green-700: #16824c;
  --green-100: #dcefe1;
  --green-50: #f1f8f2;
  --cream: #fbf8ef;
  --cream-strong: #f6efd9;
  --white: #ffffff;
  --ink: #173328;
  --muted: #62756c;
  --line: #d9e7dd;
  --oat: #bd8b31;
  --shadow: 0 18px 46px rgba(16, 70, 43, 0.12);
  --radius: 8px;
  --header-height: 76px;
}

/* Exhibition-ready homepage additions */
.trade-show-banner {
  padding: 46px 0;
  color: #fff;
  background: #315a49;
}

.trade-show-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.trade-show-banner .eyebrow {
  color: #cfe5d8;
}

.trade-show-banner h2 {
  max-width: 820px;
  margin: 8px 0 12px;
  color: #fff;
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.08;
}

.trade-show-banner p:last-child {
  max-width: 900px;
  margin: 0;
  color: #e1eee7;
  line-height: 1.7;
}

.trade-show-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
}

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

.signature-product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #c9dcd0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.signature-product-card:hover,
.signature-product-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--green-700);
  box-shadow: 0 18px 38px rgba(13, 62, 41, 0.12);
}

.signature-product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f1f5f2;
}

.signature-product-card span {
  margin: 22px 24px 0;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.signature-product-card strong {
  margin: 10px 24px 26px;
  font-size: 19px;
  line-height: 1.45;
}

.signature-product-card.secondary-focus img {
  opacity: 0.88;
}

.experience-card {
  min-height: 190px;
  padding: 28px;
  border: 1px solid #c9dcd0;
  border-radius: 8px;
  background: #fff;
}

.experience-card span {
  display: block;
  margin-bottom: 28px;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.experience-card strong {
  display: block;
  font-size: 22px;
  line-height: 1.4;
}

.strong-note {
  max-width: 980px;
  margin-top: 30px;
  color: var(--green-900);
  font-weight: 700;
}

@media (max-width: 980px) {
  .trade-show-layout {
    grid-template-columns: 1fr;
  }

  .trade-show-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 640px) {
  .trade-show-banner {
    padding: 38px 0;
  }

  .trade-show-actions .button,
  .trade-show-actions .text-action {
    width: 100%;
    justify-content: center;
  }

  .signature-product-grid {
    grid-template-columns: 1fr;
  }

  .signature-product-card img {
    aspect-ratio: 16 / 10;
  }
}

/* Brochure expansion */
.nav-dropdown {
  top: 100%;
  display: grid;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown::before {
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 10px;
  content: "";
}

.sour-plum-feature-link,
.sour-plum-portal-link {
  display: grid;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(18, 97, 59, 0.2);
  border-radius: var(--radius);
  color: var(--green-950);
  background:
    linear-gradient(90deg, rgba(244, 239, 222, 0.92), rgba(255, 255, 255, 0.78)),
    url("assets/brochure/heritage-street.webp") center / cover;
  box-shadow: 0 12px 28px rgba(17, 74, 43, 0.08);
}

.system-entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(220px, 1.18fr);
  gap: 14px;
  align-items: end;
}

.system-entry-layout .sour-plum-feature-link {
  min-height: 118px;
  align-content: center;
  margin-top: 0;
}

.sour-plum-feature-link span,
.sour-plum-portal-link small {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
}

.sour-plum-feature-link strong,
.sour-plum-portal-link strong {
  margin: 3px 0;
  font-size: 19px;
}

.sour-plum-feature-link small {
  color: #496154;
}

.site-footer .footer-grid {
  align-items: center;
}

.site-footer strong {
  color: var(--green-950);
}

.site-footer p {
  margin: 5px 0 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.site-footer nav [data-b2b-footer-links] {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer nav a {
  color: #d5e7da;
  font-size: 13px;
  font-weight: 700;
}

.site-footer nav a:hover,
.site-footer nav a:focus-visible {
  color: #ffffff;
}

.top-pagination {
  margin: 0 0 24px;
  padding: 0;
}

.top-pagination a {
  min-height: 36px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  font-size: 12px;
}

.compact-section {
  padding: 48px 0;
}

.application-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.application-mini-card {
  display: grid;
  min-height: 240px;
  grid-template-rows: 104px 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(17, 74, 43, 0.07);
}

.application-mini-card img {
  width: 100%;
  height: 104px;
  object-fit: cover;
  filter: saturate(0.88);
}

.application-mini-card .image-pending {
  min-height: 104px;
  padding: 10px;
  border-width: 0 0 1px;
  border-radius: 0;
}

.application-mini-card div {
  padding: 15px;
}

.application-mini-card span,
.solution-product-grid span {
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.application-mini-card h3 {
  margin: 5px 0 0;
  color: var(--green-950);
  font-size: 17px;
}

.application-mini-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-note {
  max-width: 980px;
  margin: 20px 0 0;
  color: #476657;
}

.badge-wall {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.badge-wall article {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.07);
}

.badge-wall h3,
.subsection-heading h2 {
  margin: 0;
  color: var(--green-950);
}

.badge-wall article > div,
.keyword-row,
.package-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}

.badge-wall span,
.keyword-row span,
.package-grid span {
  padding: 8px 11px;
  border: 1px solid rgba(18, 97, 59, 0.15);
  border-radius: 5px;
  color: #315344;
  background: rgba(240, 248, 242, 0.82);
  font-size: 13px;
  font-weight: 700;
}

.certificate-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.certificate-gallery img {
  width: 100%;
  height: 260px;
  padding: 10px;
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.7);
}

.image-pending {
  display: grid;
  min-height: 140px;
  place-items: center;
  padding: 18px;
  border: 1px dashed rgba(18, 97, 59, 0.3);
  border-radius: var(--radius);
  background: rgba(246, 250, 247, 0.9);
  color: var(--green-700);
  text-align: center;
}

.image-pending span {
  max-width: 12em;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.certificate-gallery .image-pending {
  min-height: 260px;
}

.split-feature-stack {
  display: grid;
  gap: 24px;
}

.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 14px 36px rgba(17, 74, 43, 0.07);
}

.split-feature.reverse > div {
  order: 2;
}

.split-feature h2 {
  margin: 5px 0 14px;
  color: var(--green-950);
}

.split-feature img {
  width: 100%;
  max-height: 360px;
  border-radius: var(--radius);
  object-fit: cover;
}

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

.solution-product-grid article {
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(17, 74, 43, 0.07);
}

.solution-product-grid img {
  width: 100%;
  height: 155px;
  object-fit: contain;
  padding: 10px;
}

.solution-product-grid article > div {
  padding: 16px;
}

.solution-product-grid h3 {
  margin: 5px 0 0;
  color: var(--green-950);
  font-size: 18px;
}

.solution-product-grid p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.subsection-heading {
  margin: 46px 0 14px;
}

.package-grid {
  margin-top: 0;
}

.package-grid span {
  display: grid;
  min-height: 74px;
  min-width: 128px;
  place-items: center;
  background: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.package-visual {
  width: 100%;
  max-height: 280px;
  margin-top: 16px;
  border-radius: var(--radius);
  object-fit: cover;
}

.package-visual.image-pending {
  display: grid;
  min-height: 220px;
  max-height: none;
  margin-top: 16px;
}

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

.responsibility-grid article {
  display: grid;
  min-height: 280px;
  grid-template-columns: 42% 1fr;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.07);
}

.responsibility-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.responsibility-grid > article > .image-pending {
  min-height: 280px;
  padding: 18px;
}

.responsibility-grid div {
  display: grid;
  align-content: center;
  padding: 24px;
}

.responsibility-grid h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 23px;
}

.logo-wall {
  margin: 0;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
}

.logo-wall img {
  width: 100%;
  max-height: 390px;
  object-fit: contain;
}

.partner-keywords {
  justify-content: center;
}

.portal-category-link.is-last::after {
  content: none;
}

.portal-category-link p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.portal-category-link p b {
  display: block;
  margin-bottom: 3px;
  color: var(--green-800);
  font-size: 11px;
}

.portal-category-link em {
  margin-top: 8px;
  color: var(--green-700);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.portal-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-category-link {
  min-height: 200px;
}

.about-overview-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.about-profile-hero {
  padding: 74px 0 36px;
}

.about-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: 42px;
  align-items: center;
}

.about-profile-grid h1 {
  margin: 5px 0 18px;
  color: var(--green-950);
  font-size: 48px;
  line-height: 1.12;
}

.about-profile-grid p {
  color: #476657;
}

.about-profile-grid img {
  width: 100%;
  min-height: 360px;
  max-height: 430px;
  border-radius: var(--radius);
  object-fit: cover;
}

.company-fact-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.company-fact-grid span {
  display: grid;
  min-height: 94px;
  align-content: center;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.company-fact-grid strong {
  color: var(--green-900);
  font-size: 16px;
}

.company-fact-grid small {
  margin-top: 5px;
  color: var(--muted);
}

.sour-plum-hero {
  padding: 52px 0 64px;
  background:
    linear-gradient(115deg, rgba(236, 247, 239, 0.96), rgba(250, 245, 229, 0.8)),
    url("assets/brochure/heritage-street.webp") center / cover;
}

.sour-plum-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.9fr);
  gap: 46px;
  align-items: center;
}

.sour-plum-hero h1 {
  margin: 6px 0 12px;
  color: var(--green-950);
  font-size: 52px;
  line-height: 1.1;
}

.sour-plum-hero .lead {
  color: #795f2a;
  font-size: 20px;
  font-weight: 800;
}

.sour-plum-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sour-plum-collage img {
  width: 100%;
  aspect-ratio: 1;
  padding: 8px;
  border-radius: var(--radius);
  object-fit: contain;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(17, 74, 43, 0.08);
}

.sour-product-groups {
  display: grid;
  gap: 22px;
}

.sour-product-group {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) 240px;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(17, 74, 43, 0.07);
}

.sour-group-intro > span {
  color: var(--green-700);
  font-size: 13px;
  font-weight: 850;
}

.sour-group-intro .english {
  margin: 5px 0 0;
}

.sour-group-intro h2 {
  margin: 3px 0 12px;
  color: var(--green-950);
  font-size: 30px;
}

.sour-group-intro dl {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.sour-group-intro dl div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
}

.sour-group-intro dt {
  color: var(--green-800);
  font-weight: 800;
}

.sour-group-intro dd {
  margin: 0;
  color: var(--muted);
}

.sour-group-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 10px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
}

.compact-product-grid {
  display: grid;
  grid-column: span 2;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.compact-product-inquiry-item {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 8px;
}

.compact-product-inquiry-item .compact-product-link {
  flex: 1 1 auto;
}

.compact-product-inquiry-item .product-add-button {
  min-height: 36px;
  font-size: 12px;
}

.compact-product-link {
  display: grid;
  min-height: 168px;
  grid-template-rows: 108px auto;
  overflow: hidden;
  border: 1px solid rgba(18, 97, 59, 0.1);
  border-radius: 6px;
  color: var(--green-950);
  background: rgba(249, 252, 249, 0.88);
}

.compact-product-link img {
  width: 100%;
  height: 108px;
  padding: 6px;
  object-fit: contain;
}

.compact-product-link span {
  display: grid;
  align-content: center;
  padding: 9px;
}

.compact-product-link strong {
  font-size: 12px;
}

.compact-product-link small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
}

.heritage-section {
  background: rgba(248, 244, 230, 0.46);
}

.heritage-timeline {
  position: relative;
  display: grid;
  gap: 14px;
}

.heritage-intro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 30px;
}

.heritage-intro p {
  margin: 0;
  padding: 18px;
  border-radius: var(--radius);
  color: #476657;
  background: rgba(255, 255, 255, 0.64);
}

.heritage-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 154px;
  width: 1px;
  content: "";
  background: rgba(18, 97, 59, 0.2);
}

.heritage-timeline article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 24px;
  margin-left: 180px;
  padding: 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.heritage-timeline article::before {
  position: absolute;
  top: 30px;
  left: -31px;
  width: 10px;
  height: 10px;
  border: 4px solid #dfeee3;
  border-radius: 50%;
  content: "";
  background: var(--green-800);
}

.heritage-timeline time {
  position: absolute;
  top: 23px;
  right: calc(100% + 48px);
  width: 130px;
  color: var(--green-900);
  font-weight: 850;
  text-align: right;
}

.heritage-timeline h3 {
  margin: 0;
  color: var(--green-950);
}

.heritage-timeline p {
  margin: 8px 0 0;
  color: var(--muted);
}

.heritage-timeline img {
  width: 180px;
  aspect-ratio: 4 / 3;
  padding: 6px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}

.heritage-timeline .image-pending {
  width: 180px;
  min-height: 0;
  aspect-ratio: 4 / 3;
  padding: 12px;
  border-radius: 6px;
}

.process-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.process-layout > article {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.process-layout h3 {
  margin: 0 0 16px;
  color: var(--green-950);
  font-size: 23px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-steps.solid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.process-steps li {
  min-height: 96px;
  padding: 13px;
  border-radius: 5px;
  background: var(--green-50);
  counter-increment: process;
}

.process-steps li::before {
  display: block;
  margin-bottom: 7px;
  content: counter(process, decimal-leading-zero);
  color: var(--green-700);
  font-size: 11px;
  font-weight: 850;
}

.process-steps strong {
  display: block;
  color: var(--green-950);
}

.process-steps small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.process-gallery,
.quality-lab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.process-gallery img,
.quality-lab-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
}

.quality-lab-grid .image-pending {
  min-height: 0;
  aspect-ratio: 4 / 3;
}

.quality-lab-grid article {
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.quality-lab-grid h3 {
  margin: 12px 0 0;
  color: var(--green-950);
}

.quality-lab-grid p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  gap: 18px;
}

.contact-info-panel,
.contact-visual {
  padding: 30px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(17, 74, 43, 0.07);
}

.contact-info-panel h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 29px;
}

.contact-info-panel dl {
  display: grid;
  gap: 0;
  margin: 26px 0 0;
}

.contact-info-panel dl div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid rgba(18, 97, 59, 0.12);
}

.contact-info-panel dt {
  color: var(--green-800);
  font-weight: 800;
}

.contact-info-panel dd {
  margin: 0;
  color: #375448;
}

.contact-info-panel a {
  color: var(--green-900);
}

.rm-us-contact-panel {
  grid-column: 1 / -1;
  border: 1px solid rgba(17, 105, 62, 0.12);
}

.rm-contact-role {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.rm-us-contact-panel .button {
  margin-top: 18px;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border-radius: 6px;
  object-fit: cover;
}

.social-link-placeholders {
  display: grid;
  grid-column: span 2;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.social-link-placeholders a {
  display: grid;
  min-height: 96px;
  place-content: center;
  border: 1px dashed rgba(18, 97, 59, 0.35);
  border-radius: var(--radius);
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.54);
  text-align: center;
}

.social-link-placeholders span {
  font-size: 19px;
  font-weight: 850;
}

.social-link-placeholders small {
  margin-top: 5px;
  color: var(--muted);
}

.platform-contact-panel {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px solid rgba(18, 97, 59, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.platform-panel-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.platform-panel-heading h2 {
  margin: 6px 0 8px;
  font-size: clamp(26px, 3vw, 40px);
}

.platform-panel-heading p:last-child {
  margin: 0;
  color: var(--muted);
}

.platform-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.platform-card {
  display: grid;
  grid-template-rows: 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 12px;
  min-height: 244px;
  padding: 16px;
  border: 1px solid rgba(18, 97, 59, 0.16);
  border-radius: 8px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.platform-card:has(.platform-qr-button):has(.platform-logo) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  column-gap: 12px;
}

.platform-card:has(.platform-qr-button):has(.platform-logo) > .platform-media-link,
.platform-card:has(.platform-qr-button):has(.platform-logo) > .platform-logo {
  grid-column: 1;
  align-self: center;
  justify-self: center;
}

.platform-card:has(.platform-qr-button):has(.platform-logo) > .platform-qr-button {
  grid-column: 2;
  align-self: center;
  justify-self: center;
}

.platform-card:has(.platform-qr-button):has(.platform-logo) > .platform-card-caption {
  grid-column: 1 / -1;
}

.platform-card:hover {
  border-color: rgba(18, 97, 59, 0.32);
  box-shadow: 0 14px 34px rgba(20, 92, 56, 0.1);
  transform: translateY(-1px);
}

.platform-media-link,
.platform-qr-button {
  display: grid;
  width: 100%;
  place-items: center;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.platform-card > .platform-logo,
.platform-card > .platform-qr-button,
.platform-card > .platform-media-link {
  align-self: center;
  justify-self: center;
}

.platform-logo,
.platform-qr {
  width: min(118px, 100%);
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.platform-qr {
  border: 1px solid rgba(18, 97, 59, 0.12);
}

.platform-card-caption {
  display: grid;
  min-height: 82px;
  align-content: start;
  text-align: center;
}

.platform-card strong,
.platform-card span,
.platform-card small {
  display: block;
}

.platform-card strong {
  font-size: 18px;
  line-height: 1.25;
}

.platform-card span {
  margin-top: 6px;
  color: var(--muted);
}

.platform-card small {
  margin-top: 8px;
  color: #6a786f;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.qr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(5, 27, 18, 0.56);
  backdrop-filter: blur(8px);
}

.qr-lightbox[hidden] {
  display: none;
}

.qr-lightbox-dialog {
  position: relative;
  width: min(430px, 92vw);
  padding: 22px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(5, 27, 18, 0.32);
  text-align: center;
}

.qr-lightbox-dialog img {
  width: min(320px, 78vw);
  aspect-ratio: 1;
  object-fit: contain;
}

.qr-lightbox-dialog p {
  margin: 14px 44px 0;
  color: var(--green-950);
  font-weight: 780;
}

.qr-lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--green-950);
  background: var(--green-50);
  border: 1px solid rgba(18, 97, 59, 0.15);
  border-radius: 999px;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-dropdown {
    position: static;
    min-width: 0;
    margin: 0 0 6px 14px;
    padding: 4px;
    border: 0;
    background: var(--green-50);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown::before {
    content: none;
  }

  .site-footer nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .application-mini-grid,
  .certificate-gallery,
  .quality-lab-grid,
  .process-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .split-feature,
  .about-profile-grid,
  .sour-plum-hero-grid,
  .contact-page-grid {
    grid-template-columns: 1fr;
  }

  .system-entry-layout {
    grid-template-columns: 1fr;
  }

  .split-feature.reverse > div {
    order: 0;
  }

  .responsibility-grid {
    grid-template-columns: 1fr;
  }

  .company-fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sour-product-group {
    grid-template-columns: 1fr 190px;
  }

  .compact-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-layout {
    grid-template-columns: 1fr;
  }

  .social-link-placeholders {
    grid-column: span 1;
  }

  .platform-contact-panel {
    padding: 24px;
  }

  .platform-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .application-mini-grid,
  .badge-wall,
  .certificate-gallery,
  .heritage-intro,
  .responsibility-grid,
  .process-gallery,
  .quality-lab-grid,
  .portal-category-grid,
  .about-overview-grid,
  .social-link-placeholders {
    grid-template-columns: 1fr;
  }

  .solution-product-grid,
  .company-fact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-feature {
    padding: 20px;
  }

  .platform-contact-panel {
    padding: 18px;
  }

  .platform-card-grid,
  .platform-card {
    grid-template-columns: 1fr;
  }

  .platform-logo,
  .platform-qr {
    width: min(142px, 100%);
    justify-self: center;
  }

  .platform-card {
    text-align: center;
  }

  .responsibility-grid article {
    grid-template-columns: 1fr;
  }

  .responsibility-grid img {
    height: 210px;
  }

  .about-profile-grid h1,
  .sour-plum-hero h1 {
    font-size: 34px;
  }

  .about-profile-grid img {
    min-height: 240px;
  }

  .sour-product-group {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .sour-group-image {
    max-height: 300px;
  }

  .compact-product-grid {
    grid-column: span 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .heritage-timeline::before {
    left: 7px;
  }

  .heritage-timeline article {
    grid-template-columns: 1fr;
    margin-left: 24px;
  }

  .heritage-timeline article::before {
    left: -22px;
  }

  .heritage-timeline time {
    position: static;
    width: auto;
    text-align: left;
  }

  .heritage-timeline img {
    width: 100%;
  }

  .heritage-timeline .image-pending {
    width: 100%;
  }

  .process-steps,
  .process-steps.solid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-info-panel,
  .contact-visual {
    padding: 20px;
  }

  .contact-info-panel dl div {
    grid-template-columns: 1fr;
    gap: 5px;
  }
}

/* Mobile navigation keeps parent links available and reveals submenus only on demand. */
.nav-dropdown-toggle {
  display: none;
}

@media (max-width: 980px) {
  .site-nav .nav-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    align-items: center;
  }

  .site-nav .nav-parent {
    grid-column: 1;
    grid-row: 1;
  }

  .site-nav .nav-dropdown-toggle {
    display: grid;
    grid-column: 2;
    grid-row: 1;
    width: 36px;
    height: 36px;
    place-items: center;
    justify-self: end;
    padding: 0;
    border: 1px solid rgba(18, 97, 59, 0.16);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.72);
    cursor: pointer;
  }

  .site-nav .nav-dropdown-toggle::before {
    width: 8px;
    height: 8px;
    margin-top: -4px;
    content: "";
    border-right: 1.5px solid var(--green-800);
    border-bottom: 1.5px solid var(--green-800);
    transform: rotate(45deg);
    transition: transform 160ms ease;
  }

  .site-nav .nav-group.is-open .nav-dropdown-toggle::before {
    margin-top: 4px;
    transform: rotate(225deg);
  }

  .site-nav .nav-dropdown {
    display: none;
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .site-nav .nav-group.is-open .nav-dropdown {
    display: grid;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
}

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

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

button {
  font: inherit;
}

.section-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(20px, calc((100vw - 1180px) / 2));
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 231, 221, 0.88);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 28px rgba(17, 74, 43, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 150px;
}

.brand-logo {
  width: 250px;
  height: 50px;
  object-fit: contain;
  object-position: left center;
}

.brand-logo[src$="rm-trading-logo.png"] {
  width: 138px;
  height: 54px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav > a,
.nav-parent {
  display: inline-flex;
  align-items: center;
  height: 42px;
  padding: 0 13px;
  border-radius: 6px;
  color: #2c4639;
  font-size: 14px;
  white-space: nowrap;
}

.site-nav > a:hover,
.nav-parent:hover {
  color: var(--green-900);
  background: var(--green-50);
}

.nav-cta {
  color: var(--white) !important;
  background: var(--green-800);
}

.language-switch {
  min-width: auto;
  padding: 0 9px !important;
  color: var(--green-800) !important;
  border: 1px solid rgba(18, 97, 59, 0.18);
  background: rgba(246, 250, 247, 0.86);
  font-size: 12px !important;
  font-weight: 800;
}

.language-switch:hover {
  border-color: rgba(18, 97, 59, 0.36);
  background: var(--white) !important;
}

.language-toggle {
  display: inline-grid;
  grid-template-columns: repeat(2, 34px);
  align-items: center;
  height: 34px;
  padding: 3px;
  border: 1px solid rgba(18, 97, 59, 0.18);
  border-radius: 6px;
  background: rgba(246, 250, 247, 0.88);
}

.language-toggle a,
.language-toggle span {
  display: grid;
  height: 26px;
  place-items: center;
  border-radius: 4px;
  color: #4b6759;
  font-size: 12px;
  font-weight: 800;
}

.language-toggle a:hover {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.82);
}

.language-toggle span[aria-current="page"] {
  color: var(--white);
  background: var(--green-800);
}

.nav-cta:hover {
  background: var(--green-900) !important;
}

.nav-group {
  position: relative;
}

.nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 230px;
  display: none;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.nav-group:hover .nav-dropdown,
.nav-group:focus-within .nav-dropdown {
  display: grid;
}

.dropdown-label {
  padding: 8px 10px 4px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 850;
}

.nav-dropdown a {
  padding: 8px 10px;
  border-radius: 6px;
  color: #375448;
  font-size: 14px;
}

.nav-dropdown a:hover {
  color: var(--green-950);
  background: var(--green-50);
}

.about-dropdown {
  min-width: 270px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--green-900);
}

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

.site-search-form {
  position: relative;
  width: 150px;
  margin-left: 4px;
}

.site-search-form input {
  width: 100%;
  height: 38px;
  padding: 0 38px 0 12px;
  border: 1px solid rgba(18, 97, 59, 0.18);
  border-radius: 6px;
  outline: none;
  color: var(--green-950);
  background: rgba(246, 250, 247, 0.82);
  font: inherit;
  font-size: 13px;
}

.site-search-form input:focus {
  border-color: var(--green-700);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(22, 130, 76, 0.1);
}

.site-search-submit {
  position: absolute;
  top: 0;
  right: 0;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.site-search-submit::before {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 11px;
  height: 11px;
  content: "";
  border: 2px solid var(--green-800);
  border-radius: 50%;
}

.site-search-submit::after {
  position: absolute;
  top: 22px;
  left: 23px;
  width: 7px;
  height: 2px;
  content: "";
  background: var(--green-800);
  transform: rotate(45deg);
  transform-origin: left center;
}

.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background:
    linear-gradient(138deg, #edf7ef 0%, #c9e4d0 42%, #79b98d 100%),
    var(--green-50);
}

.hero.is-opening::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  background: linear-gradient(138deg, #f5faf6 0%, #dceee1 48%, #9bcaa9 100%);
  pointer-events: none;
  animation: hero-opening-wash 900ms ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0.22) 48%, rgba(13, 62, 41, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(8, 45, 29, 0.1));
  pointer-events: none;
}

.hero.is-opening h1 {
  animation: hero-opening-title 820ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.hero.is-opening .scene-card {
  animation: hero-opening-image 720ms ease-out both;
}

.hero.is-opening .scene-card:nth-child(1) {
  animation-delay: 220ms;
}

.hero.is-opening .scene-card:nth-child(2) {
  animation-delay: 300ms;
}

.hero.is-opening .scene-card:nth-child(3) {
  animation-delay: 380ms;
}

.hero.is-opening .scene-card:nth-child(4) {
  animation-delay: 460ms;
}

.hero.is-opening .scene-card:nth-child(5) {
  animation-delay: 540ms;
}

.hero.is-resetting *,
.hero.is-resetting .hero-scene-deck {
  animation: none !important;
  transition: none !important;
}

.scroll-cue {
  position: fixed;
  bottom: 22px;
  left: 50%;
  z-index: 35;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  color: var(--white);
  background: rgba(8, 45, 29, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(8, 45, 29, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 12px, 0);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
  backdrop-filter: blur(8px);
}

.scroll-cue span {
  font-size: 24px;
  line-height: 1;
}

.scroll-cue.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(-50%, 0, 0);
  animation: scroll-cue-breathe 1600ms ease-in-out infinite;
}

@keyframes scroll-cue-breathe {
  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 5px;
  }
}

@keyframes hero-opening-wash {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes hero-opening-title {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes hero-opening-image {
  0% {
    opacity: 0;
    filter: saturate(0.72);
  }

  100% {
    opacity: 1;
    filter: saturate(1);
  }
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(440px, 0.78fr);
  gap: 40px;
  align-items: center;
  padding: 48px 0 52px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--green-700);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--green-950);
  font-size: 50px;
  line-height: 1.08;
  font-weight: 850;
}

html[lang="en"] #hero-title,
html[lang="en"] .milk-tea-hero-copy h1 {
  font-family: Poppins, "Avenir Next", Avenir, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.hero-title-lead,
.hero-title-reveal {
  display: block;
}

.hero-title-lead {
  white-space: nowrap;
}

.hero-title-reveal {
  opacity: 1;
  transition: opacity 1550ms ease;
}

.hero.is-scene-intro:not(.is-copy-revealing) .hero-title-reveal {
  opacity: 0;
}

@media (min-width: 981px) {
  .hero-scene-deck {
    transform-origin: center center;
    transition: transform 1450ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .hero.is-scene-intro:not(.is-copy-revealing) .hero-scene-deck {
    transform: translate3d(-40%, 0, 0) scale(1.32);
  }
}

.hero-english {
  max-width: 620px;
  margin: 18px 0 0;
  color: var(--green-800);
  font-size: 19px;
  font-weight: 700;
}

.hero-copy {
  max-width: 650px;
  margin: 22px 0 0;
  color: #365747;
  font-size: 18px;
}

.hero-reveal-shell {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 1550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-reveal-copy {
  min-height: 0;
  overflow: hidden;
}

.hero-reveal-copy > * {
  opacity: 0;
  clip-path: inset(0 100% 0 0);
}

.hero.is-copy-revealing .hero-reveal-shell {
  grid-template-rows: 1fr;
}

.hero.is-copy-revealing .hero-reveal-copy .eyebrow {
  animation: hero-type-in 520ms steps(12, end) 80ms forwards;
}

.hero.is-copy-revealing .hero-english {
  animation: hero-type-in 680ms steps(22, end) 240ms forwards;
}

.hero.is-copy-revealing .hero-copy {
  animation: hero-type-in 820ms steps(28, end) 460ms forwards;
}

.hero.is-copy-revealing .hero-actions {
  animation: hero-fade-in 760ms ease 880ms forwards;
}

@keyframes hero-type-in {
  0% {
    opacity: 0;
    clip-path: inset(0 100% 0 0);
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

@keyframes hero-fade-in {
  0% {
    opacity: 0;
    clip-path: inset(0 0 0 0);
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 750;
}

.button.primary {
  color: var(--white);
  background: var(--green-800);
}

.button.primary:hover {
  background: var(--green-900);
}

.button.secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(18, 97, 59, 0.25);
}

.button.secondary:hover {
  border-color: var(--green-800);
}

.button.light.primary {
  color: var(--green-950);
  background: var(--white);
}

.button.light.secondary {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-scene-deck {
  position: relative;
  min-height: 392px;
  pointer-events: none;
}

.scene-stack {
  position: relative;
  height: 342px;
}

.scene-card {
  position: absolute;
  top: 18px;
  left: 0;
  width: calc(100% - 42px);
  height: calc(100% - 18px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
  transform: translate3d(60px, 80px, 0) rotate(4deg) scale(0.88);
  transition:
    top 1450ms cubic-bezier(0.22, 1, 0.36, 1),
    left 1450ms cubic-bezier(0.22, 1, 0.36, 1),
    width 1450ms cubic-bezier(0.22, 1, 0.36, 1),
    height 1450ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 900ms ease,
    transform 1450ms cubic-bezier(0.22, 1, 0.36, 1),
    z-index 1450ms ease;
  opacity: 0.38;
}

.scene-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.scene-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 38%, rgba(8, 45, 29, 0.72));
}

.scene-card[data-offset="0"] {
  z-index: 5;
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
}

.scene-card[data-offset="1"] {
  z-index: 4;
  opacity: 0.86;
  transform: translate3d(38px, 38px, 0) rotate(2deg) scale(0.94);
}

.scene-card[data-offset="2"] {
  z-index: 3;
  opacity: 0.68;
  transform: translate3d(72px, 74px, 0) rotate(4deg) scale(0.88);
}

.scene-card[data-offset="-1"] {
  z-index: 2;
  opacity: 0.72;
  transform: translate3d(-28px, -20px, 0) rotate(-3deg) scale(0.92);
}

.scene-card[data-offset="-2"] {
  z-index: 1;
  opacity: 0.5;
  transform: translate3d(-48px, -42px, 0) rotate(-5deg) scale(0.86);
}

.hero-scene-deck.is-intro .scene-card {
  width: 35%;
  height: 47%;
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.hero-scene-deck.is-intro .scene-card:nth-child(1) {
  z-index: 5;
  top: 0;
  left: 0;
  transform: rotate(-2deg);
}

.hero-scene-deck.is-intro .scene-card:nth-child(2) {
  z-index: 4;
  top: -4px;
  left: 32.5%;
  transform: rotate(1.5deg);
}

.hero-scene-deck.is-intro .scene-card:nth-child(3) {
  z-index: 3;
  top: 2px;
  left: 65%;
  transform: rotate(-1.5deg);
}

.hero-scene-deck.is-intro .scene-card:nth-child(4) {
  z-index: 2;
  top: 53%;
  left: 15%;
  transform: rotate(1.5deg);
}

.hero-scene-deck.is-intro .scene-card:nth-child(5) {
  z-index: 1;
  top: 53%;
  left: 50%;
  transform: rotate(-2deg);
}

.hero-scene-deck.is-intro .scene-caption,
.hero-scene-deck.is-intro .scene-card::after {
  opacity: 0;
}

.scene-caption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  color: var(--white);
  transition: opacity 760ms ease 420ms;
}

.scene-caption span {
  display: inline-flex;
  padding: 5px 9px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 5px;
  font-size: 13px;
  font-weight: 850;
}

.scene-caption p {
  max-width: 360px;
  margin: 10px 0 0;
  color: #eef7ef;
  font-size: 15px;
  line-height: 1.55;
}

.scene-progress {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.scene-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.scene-dots span {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition:
    width 260ms ease,
    background-color 260ms ease;
}

.scene-dots span.is-active {
  width: 24px;
  background: var(--white);
}

.scene-auto-label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .scene-card,
  .scene-caption,
  .scene-dots span {
    transition: none;
  }

  .milk-tea-hero-copy > *,
  .milk-tea-hero-panel {
    animation: none !important;
  }

  .hero-scene-deck.is-intro .scene-card {
    opacity: 0;
  }

  .hero-scene-deck.is-intro .scene-card:first-child {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  }

  .scroll-cue.is-visible {
    animation: none;
  }
}

.scenarios,
.brand-position,
.focus,
.systems,
.product-categories,
.craft,
.long-term,
.contact-band {
  padding: 88px 0;
}

.scenarios,
.product-categories,
.long-term {
  background: var(--green-50);
}

.brand-position,
.systems,
.focus {
  background: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.wide-heading {
  max-width: 880px;
}

.section-heading h2,
.brand-position h2,
.focus h2,
.systems h2,
.craft h2,
.long-term h2,
.contact-band h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 38px;
  line-height: 1.22;
}

.section-heading p,
.brand-position-copy p,
.focus-copy p,
.craft-heading p,
.long-term p,
.contact-band p {
  color: var(--muted);
  font-size: 17px;
}

.scenario-showcase {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.scenario-showcase article,
.keyword-grid article,
.research-grid article,
.system-card,
.category-card,
.capability-grid article,
.quality-panel {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(17, 74, 43, 0.06);
}

.scenario-showcase article {
  min-height: 100%;
}

.scenario-showcase img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.scenario-large {
  grid-column: span 2;
  grid-row: span 2;
}

.scenario-large img {
  height: 486px;
}

.scenario-showcase h3 {
  margin: 18px 18px 8px;
  color: var(--green-950);
  font-size: 21px;
  line-height: 1.25;
}

.scenario-showcase p {
  margin: 0;
  padding: 0 18px 20px;
  color: var(--muted);
  font-size: 15px;
}

.brand-position-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: center;
}

.brand-position-copy p {
  margin: 18px 0 0;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.keyword-grid article,
.capability-grid article {
  padding: 22px;
}

.keyword-grid span,
.capability-grid span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 850;
}

.keyword-grid h3,
.capability-grid h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 22px;
}

.keyword-grid p,
.research-grid p,
.capability-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.focus {
  background: linear-gradient(180deg, var(--white), #f7fbf7);
}

.focus-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 48px;
  align-items: start;
}

.focus-copy p {
  margin: 18px 0 0;
}

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

.research-grid article {
  padding: 22px;
}

.research-grid h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 21px;
}

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

.system-card {
  min-height: 560px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--green-50);
}

.system-card.oat-system {
  background: var(--cream);
  border-color: #eadcb7;
}

.system-copy {
  padding: 30px;
}

.system-number {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 850;
}

.system-copy h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 30px;
  line-height: 1.2;
}

.english {
  margin: 6px 0 14px;
  color: var(--muted);
  font-weight: 750;
}

.system-copy p:not(.english) {
  margin: 0;
  color: #526b5e;
}

.system-links,
.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.system-links {
  margin-top: 20px;
}

.system-links a,
.feature-chips span,
.text-link,
.detail-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(18, 97, 59, 0.16);
  border-radius: 6px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.76);
  font-size: 14px;
  font-weight: 700;
}

.text-link,
.detail-link {
  margin-top: 18px;
  color: var(--white);
  background: var(--green-800);
  border-color: var(--green-800);
}

.text-link:hover,
.detail-link:hover {
  background: var(--green-900);
}

.system-card img {
  align-self: end;
  width: 100%;
  height: 300px;
  object-fit: contain;
  object-position: center bottom;
  padding: 0 24px 22px;
}

.product-series-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 38px;
  margin-bottom: 28px;
}

.product-series-heading .eyebrow {
  margin: 0 0 10px;
}

.product-series-heading h2 {
  max-width: 620px;
}

.product-series-heading > p {
  max-width: 490px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.product-series-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  gap: 30px;
  align-items: stretch;
}

.product-series-image {
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f5eee6;
}

.product-series-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-series-image:hover img {
  transform: scale(1.015);
}

.product-series-links {
  display: grid;
  align-content: stretch;
  border-top: 1px solid var(--line);
}

.product-series-links a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green-950);
}

.product-series-number {
  align-self: start;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 850;
}

.product-series-links strong,
.product-series-links small {
  display: block;
}

.product-series-links strong {
  font-size: 24px;
  line-height: 1.2;
}

.product-series-links small {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.product-series-arrow {
  color: var(--green-700);
  font-size: 26px;
  font-weight: 500;
  transition: transform 0.22s ease;
}

.product-series-links a:hover .product-series-arrow {
  transform: translateX(5px);
}

.category-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.category-card {
  grid-column: span 2;
  display: grid;
  grid-template-rows: 230px 1fr;
}

.category-card:nth-child(4),
.category-card:nth-child(5) {
  grid-column: span 3;
}

.category-card img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 18px;
  background: var(--white);
}

.category-card-body {
  padding: 22px;
  background: var(--white);
}

.category-card h3 {
  margin: 0 0 14px;
  color: var(--green-950);
  font-size: 24px;
  line-height: 1.2;
}

.category-card .english {
  margin-top: 0;
  font-size: 14px;
}

.product-line {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.quote {
  margin: 18px 0 0;
  padding-left: 14px;
  color: var(--green-900);
  border-left: 4px solid var(--green-700);
  font-size: 16px;
  font-weight: 800;
}

.craft {
  background: var(--white);
}

.craft-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 28px;
}

.craft-heading p {
  margin: 0;
}

.quality-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.92fr);
  gap: 16px;
  margin-bottom: 18px;
}

.quality-panel {
  display: grid;
  min-height: 230px;
  grid-template-columns: minmax(190px, 0.72fr) minmax(0, 1fr);
}

.quality-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quality-panel div {
  padding: 22px;
}

.quality-panel h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 24px;
  line-height: 1.22;
}

.quality-panel p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.quality-control {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.quality-control img {
  height: 300px;
}

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

.long-term {
  background: var(--green-900);
  color: var(--white);
}

.long-term-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 56px;
  align-items: center;
}

.long-term .eyebrow {
  color: #ccebd4;
}

.long-term h2 {
  color: var(--white);
}

.long-term p {
  max-width: 760px;
  color: #eaf5ec;
}

.long-term blockquote {
  margin: 0;
  padding: 34px;
  color: var(--green-950);
  background: var(--cream);
  border-radius: var(--radius);
  font-size: 30px;
  line-height: 1.3;
  font-weight: 850;
}

.contact-band {
  background: var(--green-950);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.62fr);
  gap: 44px;
  align-items: center;
}

.contact-band .eyebrow {
  color: #ccebd4;
}

.contact-band h2 {
  color: var(--white);
}

.contact-band p {
  max-width: 760px;
  color: #eaf5ec;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.site-footer {
  padding: 22px 0;
  background: #061f15;
  color: #d8eadb;
  font-size: 14px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.footer-grid p {
  margin: 0;
}

.detail-main,
.portal-main {
  min-height: calc(100vh - var(--header-height));
  padding-bottom: 56px;
  background:
    linear-gradient(155deg, #e7f3e9 0%, #f8fbf8 36%, #ffffff 64%, #e4f1e7 100%);
}

.detail-hero {
  padding: 64px 0 58px;
  background: transparent;
  color: var(--green-950);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--green-800);
  font-size: 14px;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.62fr);
  gap: 42px;
  align-items: center;
}

.detail-hero h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.14;
}

.detail-hero .english,
.detail-hero p {
  color: #476657;
}

.detail-hero .english {
  font-size: 18px;
}

.detail-hero-img {
  display: grid;
  min-height: 286px;
  place-items: center;
  overflow: hidden;
  padding: 18px;
  background: rgba(246, 250, 247, 0.86);
  border-radius: var(--radius);
}

.detail-hero-img img {
  width: 100%;
  height: 260px;
  max-height: 286px;
  object-fit: contain;
}

.detail-section {
  padding: 72px 0;
}

.detail-section.alt {
  background: transparent;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
}

.detail-grid h2,
.product-list-section h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 34px;
  line-height: 1.22;
}

.detail-grid p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 17px;
}

.info-card-grid,
.product-list-grid,
.spec-grid {
  display: grid;
  gap: 16px;
}

.info-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-list-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spec-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.product-card,
.spec-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.06);
}

.product-card {
  display: grid;
  grid-template-rows: 230px 1fr;
  overflow: hidden;
  padding: 0;
}

.product-card-image {
  display: grid;
  place-items: center;
  padding: 14px;
  background: rgba(246, 250, 247, 0.86);
  border-bottom: 1px solid var(--line);
}

.product-card-image img {
  width: 100%;
  height: 202px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.product-card-image:hover img {
  transform: scale(1.035);
}

.product-card-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.product-card-copy > span,
.product-meta-line span {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
}

.product-card-copy h3 {
  margin-top: 6px;
}

.product-card-copy small {
  margin-top: 12px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 750;
}

.info-card h3,
.product-card h3,
.spec-card h3 {
  margin: 0;
  color: var(--green-950);
  font-size: 20px;
  line-height: 1.25;
}

.info-card p,
.product-card p,
.spec-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.product-card .detail-link {
  margin-top: auto;
  padding-top: 16px;
}

.product-detail-visual {
  display: grid;
  min-height: 420px;
  place-items: center;
}

.product-detail-visual img {
  height: 390px;
}

.product-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.product-meta-line span {
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(18, 97, 59, 0.14);
  border-radius: 6px;
}

.product-gallery-section {
  padding: 18px 0 42px;
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading.compact h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 28px;
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.product-gallery-item {
  display: grid;
  aspect-ratio: 1;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  padding: 8px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.product-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.product-gallery-item:hover img {
  transform: scale(1.04);
}

.detail-cta {
  padding: 58px 0;
  background: rgba(18, 97, 59, 0.08);
  color: var(--green-950);
}

.detail-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.4fr);
  gap: 28px;
  align-items: center;
}

.detail-cta h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.detail-cta p {
  margin: 12px 0 0;
  color: #476657;
}

.detail-cta .button.light.secondary {
  color: var(--green-900);
  border-color: rgba(18, 97, 59, 0.24);
}

.detail-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 30px 0 50px;
}

.detail-pagination > div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.detail-pagination a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 14px;
  border-radius: 6px;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(17, 74, 43, 0.07);
  font-size: 14px;
  font-weight: 750;
}

.detail-pagination a.next {
  color: var(--white);
  background: var(--green-800);
}

.portal-hero {
  padding: 78px 0 54px;
}

.portal-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--green-950);
  font-size: 48px;
  line-height: 1.14;
}

.portal-hero > .section-inner > p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: #476657;
  font-size: 18px;
}

.portal-content {
  padding: 24px 0 60px;
}

.scenario-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.scenario-overview-card {
  display: grid;
  min-height: 290px;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 38px rgba(17, 74, 43, 0.08);
}

.scenario-overview-card:last-child {
  grid-column: span 2;
}

.scenario-overview-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scenario-overview-card > div {
  display: grid;
  align-content: center;
  padding: 24px;
}

.scenario-overview-card span,
.portal-system-summary span,
.portal-category-link span,
.about-overview-link span {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 850;
}

.scenario-overview-card h2,
.portal-system-summary h2 {
  margin: 4px 0 0;
  color: var(--green-950);
  font-size: 25px;
  line-height: 1.2;
}

.scenario-overview-card p,
.portal-system-summary p {
  margin: 10px 0 0;
  color: var(--muted);
}

.portal-product-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-system-summary {
  display: grid;
  min-height: 350px;
  grid-template-rows: 210px auto;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 38px rgba(17, 74, 43, 0.08);
}

.portal-system-summary.oat {
  background: rgba(255, 252, 241, 0.76);
}

.portal-system-summary.sour-plum {
  position: relative;
  color: inherit;
  background:
    linear-gradient(180deg, rgba(251, 248, 239, 0.78), rgba(247, 239, 216, 0.94)),
    url("assets/brochure/heritage-street.webp") center / cover;
  border: 1px solid rgba(121, 95, 42, 0.14);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.portal-system-summary.sour-plum:hover {
  border-color: rgba(121, 95, 42, 0.34);
  transform: translateY(-3px);
}

.portal-system-summary.sour-plum img {
  margin: 16px;
  width: calc(100% - 32px);
  height: 178px;
  padding: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.portal-system-summary.sour-plum strong {
  display: inline-flex;
  margin-top: 16px;
  color: var(--green-800);
  font-size: 13px;
}

.portal-system-summary img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  padding: 16px;
}

.portal-system-summary div {
  padding: 22px;
}

.portal-category-grid,
.about-overview-grid {
  display: grid;
  grid-column: span 3;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.portal-category-link,
.about-overview-link {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(50px, auto) minmax(40px, auto);
  min-height: 126px;
  align-content: center;
  padding: 18px 36px 18px 18px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(17, 74, 43, 0.07);
}

.portal-product-layout .portal-category-link {
  min-height: 178px;
  grid-template-rows: minmax(42px, auto) minmax(42px, auto) auto;
  padding-right: 18px;
  border: 1px solid rgba(18, 97, 59, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.06);
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.portal-product-layout .portal-category-link::after {
  content: none;
}

.portal-category-intro {
  grid-column: span 3;
  margin: 4px 0 2px;
}

.portal-category-intro p {
  margin: 0;
  color: var(--green-700);
  font-size: 13px;
  font-weight: 850;
}

.portal-product-layout .portal-category-link strong {
  transition: color 200ms ease, transform 200ms ease;
}

.portal-product-layout .portal-category-link:hover,
.portal-product-layout .portal-category-link:focus-visible {
  border-color: rgba(18, 97, 59, 0.42);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.1);
  transform: translateY(-3px);
}

.portal-product-layout .portal-category-link:hover strong,
.portal-product-layout .portal-category-link:focus-visible strong {
  color: var(--green-700);
  transform: translateX(4px);
}

.portal-product-layout .portal-category-link:active {
  transform: translateY(-1px) scale(0.99);
}

.portal-favorites {
  grid-column: span 3;
  margin-top: 12px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.portal-favorites-heading {
  margin-bottom: 16px;
}

.portal-favorites-heading .eyebrow {
  margin: 0 0 8px;
}

.portal-favorites-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 28px;
}

.portal-favorites-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.portal-favorite-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.portal-favorite-grid a {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 128px;
  padding: 12px;
  border: 1px solid rgba(18, 97, 59, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.06);
  color: var(--green-950);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.portal-favorite-grid a:hover,
.portal-favorite-grid a:focus-visible {
  border-color: rgba(18, 97, 59, 0.42);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.1);
  transform: translateY(-2px);
}

.portal-favorite-grid img {
  width: 104px;
  height: 104px;
  padding: 6px;
  object-fit: contain;
  background: #f6faf7;
  border-radius: 5px;
}

.portal-favorite-grid small,
.portal-favorite-grid strong {
  display: block;
}

.portal-favorite-grid small {
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
}

.portal-favorite-grid strong {
  margin-top: 6px;
  font-size: 15px;
  line-height: 1.3;
  transition: color 180ms ease, transform 180ms ease;
}

.portal-favorite-grid a:hover strong,
.portal-favorite-grid a:focus-visible strong {
  color: var(--green-700);
  transform: translateX(3px);
}

.portal-favorite-grid a:active {
  transform: scale(0.99);
}

.portal-category-link::after,
.about-overview-link::after {
  position: absolute;
  right: 16px;
  top: 50%;
  content: "→";
  color: var(--green-800);
  transform: translateY(-50%);
}

.about-overview-link.is-last::after,
.portal-category-link.is-last::after,
.about-link-grid a:last-child::after {
  content: none;
}

.manufacturer-qualifications-heading {
  margin: 46px 0 20px;
  color: var(--green-950);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
}

.portal-category-link strong,
.about-overview-link strong {
  margin-top: 4px;
  color: var(--green-950);
  font-size: 18px;
  line-height: 1.38;
}

.portal-category-link small,
.about-overview-link small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.62;
}

.home-page .hero-overlay {
  background: transparent;
}

.home-page {
  background:
    linear-gradient(
      180deg,
      #edf7ef 0%,
      #c9e4d0 17%,
      #eef7f0 34%,
      #ffffff 56%,
      #f3f8f3 76%,
      #d4e9d9 100%
    );
}

.home-page main {
  background: transparent;
}

.home-page .hero,
.home-page .systems,
.home-page .brand-position,
.home-page .contact-band {
  background: transparent;
}

.home-page .systems,
.home-page .brand-position {
  padding: 74px 0;
}

.home-page .systems {
  padding-top: 66px;
}

.rm-yitai-relationship {
  position: relative;
  padding: 72px 0 42px;
  background:
    radial-gradient(circle at 18% 22%, rgba(207, 230, 217, 0.62), transparent 34%),
    linear-gradient(180deg, rgba(239, 249, 242, 0.78), rgba(248, 253, 249, 0.36));
}

.rm-yitai-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: 42px;
  align-items: center;
}

.rm-yitai-logo-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(17, 105, 62, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 60px rgba(17, 74, 43, 0.08);
}

.rm-yitai-logo-panel img {
  width: 100%;
  object-fit: contain;
}

.rm-yitai-logo-panel .rm-partner-logo {
  max-height: 60px;
}

.rm-yitai-logo-panel .yitai-partner-logo {
  max-height: 88px;
}

.partner-cross {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
}

.partner-cross::before,
.partner-cross::after {
  position: absolute;
  top: 14px;
  left: 2px;
  width: 26px;
  height: 3px;
  border-radius: 999px;
  content: "";
}

.partner-cross::before {
  background: #151d18;
  transform: rotate(45deg);
}

.partner-cross::after {
  background: #17834c;
  transform: rotate(-45deg);
}

.rm-yitai-copy {
  max-width: 820px;
}

.rm-yitai-copy h2 {
  margin: 10px 0 18px;
  color: #063820;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1.06;
}

.rm-yitai-copy p:not(.eyebrow) {
  color: #557266;
  font-size: 18px;
  line-height: 1.9;
}

.rm-yitai-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.news-main .detail-hero {
  padding-bottom: 48px;
}

.news-list-section {
  padding: 54px 0 92px;
}

.news-grid {
  display: grid;
  gap: 18px;
}

.news-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 34px;
  align-items: center;
  padding: 30px;
  border: 1px solid rgba(18, 97, 59, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 38px rgba(17, 74, 43, 0.07);
}

.news-card.is-pinned {
  border-color: rgba(18, 97, 59, 0.3);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(232, 246, 237, 0.88));
}

.news-card-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 6px 9px;
  border-radius: 4px;
  color: var(--white);
  background: var(--green-800);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.news-card h2 {
  margin: 0;
  color: var(--green-950);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.14;
}

.news-card p {
  margin: 14px 0 0;
  color: #557266;
  font-size: 16px;
  line-height: 1.75;
}

.news-card .hero-actions {
  margin-top: 20px;
}

.news-card-media {
  display: grid;
  min-height: 150px;
  place-items: center;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(246, 250, 247, 0.9);
}

.news-card-media img {
  width: 100%;
  height: 150px;
  padding: 14px;
  object-fit: contain;
}

.compliance-evidence,
.recall-update {
  padding-top: 24px;
}

.compliance-grid,
.recall-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: center;
}

.compliance-copy h2,
.recall-copy h2 {
  margin: 8px 0 16px;
  color: #063820;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.12;
}

.compliance-copy p:not(.eyebrow),
.recall-copy p:not(.eyebrow) {
  color: #557266;
  font-size: 17px;
  line-height: 1.85;
}

.certification-logo-wall,
.recall-preview {
  display: block;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(17, 105, 62, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 22px 60px rgba(17, 74, 43, 0.08);
}

.certification-logo-wall {
  padding: clamp(18px, 3vw, 36px);
}

.certification-logo-wall img {
  width: 100%;
  height: auto;
  display: block;
}

.recall-preview {
  max-height: 520px;
}

.recall-preview img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.home-page .section-heading {
  margin-bottom: 26px;
}

.home-page .system-card {
  min-height: 430px;
  grid-template-rows: auto 180px;
  border: 0;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 48px rgba(17, 74, 43, 0.09);
  backdrop-filter: blur(10px);
}

.home-page .system-card.oat-system {
  border: 0;
  background: rgba(255, 252, 241, 0.76);
}

.home-page .system-copy {
  padding: 24px 26px 12px;
}

.home-page .system-card img {
  height: 180px;
  padding: 0 20px 12px;
  object-fit: contain;
}

.system-category-label {
  margin: 14px 0 0 !important;
  color: var(--green-800) !important;
  font-size: 13px;
  font-weight: 800;
}

.home-page .system-links {
  margin-top: 9px;
}

.home-page .brand-position-grid {
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.about-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.about-link-grid a {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(58px, auto) minmax(44px, auto);
  min-height: 116px;
  align-content: center;
  padding: 20px 42px 20px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 34px rgba(17, 74, 43, 0.07);
  transition:
    transform 180ms ease,
    background-color 180ms ease;
}

.about-link-grid a::after {
  position: absolute;
  right: 18px;
  top: 50%;
  content: "→";
  color: var(--green-800);
  font-size: 20px;
  transform: translateY(-50%);
}

.about-link-grid a:hover {
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-2px);
}

.about-link-grid a:last-child {
  grid-column: span 1;
}

.about-link-grid span {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 850;
}

.about-link-grid strong {
  margin-top: 3px;
  color: var(--green-950);
  font-size: 19px;
  line-height: 1.36;
}

.about-link-grid small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.home-page .contact-band {
  padding: 70px 0 76px;
  color: var(--green-950);
}

.home-page .contact-band .eyebrow {
  color: var(--green-700);
}

.home-page .contact-band h2 {
  color: var(--green-950);
}

.home-page .contact-band p {
  color: #466355;
}

.home-page .button.light.primary {
  color: var(--white);
  background: var(--green-800);
}

.home-page .button.light.secondary {
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.45);
  border-color: rgba(18, 97, 59, 0.24);
}

@media (max-width: 1080px) {
  .site-header {
    padding: 0 20px;
  }

  .site-nav > a,
  .nav-parent {
    padding: 0 9px;
  }

  .language-switch {
    justify-content: center !important;
  }

  .language-toggle {
    justify-self: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 44px;
    margin: 3px 0;
  }

  .language-toggle a,
  .language-toggle span {
    height: 36px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 14px auto 14px;
    display: none;
    max-height: calc(100svh - var(--header-height) - 20px);
    overflow: auto;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
    align-items: stretch;
  }

  .site-search-form {
    order: -1;
    width: 100%;
    margin: 6px 0;
  }

  .site-search-form input {
    height: 44px;
    font-size: 14px;
  }

  .site-search-submit {
    width: 44px;
    height: 44px;
  }

  .site-search-submit::before {
    top: 12px;
    left: 12px;
  }

  .site-search-submit::after {
    top: 24px;
    left: 25px;
  }

  .site-nav > a,
  .nav-parent {
    justify-content: flex-start;
    height: 44px;
    padding: 0 12px;
  }

  .nav-group {
    display: grid;
  }

  .nav-dropdown {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 6px 14px;
    padding: 4px;
    border: 0;
    box-shadow: none;
    background: var(--green-50);
  }

  .hero {
    min-height: auto;
  }

  .hero-grid,
  .brand-position-grid,
  .focus-grid,
  .craft-heading,
  .quality-layout,
  .long-term-grid,
  .contact-grid,
  .detail-hero-grid,
  .detail-grid,
  .detail-cta-grid {
    grid-template-columns: 1fr;
  }

  .hero.is-scene-intro .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero.is-scene-intro h1 {
    max-width: 680px;
  }

  .hero-grid {
    padding: 48px 0 54px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero-scene-deck {
    min-height: 350px;
  }

  .scene-stack {
    height: 306px;
  }

  .scene-card {
    top: 16px;
    left: 0;
    width: calc(100% - 36px);
    height: calc(100% - 16px);
  }

  .scenario-showcase,
  .keyword-grid,
  .research-grid,
  .system-grid,
  .capability-grid,
  .info-card-grid,
  .product-list-grid,
  .spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-panel,
  .quality-control {
    grid-template-columns: minmax(180px, 0.55fr) minmax(0, 1fr);
  }

  .quality-control img {
    height: 100%;
  }

  .scenario-large {
    grid-column: span 2;
  }

  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-card,
  .category-card:nth-child(4),
  .category-card:nth-child(5) {
    grid-column: span 1;
  }

  .home-page .brand-position-grid {
    grid-template-columns: 1fr;
  }

  .rm-yitai-grid {
    grid-template-columns: 1fr;
  }

  .compliance-grid,
  .recall-grid,
  .news-card {
    grid-template-columns: 1fr;
  }

  .about-link-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scenario-overview-grid,
  .portal-product-layout {
    grid-template-columns: 1fr;
  }

  .scenario-overview-card:last-child,
  .portal-category-grid,
  .about-overview-grid,
  .portal-category-intro,
  .portal-favorites {
    grid-column: span 1;
  }

  .portal-category-grid,
  .about-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-page .systems,
  .home-page .brand-position {
    padding: 62px 0;
  }
}

@media (max-width: 640px) {
  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 214px;
    height: 42px;
  }

  .hero-grid {
    gap: 22px;
    padding: 38px 0 72px;
  }

  .home-page .hero {
    min-height: calc(100svh - var(--header-height));
  }

  .scroll-cue {
    bottom: max(18px, env(safe-area-inset-bottom));
    width: 40px;
    height: 40px;
  }

  .home-page .hero-grid {
    min-height: calc(100svh - var(--header-height));
    align-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero-english,
  .hero-copy {
    font-size: 16px;
  }

  .rm-yitai-relationship {
    padding: 52px 0 30px;
  }

  .rm-yitai-logo-panel {
    grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr);
    gap: 10px;
    padding: 26px 12px;
    justify-items: stretch;
    text-align: initial;
  }

  .rm-yitai-logo-panel img {
    width: 100%;
    max-width: none;
  }

  .rm-yitai-logo-panel .rm-partner-logo {
    max-height: 46px;
  }

  .rm-yitai-logo-panel .yitai-partner-logo {
    max-height: 46px;
  }

  .news-card {
    gap: 20px;
    padding: 22px;
  }

  .news-card-media {
    min-height: 120px;
  }

  .rm-yitai-copy h2 {
    font-size: 32px;
  }

  .rm-yitai-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions {
    gap: 8px;
    margin-top: 24px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 0 14px;
    font-size: 14px;
  }

  .scenarios,
  .brand-position,
  .focus,
  .systems,
  .product-categories,
  .craft,
  .long-term,
  .contact-band {
    padding: 58px 0;
  }

  .section-heading h2,
  .brand-position h2,
  .focus h2,
  .systems h2,
  .craft h2,
  .long-term h2,
  .contact-band h2 {
    font-size: 30px;
  }

  .scenario-showcase,
  .keyword-grid,
  .research-grid,
  .system-grid,
  .category-card-grid,
  .capability-grid,
  .info-card-grid,
  .product-list-grid,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 250px 1fr;
  }

  .product-card-image img {
    height: 222px;
  }

  .product-detail-visual {
    min-height: 320px;
  }

  .product-detail-visual img {
    height: 290px;
  }

  .product-gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-scene-deck {
    min-height: 250px;
    transition: min-height 1450ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .scene-stack {
    height: 212px;
    transition: height 1450ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .scene-card {
    top: 10px;
    left: 0;
    width: calc(100% - 26px);
    height: calc(100% - 10px);
  }

  .scene-card[data-offset="1"] {
    transform: translate3d(22px, 24px, 0) rotate(2deg) scale(0.94);
  }

  .scene-card[data-offset="2"] {
    transform: translate3d(40px, 46px, 0) rotate(4deg) scale(0.88);
  }

  .scene-card[data-offset="-1"] {
    transform: translate3d(-18px, -14px, 0) rotate(-3deg) scale(0.92);
  }

  .scene-card[data-offset="-2"] {
    transform: translate3d(-30px, -26px, 0) rotate(-5deg) scale(0.86);
  }

  .scene-caption {
    right: 12px;
    bottom: 11px;
    left: 12px;
  }

  .scene-caption span {
    font-size: 12px;
  }

  .scene-caption p {
    max-width: 300px;
    font-size: 13px;
    line-height: 1.45;
  }

  .scene-progress {
    justify-content: center;
    margin-top: 8px;
  }

  .scene-auto-label {
    display: none;
  }

  .hero-scene-deck.is-intro .scene-card {
    width: 42%;
    height: 43%;
  }

  .hero-scene-deck.is-intro {
    min-height: 470px;
  }

  .hero-scene-deck.is-intro .scene-stack {
    height: 430px;
  }

  .hero-scene-deck.is-intro .scene-card:nth-child(1) {
    transform: rotate(-2deg);
  }

  .hero-scene-deck.is-intro .scene-card:nth-child(2) {
    left: 29%;
    transform: rotate(1.5deg);
  }

  .hero-scene-deck.is-intro .scene-card:nth-child(3) {
    left: 58%;
    transform: rotate(-1.5deg);
  }

  .hero-scene-deck.is-intro .scene-card:nth-child(4) {
    top: 55%;
    left: 8%;
    transform: rotate(1.5deg);
  }

  .hero-scene-deck.is-intro .scene-card:nth-child(5) {
    top: 55%;
    left: 49%;
    transform: rotate(-2deg);
  }

  .scenario-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .scenario-large img,
  .scenario-showcase img {
    height: 240px;
  }

  .system-card {
    min-height: auto;
  }

  .home-page .system-card {
    min-height: auto;
    grid-template-rows: auto 145px;
  }

  .home-page .system-card img {
    height: 145px;
  }

  .home-page .systems,
  .home-page .brand-position {
    padding: 52px 0;
  }

  .about-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-link-grid a:last-child {
    grid-column: span 2;
  }

  .about-link-grid a {
    min-height: 108px;
    padding: 16px 34px 16px 16px;
  }

  .about-link-grid strong {
    font-size: 17px;
  }

  .about-link-grid small {
    font-size: 12px;
  }

  .home-page .contact-band {
    padding: 52px 0 58px;
  }

  .portal-hero {
    padding: 52px 0 34px;
  }

  .portal-hero h1 {
    font-size: 34px;
  }

  .portal-content {
    padding: 18px 0 42px;
  }

  .scenario-overview-card {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .scenario-overview-card img {
    height: 210px;
  }

  .portal-category-grid,
  .about-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-category-link,
  .about-overview-link {
    min-height: 112px;
    padding: 16px 32px 16px 15px;
  }

  .portal-system-summary {
    min-height: 0;
    grid-template-rows: 170px auto;
  }

  .portal-system-summary img {
    height: 170px;
  }

  .detail-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-pagination > div {
    justify-content: stretch;
  }

  .detail-pagination a {
    flex: 1;
    justify-content: center;
  }

  .system-copy,
  .category-card-body,
  .keyword-grid article,
  .capability-grid article {
    padding: 20px;
  }

  .system-card img,
  .category-card img {
    height: 235px;
  }

  .quality-panel,
  .quality-control {
    grid-template-columns: 1fr;
  }

  .quality-panel img,
  .quality-control img {
    height: 220px;
  }

  .detail-hero {
    padding: 46px 0;
  }

  .detail-hero h1 {
    font-size: 34px;
  }

  .detail-section {
    padding: 54px 0;
  }

  .detail-grid h2,
  .product-list-section h2 {
    font-size: 28px;
  }

  .long-term blockquote {
    padding: 24px;
    font-size: 24px;
  }

  .footer-grid {
    display: grid;
  }
}

/* Product discovery and professional inquiry */
.product-search-entry {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding: 11px 14px 11px 18px;
  border: 1px solid rgba(18, 97, 59, 0.2);
  border-radius: 6px;
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(17, 74, 43, 0.06);
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.product-search-entry:hover {
  border-color: rgba(18, 97, 59, 0.42);
  background: var(--white);
}

.product-search-entry span {
  display: grid;
  gap: 3px;
}

.product-search-entry strong {
  font-size: 15px;
}

.product-search-entry small {
  color: var(--muted);
  font-size: 13px;
}

.product-search-entry i,
.site-search-card i {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
}

.product-search-entry i::before,
.site-search-card i::before {
  position: absolute;
  top: 14px;
  right: 5px;
  width: 16px;
  height: 1px;
  content: "";
  background: var(--green-800);
}

.product-search-entry i::after,
.site-search-card i::after {
  position: absolute;
  top: 10px;
  right: 5px;
  width: 8px;
  height: 8px;
  content: "";
  border-top: 1px solid var(--green-800);
  border-right: 1px solid var(--green-800);
  transform: rotate(45deg);
}

.product-search-panel {
  display: grid;
  gap: 15px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(18, 97, 59, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(17, 74, 43, 0.07);
}

.product-search-field {
  display: grid;
  gap: 8px;
}

.product-search-field span {
  color: var(--green-900);
  font-size: 15px;
  font-weight: 850;
}

.product-search-field input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(18, 97, 59, 0.2);
  border-radius: 6px;
  outline: none;
  color: var(--green-950);
  background: var(--white);
  font: inherit;
}

.product-search-field input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(22, 130, 76, 0.12);
}

.product-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-filter-row button,
.product-search-meta button {
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid rgba(18, 97, 59, 0.18);
  border-radius: 6px;
  color: var(--green-900);
  background: rgba(241, 248, 242, 0.9);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
}

.product-filter-row button[aria-pressed="true"] {
  color: var(--white);
  border-color: var(--green-800);
  background: var(--green-800);
}

.product-search-meta {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.product-search-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-search-meta button {
  color: var(--green-800);
  background: var(--white);
}

.product-search-results-section {
  padding: 24px 0 88px;
}

.product-search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-search-card {
  display: grid;
  min-width: 0;
  min-height: 116px;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(18, 97, 59, 0.12);
  border-radius: var(--radius);
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 26px rgba(17, 74, 43, 0.06);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.product-search-card[hidden],
.site-search-card[hidden] {
  display: none !important;
}

/* B2B inquiry tools */
.b2b-product-actions,
.b2b-filter-grid,
.inquiry-list-items,
.b2b-cta-grid { display: grid; gap: 12px; }
.b2b-product-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; }
.b2b-product-actions .button { justify-content: center; }
.category-product-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0 0 28px; }

/* Category pages keep one concise introduction before the product range. */
.category-product-page .detail-hero,
.category-product-page .detail-section:not(.product-list-section),
.category-product-page .detail-cta { display: none; }
.category-product-page .product-list-section { padding-top: 24px; }
.category-product-page .product-list-section > .section-inner > h2,
.category-product-page .product-list-section .section-heading { display: none; }
.category-product-page .oat-product-column-heading .eyebrow,
.category-product-page .oat-product-column-heading > p:last-child { display: none; }
.category-product-page .oat-product-columns { padding-top: 0; }

.category-simple-intro { padding: 64px 0 36px; }
.category-simple-intro .section-inner { max-width: 1180px; }
.category-simple-grid { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.72fr); align-items: center; gap: clamp(28px, 4vw, 58px); }
.category-simple-copy h1 { max-width: 740px; margin: 0; color: var(--green-950); font-size: clamp(38px, 5vw, 62px); line-height: 1.08; }
.category-simple-copy p:not(.eyebrow) { max-width: 720px; margin: 18px 0 26px; color: #476657; font-size: 18px; line-height: 1.6; }
.category-simple-image { display: grid; min-height: clamp(250px, 24vw, 320px); place-items: center; overflow: hidden; border: 1px solid rgba(17, 105, 62, 0.14); border-radius: 8px; background: rgba(255, 255, 255, 0.58); box-shadow: 0 18px 45px rgba(15, 74, 43, 0.08); }
.category-simple-image img { display: block; width: 100%; height: 100%; min-height: inherit; max-height: 340px; object-fit: contain; padding: 12px; }
.product-search-item { display: flex; min-width: 0; flex-direction: column; gap: 8px; }
.product-search-item .product-search-card { height: auto; }
.product-add-button { width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid rgba(17, 105, 62, 0.24); border-radius: 5px; background: rgba(255, 255, 255, 0.94); color: var(--green-800); font: inherit; font-size: 13px; cursor: pointer; }
.product-add-button:hover, .product-add-button:focus-visible { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.b2b-filter-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; }
.b2b-filter-grid label { display: grid; gap: 6px; color: var(--ink-600); font-size: 12px; font-weight: 700; }
.b2b-filter-grid select { min-height: 38px; border: 1px solid rgba(17, 105, 62, 0.2); border-radius: 5px; background: #fff; color: var(--ink-900); font: inherit; padding: 0 9px; }
.inquiry-list { margin: 28px 0; padding: 24px; border: 1px solid rgba(17, 105, 62, 0.16); border-radius: 6px; background: rgba(255, 255, 255, 0.76); }
.inquiry-list h2 { margin: 0 0 16px; font-size: 22px; }
.inquiry-list-items article { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid rgba(17, 105, 62, 0.12); }
.inquiry-list-items article:first-child { border-top: 0; }
.inquiry-list-items p { margin: 4px 0 0; color: var(--ink-600); }
.inquiry-list-items button { min-width: 88px; min-height: 40px; padding: 8px 14px; border: 1px solid rgba(17, 105, 62, 0.34); border-radius: 5px; background: #fff; color: var(--green-800); cursor: pointer; font: inherit; font-weight: 700; }
.inquiry-list-items button:hover, .inquiry-list-items button:focus-visible { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.inquiry-notice { position: fixed; right: 24px; bottom: 24px; z-index: 120; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; max-width: min(560px, calc(100vw - 32px)); padding: 14px; border: 1px solid rgba(17, 105, 62, 0.26); border-radius: 6px; background: rgba(255, 255, 255, 0.97); box-shadow: 0 18px 45px rgba(15, 54, 34, 0.18); color: var(--green-950); }
.inquiry-notice strong { font-size: 14px; }
.inquiry-notice .button { min-height: 36px; padding: 7px 12px; font-size: 13px; white-space: nowrap; }
.form-file-note { color: var(--ink-600); font-size: 13px; }
.b2b-cta-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b2b-cta-grid .button { min-height: 70px; justify-content: center; text-align: center; }
@media (max-width: 760px) { .b2b-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .b2b-cta-grid { grid-template-columns: 1fr; } .category-product-actions { grid-template-columns: 1fr; } .category-simple-intro { padding: 44px 0 16px; } .category-simple-copy h1 { font-size: 36px; } .category-simple-copy p:not(.eyebrow) { font-size: 16px; } .inquiry-list-items article { align-items: flex-start; flex-direction: column; } .inquiry-notice { right: 16px; bottom: 16px; grid-template-columns: 1fr 1fr; } .inquiry-notice strong { grid-column: 1 / -1; } }

@media (max-width: 820px) {
  .category-simple-grid { grid-template-columns: 1fr; }
  .category-simple-image { min-height: 250px; max-width: 620px; }
}

.product-search-card:hover {
  border-color: rgba(18, 97, 59, 0.34);
  transform: translateY(-2px);
}

.product-search-card img {
  width: 104px;
  height: 100px;
  padding: 6px;
  object-fit: contain;
  background: rgba(246, 250, 247, 0.9);
  border-radius: 5px;
}

.oat-product-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.oat-product-column {
  min-width: 0;
}

.oat-product-column + .oat-product-column {
  padding-left: 32px;
  border-left: 1px solid var(--line);
}

.oat-product-column-heading {
  margin-bottom: 18px;
}

.oat-product-column-heading .eyebrow {
  margin: 0 0 8px;
}

.oat-product-column-heading h2 {
  margin: 0;
  color: var(--green-950);
  font-size: 28px;
}

.oat-product-column-heading > p:last-child {
  max-width: 430px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.oat-product-column .product-search-results {
  grid-template-columns: 1fr;
}

@media (max-width: 980px) {
  .oat-product-columns {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .oat-product-column + .oat-product-column {
    padding: 26px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .portal-favorite-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .portal-favorites {
    padding-top: 28px;
  }

  .portal-favorites-heading h2 {
    font-size: 25px;
  }

  .portal-favorite-grid {
    grid-template-columns: 1fr;
  }
}

.product-search-card span {
  display: grid;
  min-width: 0;
}

.product-search-card small {
  color: var(--green-700);
  font-size: 10px;
  font-weight: 800;
}

.product-search-card strong {
  margin-top: 5px;
  overflow-wrap: anywhere;
  font-size: 16px;
  line-height: 1.3;
}

.product-search-card em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.product-search-empty {
  margin: 0;
  padding: 36px 20px;
  color: var(--muted);
  text-align: center;
}

.site-search-page-form {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(18, 97, 59, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 34px rgba(17, 74, 43, 0.07);
}

.site-search-page-form > label {
  color: var(--green-900);
  font-size: 15px;
  font-weight: 850;
}

.site-search-page-form > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.site-search-page-form input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(18, 97, 59, 0.2);
  border-radius: 6px;
  outline: none;
  color: var(--green-950);
  background: var(--white);
  font: inherit;
}

.site-search-page-form input:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(22, 130, 76, 0.12);
}

.site-search-page-form button,
.site-search-show-all {
  min-height: 44px;
  padding: 8px 20px;
  border: 1px solid var(--green-800);
  border-radius: 6px;
  color: var(--white);
  background: var(--green-800);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.site-search-page-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-search-results-section {
  padding: 22px 0 54px;
}

.site-search-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.site-search-card {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 170px;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-content: start;
  gap: 8px 12px;
  padding: 20px;
  border: 1px solid rgba(18, 97, 59, 0.12);
  border-radius: var(--radius);
  color: var(--green-950);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 26px rgba(17, 74, 43, 0.05);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.site-search-card:hover {
  border-color: rgba(18, 97, 59, 0.32);
  transform: translateY(-2px);
}

.site-search-card > span {
  grid-column: 1;
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
}

.site-search-card > strong {
  grid-column: 1;
  overflow-wrap: anywhere;
  font-size: 20px;
  line-height: 1.25;
}

.site-search-card > p {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.site-search-card > i {
  grid-column: 2;
  grid-row: 1 / 3;
}

.site-search-empty {
  margin: 0;
  padding: 42px 20px;
  color: var(--muted);
  text-align: center;
}

.site-search-show-all {
  display: block;
  margin: 22px auto 0;
  color: var(--green-800);
  border-color: rgba(18, 97, 59, 0.2);
  background: rgba(255, 255, 255, 0.82);
}

.sour-plum-category-link {
  border: 1px solid rgba(121, 95, 42, 0.2);
  background:
    linear-gradient(105deg, rgba(249, 246, 234, 0.9), rgba(255, 255, 255, 0.78)),
    url("assets/brochure/heritage-street.webp") center / cover;
}

.section-jump-nav {
  position: sticky;
  top: var(--header-height);
  z-index: 35;
  border-top: 1px solid rgba(18, 97, 59, 0.09);
  border-bottom: 1px solid rgba(18, 97, 59, 0.12);
  background: rgba(246, 250, 247, 0.92);
  box-shadow: 0 8px 22px rgba(17, 74, 43, 0.06);
  backdrop-filter: blur(12px);
}

.section-jump-nav .section-inner {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.section-jump-nav .section-inner::-webkit-scrollbar {
  display: none;
}

.section-jump-nav a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 6px;
  color: #48675a;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.section-jump-nav a:hover,
.section-jump-nav a.is-active {
  color: var(--green-950);
  background: rgba(220, 239, 225, 0.88);
}

.sour-product-group[id],
.heritage-section[id],
#quality-overview,
#quality-process,
#quality-testing,
#quality-site,
#quality-contact {
  scroll-margin-top: calc(var(--header-height) + 74px);
}

.inquiry-section {
  padding: 70px 0;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1.45fr);
  gap: 34px;
  align-items: start;
}

.inquiry-intro {
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.inquiry-intro h2 {
  margin: 5px 0 16px;
  color: var(--green-950);
  font-size: 36px;
  line-height: 1.2;
}

.inquiry-intro > p:not(.eyebrow) {
  color: var(--muted);
}

.inquiry-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.inquiry-points span {
  padding: 7px 10px;
  border-radius: 5px;
  color: var(--green-800);
  background: rgba(220, 239, 225, 0.7);
  font-size: 12px;
  font-weight: 750;
}

.inquiry-form-shell {
  padding: 26px;
  border: 1px solid rgba(18, 97, 59, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(17, 74, 43, 0.07);
}

.inquiry-success {
  margin-bottom: 20px;
  padding: 16px;
  border-left: 4px solid var(--green-700);
  color: var(--green-950);
  background: var(--green-50);
}

.inquiry-success strong {
  font-size: 18px;
}

.inquiry-success p {
  margin: 5px 0 0;
  color: var(--muted);
}

.form-honeypot {
  position: absolute;
  left: -10000px;
}

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

.form-grid label {
  display: grid;
  gap: 7px;
}

.form-grid label > span {
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(18, 97, 59, 0.2);
  border-radius: 6px;
  outline: none;
  color: var(--green-950);
  background: var(--white);
  font: inherit;
}

.form-grid textarea {
  min-height: 126px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(22, 130, 76, 0.1);
}

.form-span-2 {
  grid-column: span 2;
}

.inquiry-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
}

.inquiry-submit-row p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.inquiry-submit-row .button {
  flex: 0 0 auto;
  cursor: pointer;
}

.milk-tea-page {
  --milk-bg: #fff7f1;
  --milk-cream: #fffdf9;
  --milk-coral: #e97670;
  --milk-espresso: #3f261e;
  --milk-rose: #7b514a;
  --milk-line: #efd7cf;
  background:
    radial-gradient(circle at 12% 10%, rgba(244, 195, 172, 0.34), transparent 30%),
    radial-gradient(circle at 88% 22%, rgba(223, 191, 241, 0.28), transparent 28%),
    linear-gradient(180deg, #fff9f3 0%, #fff7f1 42%, #fffdf9 100%);
  color: var(--milk-espresso);
}

.milk-tea-page .eyebrow {
  color: var(--milk-coral);
}

.milk-tea-page .button.primary {
  background: var(--milk-espresso);
  border-color: var(--milk-espresso);
}

.milk-tea-page .button.secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--milk-line);
  color: var(--milk-espresso);
}

.milk-tea-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  padding: 86px 0 72px;
}

.milk-tea-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
}

.milk-tea-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.milk-tea-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 249, 243, 0.94), rgba(255, 249, 243, 0.74) 44%, rgba(255, 249, 243, 0.34));
  pointer-events: none;
}

.milk-tea-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 1.12fr);
  gap: 44px;
  align-items: center;
}

.milk-tea-hero-copy h1 {
  margin: 12px 0 10px;
  max-width: 480px;
  color: var(--milk-espresso);
  font-size: clamp(54px, 5.4vw, 88px);
  line-height: 0.9;
  letter-spacing: 0;
}

.milk-tea-hero-copy > .eyebrow,
.milk-tea-hero-copy h1,
.milk-tea-hero-copy .milk-tea-lead,
.milk-tea-hero-copy > p:not(.eyebrow, .milk-tea-lead),
.milk-tea-hero-copy .hero-actions,
.milk-tea-hero-panel {
  animation: milk-tea-copy-in 820ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.milk-tea-hero-copy > .eyebrow {
  animation-delay: 100ms;
}

.milk-tea-hero-copy h1 {
  animation-delay: 190ms;
}

.milk-tea-hero-copy .milk-tea-lead {
  animation-delay: 300ms;
}

.milk-tea-hero-copy > p:not(.eyebrow, .milk-tea-lead) {
  animation-delay: 410ms;
}

.milk-tea-hero-copy .hero-actions {
  animation-delay: 520ms;
}

.milk-tea-hero-panel {
  animation-name: milk-tea-panel-in;
  animation-delay: 250ms;
}

@keyframes milk-tea-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes milk-tea-panel-in {
  from {
    opacity: 0;
    transform: translateX(28px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.milk-tea-lead {
  margin: 0 0 22px;
  color: var(--milk-coral);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
}

.milk-tea-hero-copy > p:not(.eyebrow, .milk-tea-lead) {
  max-width: 640px;
  color: var(--milk-rose);
  font-size: 18px;
  line-height: 1.9;
}

.milk-tea-hero-panel {
  overflow: hidden;
  border: 1px solid rgba(239, 215, 207, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 34px 88px rgba(80, 45, 35, 0.18);
}

.milk-tea-hero-panel img {
  display: block;
  width: 100%;
  height: min(68vh, 640px);
  object-fit: cover;
  object-position: center 58%;
}

.milk-tea-section {
  padding: 78px 0;
}

.milk-tea-lifestyle {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
  gap: 42px;
  align-items: end;
}

.milk-tea-lifestyle-image {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 28px 72px rgba(80, 45, 35, 0.14);
}

.milk-tea-lifestyle-image img {
  display: block;
  width: 100%;
  height: min(56vw, 620px);
  min-height: 360px;
  object-fit: cover;
}

.milk-tea-lifestyle h2,
.milk-tea-cta h2 {
  margin: 14px 0 16px;
  color: var(--milk-espresso);
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.milk-tea-lifestyle p:not(.eyebrow),
.milk-tea-cta p {
  color: var(--milk-rose);
  font-size: 17px;
  line-height: 1.85;
}

.milk-tea-flavors {
  background: rgba(255, 255, 255, 0.5);
}

.milk-tea-flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.milk-tea-flavor-card {
  display: grid;
  align-content: start;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(93, 49, 42, 0.12);
  border-radius: 8px;
  background: var(--card-bg);
  box-shadow: 0 16px 36px rgba(80, 45, 35, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.milk-tea-flavor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(80, 45, 35, 0.13);
}

.milk-tea-flavor-image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.24);
}

.milk-tea-flavor-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}

.milk-tea-flavor-body { display: flex; min-height: 316px; flex-direction: column; padding: 22px 22px 24px; }

.milk-tea-flavor-body > span {
  display: inline-flex;
  margin-top: 0;
  color: var(--milk-coral);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.milk-tea-flavor-body h3 {
  margin: 8px 0 8px;
  color: var(--milk-espresso);
  font-size: clamp(24px, 3vw, 36px);
}

.milk-tea-flavor-body p {
  margin: 0;
  color: var(--milk-rose);
  line-height: 1.75;
}

.milk-tea-flavor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
}

.milk-tea-flavor-actions .button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  white-space: nowrap;
  font-size: 13px;
  justify-content: center;
}

.milk-tea-flavor-amazon,
.milk-tea-flavor-inquiry {
  border-color: rgba(93, 49, 42, 0.22);
  color: var(--milk-espresso);
}

.milk-tea-flavor-amazon:hover,
.milk-tea-flavor-inquiry:hover {
  border-color: var(--milk-coral);
  color: var(--milk-espresso);
}

.milk-tea-ingredient-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.milk-tea-ingredient-grid article {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: 22px;
  background: var(--milk-espresso);
  color: white;
}

.milk-tea-ingredient-grid img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
}

.milk-tea-ingredient-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(63, 38, 30, 0.72));
}

.milk-tea-ingredient-grid span,
.milk-tea-ingredient-grid h3 {
  position: relative;
  z-index: 1;
}

.milk-tea-ingredient-grid span {
  display: block;
  margin: 250px 18px 8px;
  color: #ffe7e2;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.milk-tea-ingredient-grid h3 {
  margin: 0 18px 20px;
  color: white;
  font-size: 24px;
}

.milk-tea-cta {
  padding: 82px 0;
  background: linear-gradient(135deg, #3f261e, #7b514a);
  color: white;
}

.milk-tea-cta .section-inner {
  max-width: 920px;
  text-align: center;
}

.milk-tea-cta h2,
.milk-tea-cta p {
  color: white;
}

.milk-tea-cta .hero-actions {
  justify-content: center;
}

.milk-tea-cta .button.primary {
  background: white;
  border-color: white;
  color: var(--milk-espresso);
}

.milk-tea-cta .button.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.44);
  color: white;
}

@media (max-width: 1100px) {
  .product-search-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .milk-tea-hero-grid,
  .milk-tea-lifestyle {
    grid-template-columns: 1fr;
  }

  .milk-tea-flavor-grid,
  .milk-tea-ingredient-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-simple-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  }

  .milk-tea-flavor-card:nth-child(n + 2) {
    padding-top: 0;
  }
}

@media (max-width: 980px) {
  .product-search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-search-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-jump-nav .section-inner {
    justify-content: flex-start;
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
  }

  .inquiry-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .product-search-entry {
    min-height: 68px;
    margin-top: 22px;
  }

  .product-search-entry small {
    font-size: 12px;
  }

  .product-search-panel {
    margin-top: 22px;
    padding: 15px;
  }

  .product-search-field input {
    height: 48px;
    font-size: 14px;
  }

  .product-filter-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-search-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .product-search-results-section {
    padding: 16px 0 36px;
  }

  .product-search-results {
    grid-template-columns: 1fr;
  }

  .product-search-card {
    min-height: 106px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .product-search-card img {
    width: 88px;
    height: 84px;
  }

  .site-search-page-form {
    margin-top: 22px;
    padding: 15px;
  }

  .site-search-page-form > div {
    grid-template-columns: 1fr;
  }

  .site-search-page-form input {
    height: 48px;
    font-size: 14px;
  }

  .site-search-results {
    grid-template-columns: 1fr;
  }

  .site-search-card {
    min-height: 150px;
  }

  .section-jump-nav .section-inner {
    min-height: 52px;
  }

  .section-jump-nav a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .inquiry-section {
    padding: 52px 0;
  }

  .inquiry-intro h2 {
    font-size: 30px;
  }

  .inquiry-form-shell {
    padding: 18px;
  }

  .milk-tea-hero {
    min-height: auto;
    padding: 54px 0 46px;
  }

  .milk-tea-hero-panel img {
    height: 420px;
  }

  .milk-tea-section {
    padding: 52px 0;
  }

  .milk-tea-flavor-grid,
  .milk-tea-ingredient-grid {
    grid-template-columns: 1fr;
  }

  .category-simple-grid {
    grid-template-columns: 1fr;
  }

  .category-simple-image {
    min-height: 250px;
    max-width: 620px;
  }

  .milk-tea-flavor-image img {
    height: 100%;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-span-2 {
    grid-column: span 1;
  }

  .inquiry-submit-row {
    align-items: stretch;
    flex-direction: column;
  }

  .inquiry-submit-row .button {
    justify-content: center;
  }
}

@media (max-width: 980px) {
  .product-series-heading {
    display: block;
  }

  .product-series-heading > p {
    margin-top: 16px;
  }

  .product-series-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-series-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .product-series-links a {
    min-height: 96px;
  }
}

@media (max-width: 640px) {
  .product-series-heading {
    margin-bottom: 22px;
  }

  .product-series-heading > p {
    font-size: 15px;
  }

  .product-series-image img {
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .product-series-links a {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    min-height: 0;
    padding: 16px 0;
  }

  .product-series-links strong {
    font-size: 20px;
  }

  .product-series-links small {
    font-size: 13px;
  }
}

/* Keep mobile parent links as direct destinations; the adjacent chevron alone expands a submenu. */
@media (max-width: 980px) {
  .site-nav .nav-dropdown,
  .site-nav .nav-group:hover .nav-dropdown,
  .site-nav .nav-group:focus-within .nav-dropdown {
    display: none;
  }

  .site-nav .nav-group.is-open .nav-dropdown,
  .site-nav .nav-group.is-open:hover .nav-dropdown,
  .site-nav .nav-group.is-open:focus-within .nav-dropdown {
    display: grid;
  }
}

/* Detail navigation reserves the left edge for the previous page and the right edge for the next page. */
.detail-pagination > div {
  width: 100%;
  justify-content: space-between;
}

@media (max-width: 980px) {
  .detail-pagination > div {
    width: 100%;
    justify-content: space-between;
  }
}

/* A quiet page-entry cue for every secondary page. The home hero and MilkTea Collection keep their own motion systems. */
@media (prefers-reduced-motion: no-preference) {
  body:not(.home-page) .portal-hero .section-inner > .eyebrow {
    animation: page-hero-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) 100ms both;
  }

  body:not(.home-page) .portal-hero .section-inner > h1 {
    animation: page-hero-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) 190ms both;
  }

  body:not(.home-page) .portal-hero .section-inner > p:not(.eyebrow) {
    animation: page-hero-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) 300ms both;
  }

  body:not(.home-page) .detail-hero .breadcrumb,
  body:not(.home-page) .detail-hero .top-pagination {
    animation: page-hero-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) 100ms both;
  }

  body:not(.home-page) .detail-hero-grid > div:first-child,
  body:not(.home-page) .sour-plum-hero-grid > div:first-child,
  body:not(.home-page) .about-profile-grid > div {
    animation: page-hero-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) 190ms both;
  }

  body:not(.home-page) .detail-hero-img,
  body:not(.home-page) .sour-plum-collage,
  body:not(.home-page) .about-profile-grid > img {
    animation: page-hero-image-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) 250ms both;
  }

  body:not(.home-page) .about-profile-hero .company-fact-grid {
    animation: page-hero-enter 820ms cubic-bezier(0.22, 1, 0.36, 1) 410ms both;
  }
}

@keyframes page-hero-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-hero-image-enter {
  from {
    opacity: 0;
    transform: translate3d(28px, 0, 0) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

/* 2026 hierarchy rebuild: corporate identity, capability proof, B2B paths and direct sales */
.hierarchy-page {
  color: var(--ink);
  background: #f7faf8;
}

.hierarchy-page .site-header {
  padding-inline: clamp(18px, 2.2vw, 42px);
}

.hierarchy-page .brand-logo,
.hierarchy-nav ~ .brand-logo {
  object-fit: contain;
}

.hierarchy-nav {
  gap: clamp(8px, 1vw, 18px);
}

.hierarchy-nav > a,
.hierarchy-nav .nav-parent {
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.hierarchy-nav .nav-dropdown {
  min-width: 240px;
  padding: 10px;
}

.hierarchy-nav .nav-dropdown a {
  padding: 10px 12px;
  font-size: 12px;
  line-height: 1.35;
}

.hierarchy-nav .shop-nav-group > .nav-parent {
  padding: 9px 13px;
  border: 1px solid rgba(14, 95, 62, 0.48);
  border-radius: 6px;
}

.hierarchy-nav .hierarchy-cta {
  padding: 11px 14px;
  font-size: 11px;
  text-align: center;
}

.hierarchy-page .section-inner {
  width: min(1180px, calc(100% - 48px));
}

.enterprise-home-hero {
  position: relative;
  min-height: min(760px, calc(100svh - 38px));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: var(--hero-image) center 54% / cover no-repeat;
}

.enterprise-home-shade,
.hierarchy-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 26, 18, 0.65);
}

.enterprise-home-copy {
  position: relative;
  z-index: 1;
  max-width: 980px;
  padding-block: clamp(132px, 18vh, 220px) clamp(72px, 10vh, 110px);
}

.enterprise-home-copy .eyebrow,
.hierarchy-hero.has-image .eyebrow {
  color: #d7eadf;
}

.enterprise-home-copy h1 {
  max-width: 940px;
  margin: 14px 0 24px;
  color: #fff;
  font-size: clamp(46px, 6.5vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.enterprise-home-copy .hero-lead {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.65;
}

.enterprise-philosophy {
  margin: 20px 0 0;
  color: #fff;
  font-size: 14px;
  font-weight: 750;
}

.hierarchy-hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}

.text-action {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--green-800);
  font-weight: 750;
}

.text-action.light {
  color: #fff;
}

.identity-band {
  color: #fff;
  background: #123e30;
}

.identity-band-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.identity-band-grid > div {
  min-height: 116px;
  padding: 26px 26px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.identity-band-grid > div:last-child {
  border-right: 0;
}

.identity-band-grid span {
  display: block;
  margin-bottom: 8px;
  color: #a9cab9;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.identity-band-grid strong {
  color: #fff;
  font-size: 15px;
  line-height: 1.5;
}

.hierarchy-section {
  padding: clamp(72px, 9vw, 122px) 0;
}

.hierarchy-section + .hierarchy-section {
  border-top: 0;
}

.hierarchy-section:nth-of-type(even) {
  background: #eef4f0;
}

.hierarchy-heading {
  max-width: 830px;
  margin-bottom: 42px;
}

.hierarchy-heading h2 {
  margin: 10px 0 14px;
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
}

.hierarchy-heading > p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hierarchy-card-grid {
  display: grid;
  gap: 16px;
}

.hierarchy-card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hierarchy-card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hierarchy-card-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hierarchy-link-card,
.document-card {
  position: relative;
  min-height: 242px;
  display: flex;
  flex-direction: column;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #c9dcd0;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.hierarchy-link-card:hover,
.hierarchy-link-card:focus-visible,
.document-card:hover,
.document-card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--green-700);
  box-shadow: 0 18px 38px rgba(13, 62, 41, 0.12);
}

.hierarchy-link-card > span,
.document-card > span {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hierarchy-link-card strong,
.document-card strong {
  margin-top: 22px;
  font-size: 25px;
  line-height: 1.18;
}

.hierarchy-link-card p {
  margin: 12px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hierarchy-link-card i,
.document-card i {
  margin-top: auto;
  color: var(--green-700);
  font-style: normal;
  font-weight: 800;
}

.capability-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.capability-proof-grid article {
  background: #fff;
}

.capability-proof-grid img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.capability-proof-grid article > span,
.capability-proof-grid article > h3,
.capability-proof-grid article > a {
  display: block;
  margin-inline: 24px;
}

.capability-proof-grid article > span {
  margin-top: 22px;
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.capability-proof-grid h3 {
  min-height: 72px;
  margin-top: 8px;
  font-size: 21px;
  line-height: 1.35;
}

.capability-proof-grid a {
  margin-top: 20px;
  padding-bottom: 26px;
  color: var(--green-700);
  font-weight: 800;
}

.relationship-section {
  color: #fff;
  background: #173f32 !important;
}

.relationship-section h2,
.relationship-section h3,
.relationship-section strong {
  color: #fff;
}

.relationship-section p {
  color: #d5e3db;
}

.relationship-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

.relationship-layout > div:first-child > h2 {
  font-size: clamp(36px, 4.5vw, 60px);
  line-height: 1.08;
}

.partner-role-list {
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.partner-role-list.horizontal {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 36px;
}

.partner-role-list article {
  padding: 30px;
  background: #214c3e;
}

.partner-role-list strong {
  display: block;
  margin-bottom: 10px;
  font-size: 20px;
}

.partner-role-list p {
  margin: 0;
  line-height: 1.65;
}

.process-steps {
  display: grid;
  gap: 1px;
  margin-top: 38px;
  background: #cbdcd1;
}

.process-steps.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-steps article {
  min-height: 220px;
  padding: 28px;
  background: #fff;
}

.process-steps article > span {
  color: var(--green-700);
  font-size: 12px;
  font-weight: 800;
}

.process-steps h3 {
  margin: 34px 0 10px;
  font-size: 20px;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.purchase-path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.split-heading-row {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-end;
}

.split-heading-row .hierarchy-heading {
  margin-bottom: 0;
}

.hierarchy-hero {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ink);
  background: #e5eee8;
}

.hierarchy-hero.has-image {
  color: #fff;
  background: var(--hero-image) center / cover no-repeat;
}

.hierarchy-hero:not(.has-image) .hierarchy-hero-overlay {
  display: none;
}

.hierarchy-hero-content {
  position: relative;
  z-index: 1;
  padding-block: 160px 72px;
}

.hierarchy-hero-content h1 {
  max-width: 980px;
  margin: 10px 0 18px;
  color: inherit;
  font-size: clamp(46px, 6vw, 80px);
  line-height: 1;
  letter-spacing: 0;
}

.hierarchy-hero-content > p:not(.eyebrow) {
  max-width: 800px;
  margin: 0;
  color: inherit;
  font-size: 18px;
  line-height: 1.7;
  opacity: 0.9;
}

.two-column-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #b9cfc1;
}

.fact-list > div {
  min-height: 150px;
  padding: 24px 10px 24px 0;
  border-bottom: 1px solid #b9cfc1;
}

.fact-list > div:nth-child(odd) {
  border-right: 1px solid #b9cfc1;
}

.fact-list > div:nth-child(even) {
  padding-left: 24px;
}

.fact-list span {
  color: var(--green-700);
  font-size: 22px;
  font-weight: 800;
}

.fact-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.image-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.image-story-grid > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.manufacturing-module.reverse .image-story-grid > img {
  order: 2;
}

.value-grid,
.contact-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: #cbdcd1;
}

.value-grid article,
.contact-team-grid article {
  padding: 34px;
  background: #fff;
}

.value-grid h3 {
  font-size: 22px;
}

.value-grid p,
.contact-team-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-team-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-capability-list > .section-inner {
  display: grid;
  gap: 0;
}

.product-capability-list article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(42px, 7vw, 92px);
  padding: 62px 0;
  border-bottom: 1px solid #bed2c5;
}

.product-capability-list article:first-child {
  padding-top: 0;
}

.product-capability-list article > div:first-child > span {
  color: var(--green-700);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-capability-list h2 {
  margin: 14px 0;
  font-size: clamp(32px, 4vw, 52px);
}

.product-capability-list p {
  max-width: 700px;
  color: var(--muted);
  line-height: 1.7;
}

.product-capability-list ul,
.capability-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
  padding: 0;
  list-style: none;
}

.product-capability-list li,
.capability-check-list li {
  position: relative;
  padding-left: 18px;
  line-height: 1.55;
}

.product-capability-list li::before,
.capability-check-list li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-700);
  content: "";
}

.capability-links {
  display: grid;
  align-content: start;
  border-top: 1px solid #9fbbaa;
}

.capability-links a {
  padding: 16px 4px;
  border-bottom: 1px solid #c9dcd0;
  color: var(--green-800);
  font-weight: 750;
}

.solution-pill-grid,
.news-topic-row,
.contact-type-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 34px;
}

.solution-pill-grid span,
.news-topic-row span,
.contact-type-list span {
  padding: 12px 16px;
  border: 1px solid #bcd1c3;
  border-radius: 6px;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
}

.capability-check-list {
  margin-top: 26px;
}

.development-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  overflow: hidden;
  background: #c6d8cc;
  list-style: none;
}

.development-timeline li {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  background: #fff;
  font-weight: 750;
}

.development-timeline span {
  color: var(--green-700);
  font-size: 12px;
}

.document-card {
  min-height: 220px;
}

.document-card.priority {
  color: #fff;
  border-color: #173f32;
  background: #173f32;
}

.document-card.priority span,
.document-card.priority i {
  color: #cce4d7;
}

.shop-principles {
  background: #e7edf2 !important;
}

.hierarchy-page .inquiry-section {
  padding-block: clamp(72px, 9vw, 120px);
}

.hierarchy-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, minmax(130px, 1fr));
  gap: clamp(28px, 4vw, 60px);
  align-items: start;
  padding-block: 58px 42px;
}

.footer-brand-block img {
  width: 122px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.footer-brand-block p {
  max-width: 320px;
  color: var(--muted);
  line-height: 1.6;
}

.hierarchy-footer-grid nav {
  display: grid;
  justify-content: stretch;
  gap: 10px;
}

.hierarchy-footer-grid nav strong {
  margin-bottom: 6px;
  font-size: 13px;
}

.hierarchy-footer-grid nav a {
  color: var(--muted);
  font-size: 13px;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px 28px;
  border-top: 1px solid #cbdad1;
  color: var(--muted);
  font-size: 12px;
}

.footer-legal-row nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (prefers-reduced-motion: no-preference) {
  .hierarchy-hero-content > *,
  .enterprise-home-copy > * {
    animation: hierarchy-enter 1080ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .hierarchy-hero-content > :nth-child(2),
  .enterprise-home-copy > :nth-child(2) {
    animation-delay: 120ms;
  }

  .hierarchy-hero-content > :nth-child(3),
  .enterprise-home-copy > :nth-child(3) {
    animation-delay: 240ms;
  }

  .hierarchy-hero-content > :nth-child(n + 4),
  .enterprise-home-copy > :nth-child(n + 4) {
    animation-delay: 360ms;
  }
}

@keyframes hierarchy-enter {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .hierarchy-nav {
    gap: 7px;
  }

  .hierarchy-nav > a,
  .hierarchy-nav .nav-parent {
    font-size: 10.5px;
  }

  .hierarchy-nav .hierarchy-cta {
    max-width: 110px;
    padding-inline: 9px;
    font-size: 9.5px;
  }
}

@media (max-width: 980px) {
  .hierarchy-page .section-inner {
    width: min(100% - 32px, 760px);
  }

  .hierarchy-nav {
    gap: 0;
  }

  .hierarchy-nav > a,
  .hierarchy-nav .nav-parent {
    font-size: 15px;
  }

  .hierarchy-nav .nav-group {
    display: grid;
    grid-template-columns: 1fr 44px;
    align-items: center;
  }

  .hierarchy-nav .nav-dropdown {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .hierarchy-nav .shop-nav-group > .nav-parent {
    padding: 14px 0;
    border: 0;
  }

  .hierarchy-nav .hierarchy-cta {
    max-width: none;
    font-size: 13px;
  }

  .enterprise-home-hero {
    min-height: 760px;
    background-position: 58% center;
  }

  .enterprise-home-copy h1 {
    font-size: clamp(42px, 11vw, 68px);
  }

  .identity-band-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .identity-band-grid > div:nth-child(2) {
    border-right: 0;
  }

  .identity-band-grid > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hierarchy-card-grid.three,
  .hierarchy-card-grid.four,
  .capability-proof-grid,
  .purchase-path-grid,
  .process-steps.four,
  .development-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .relationship-layout,
  .two-column-story,
  .image-story-grid,
  .product-capability-list article {
    grid-template-columns: 1fr;
  }

  .manufacturing-module.reverse .image-story-grid > img {
    order: 0;
  }

  .partner-role-list.horizontal,
  .value-grid,
  .contact-team-grid {
    grid-template-columns: 1fr;
  }

  .split-heading-row {
    display: grid;
    align-items: start;
  }

  .hierarchy-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand-block {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .enterprise-home-hero {
    min-height: 790px;
  }

  .enterprise-home-copy {
    padding-block: 124px 56px;
  }

  .enterprise-home-copy h1 {
    font-size: 42px;
    line-height: 1.02;
  }

  .enterprise-home-copy .hero-lead {
    font-size: 16px;
    line-height: 1.6;
  }

  .hierarchy-hero {
    min-height: 520px;
  }

  .hierarchy-hero-content {
    padding-block: 132px 52px;
  }

  .hierarchy-hero-content h1 {
    font-size: 43px;
  }

  .hierarchy-hero-actions .button,
  .hierarchy-hero-actions .text-action {
    width: 100%;
    justify-content: center;
  }

  .identity-band-grid,
  .hierarchy-card-grid.two,
  .hierarchy-card-grid.three,
  .hierarchy-card-grid.four,
  .capability-proof-grid,
  .purchase-path-grid,
  .process-steps.four,
  .development-timeline,
  .fact-list {
    grid-template-columns: 1fr;
  }

  .identity-band-grid > div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .hierarchy-link-card {
    min-height: 210px;
  }

  .process-steps article {
    min-height: 180px;
  }

  .fact-list > div:nth-child(odd) {
    border-right: 0;
  }

  .fact-list > div:nth-child(even) {
    padding-left: 0;
  }

  .product-capability-list ul,
  .capability-check-list {
    grid-template-columns: 1fr;
  }

  .image-story-grid > img {
    aspect-ratio: 16 / 11;
  }

  .hierarchy-footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand-block {
    grid-column: auto;
  }

  .footer-legal-row {
    display: grid;
  }
}
