@font-face {
  font-family: "Acme";
  src: url("assets/font/Acme-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Milonga";
  src: url("assets/font/Milonga-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/font/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Poppins";
  src: url("assets/font/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #ed1f32;
  --deep-red: #c8102e;
  --green: #0f735f;
  --cream: #f4e7c8;
  --hero-cream: #ead8ad;
  --paper: #fffdf8;
  --soft: #f5f5f0;
  --ink: #171717;
  --wordmark-font: "Acme", sans-serif;
  --brand-font: "Acme", sans-serif;
  --body-font: "Poppins", sans-serif;
}

/* Content pages */
.about-history-page {
  --about-header-height: 104px;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: clip;
  overflow-y: visible;
  padding: calc(var(--about-header-height) + clamp(88px, 6vw, 115px)) 0 0;
  background-color: #f3ecdc;
  color: var(--ink);
  text-align: center;
}

.about-history-page::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: var(--about-pattern);
  background-position: center top;
  background-size: 860px auto;
  opacity: 0.3;
  content: "";
  pointer-events: none;
}

.about-journey-shell {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 96px));
  margin: 0 auto;
}

.about-history-page .section-title {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(46px, 3.5vw, 64px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-journey-list {
  position: relative;
  margin-top: 22px;
}

.about-journey-connector {
  position: absolute;
  z-index: 0;
  top: calc(50% + 108px);
  left: 50%;
  width: min(900px, 66vw);
  height: auto;
  display: block;
  opacity: 0.7;
  pointer-events: none;
  transform: translateX(-50%) scaleX(1.28);
}

#sejarah-1 .about-journey-connector {
  top: calc(50% + 60px);
  width: min(980px, 72vw);
}

#sejarah-3 .about-journey-connector {
  top: calc(50% + 112px);
  transform: translateX(-50%) scaleX(1.28) rotate(3deg);
}

.about-journey-step {
  position: relative;
  z-index: 1;
  min-height: clamp(470px, 27vw, 520px);
  display: grid;
  grid-template-columns: 480px minmax(0, 1fr);
  gap: 0;
  align-items: center;
}

.about-journey-step:first-of-type {
  min-height: 400px;
}

.about-journey-step:nth-of-type(even) {
  grid-template-columns: minmax(0, 1fr) 480px;
}

.about-journey-step:nth-of-type(even) .about-journey-media {
  grid-column: 2;
  grid-row: 1;
}

.about-journey-step:nth-of-type(even) .about-journey-copy {
  grid-column: 1;
  grid-row: 1;
}

.about-journey-media {
  position: relative;
  z-index: 2;
  width: min(420px, 100%);
  aspect-ratio: 1;
  margin: 0;
  justify-self: end;
}

@keyframes aboutJourneyPulse {
  0%, 100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.035);
  }
}

.about-journey-step.is-visible.is-reading .about-journey-media {
  animation: aboutJourneyPulse 3s ease-in-out infinite;
}

.about-journey-step:nth-of-type(even) .about-journey-media {
  justify-self: start;
}

.about-journey-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 82%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
}

.about-journey-image {
  position: absolute;
  top: 48%;
  left: 50.1%;
  width: 141.2%;
  height: auto;
  max-width: none;
  display: block;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

#sejarah-2 .about-journey-image {
  top: 49.85%;
  left: 48.2%;
}

#sejarah-3 .about-journey-image {
  top: 51.4%;
  left: 49.45%;
  width: 134.6%;
}

#sejarah-4 .about-journey-image {
  top: 53.65%;
  left: 52.5%;
  width: 171.4%;
}

#sejarah-5 .about-journey-image {
  top: 51.5%;
  left: 48.65%;
  width: 133.7%;
}

@keyframes aboutHistoryScrollBounce {
  0%, 55%, 85%, 100% {
    transform: translateY(0) scale(1);
  }

  35% {
    transform: translateY(22px) scale(1.1);
  }

  70% {
    transform: translateY(11px) scale(1.05);
  }
}

.about-journey-number {
  position: absolute;
  z-index: 5;
  top: 14.645%;
  right: 14.645%;
  width: clamp(54px, 3.6vw, 68px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(23px, 1.55vw, 29px);
  font-weight: 600;
  line-height: 1;
  transform: translate(50%, -50%);
}

.about-journey-step:nth-of-type(even) .about-journey-number {
  right: auto;
  left: 14.645%;
  transform: translate(-50%, -50%);
}

.about-journey-copy {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: center;
  padding: 48px clamp(24px, 1.7vw, 32px) 46px;
}

.about-journey-copy h2 {
  max-width: 850px;
  margin: 0 auto 16px;
  color: var(--red);
  font-family: "Milonga", serif;
  font-size: clamp(26px, 2vw, 36px);
  font-weight: 400;
  line-height: 1.28;
}

.about-journey-copy p {
  max-width: 860px;
  margin: 0 auto;
  font-family: "Poppins", sans-serif;
  font-size: clamp(15px, 1.08vw, 21px);
  font-weight: 400;
  line-height: 1.52;
}

.about-journey-tagline {
  position: relative;
  isolation: isolate;
  min-height: clamp(400px, 50svh, 500px);
  margin: clamp(82px, 7vw, 132px) 0 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #e9ddbd;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.about-journey-tagline::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(244, 231, 200, 0.34);
  content: "";
}

.about-journey-tagline-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
}

.about-journey-tagline-copy {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 36px 24px;
}

.about-journey-tagline-line {
  display: block;
  font-size: clamp(36px, 2.6vw, 50px);
}

.about-journey-tagline-line--emphasis {
  margin-top: 0.18em;
  font-size: clamp(48px, 3.5vw, 68px);
}

@media (min-width: 1025px) {
  #sejarah-1 .about-journey-copy,
  #sejarah-3 .about-journey-copy,
  #sejarah-5 .about-journey-copy {
    left: clamp(-96px, -6vw, -64px);
  }

  #sejarah-1 .about-journey-media {
    top: 24px;
    left: 20px;
  }

  #sejarah-1 .about-journey-copy {
    top: 24px;
  }

}

@media (max-width: 1024px) {
  .about-history-page {
    --about-header-height: 92px;
    padding-top: calc(var(--about-header-height) + 64px);
  }

  .about-journey-shell {
    width: min(920px, calc(100% - 48px));
  }

  .about-journey-step,
  .about-journey-step:nth-of-type(even) {
    min-height: 420px;
    grid-template-columns: minmax(240px, 310px) minmax(0, 1fr);
    gap: 34px;
  }

  .about-journey-step:nth-of-type(even) {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 310px);
  }

  .about-journey-media {
    width: min(330px, 100%);
  }

  .about-journey-copy {
    min-height: 190px;
    padding: 36px 34px;
  }

  .about-journey-copy h2 {
    font-size: clamp(24px, 2.9vw, 30px);
  }

  .about-journey-copy p {
    font-size: clamp(13px, 1.6vw, 16px);
  }
}

@media (max-width: 767px) {
  .about-history-body .site-footer {
    display: none;
  }

  .about-history-page {
    --about-header-height: 78px;
    padding: calc(var(--about-header-height) + 44px) 0 0;
  }

  .about-history-page::before {
    background-size: 620px auto;
  }

  .about-journey-shell {
    width: min(560px, calc(100% - 32px));
  }

  .about-history-page .section-title {
    font-size: clamp(34px, 9vw, 40px);
    line-height: 1.1;
    letter-spacing: 0.065em;
  }

  .about-journey-list {
    margin-top: 32px;
  }

  .about-journey-connector {
    display: none;
  }

  .about-journey-step,
  .about-journey-step:nth-of-type(even) {
    min-height: 0;
    margin-bottom: 76px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-journey-step:last-child {
    margin-bottom: 0;
  }

  .about-journey-step:nth-of-type(even) .about-journey-media,
  .about-journey-step:nth-of-type(even) .about-journey-copy,
  .about-journey-media,
  .about-journey-copy {
    grid-column: 1;
    grid-row: auto;
  }

  .about-journey-media {
    width: min(360px, 88vw);
    justify-self: center;
  }

  .about-journey-step:nth-of-type(even) .about-journey-media {
    justify-self: center;
  }

  .about-journey-number,
  .about-journey-step:nth-of-type(even) .about-journey-number {
    right: 14.645%;
    left: auto;
    transform: translate(50%, -50%);
  }

  .about-journey-copy {
    min-height: 174px;
    padding: 0 24px 32px;
  }

  .about-journey-copy h2 {
    margin-bottom: 11px;
    font-size: clamp(24px, 6.4vw, 29px);
  }

  .about-journey-copy p {
    font-size: clamp(13px, 3.75vw, 15px);
    line-height: 1.48;
  }

  .about-journey-tagline {
    margin-top: 84px;
    min-height: 220px;
  }

  .about-journey-tagline-copy {
    padding-inline: 16px;
  }

  .about-journey-tagline-line {
    font-size: clamp(23px, 6vw, 29px);
  }

  .about-journey-tagline-line--emphasis {
    font-size: clamp(27px, 7.5vw, 32px);
    letter-spacing: 0.04em;
  }
}

@media (max-width: 420px) {
  .about-journey-media {
    width: min(320px, 86vw);
  }

  .about-journey-number {
    width: 48px;
    font-size: 21px;
  }
}

.content-page {
  background: #fffdf8;
  color: var(--green-dark, #0b5e49);
}

.content-shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.content-hero {
  padding: 148px 0 56px;
  background: #f3ecdd var(--hero-pattern-image, none) center / cover;
  text-align: center;
}

.content-kicker {
  margin: 0 0 12px;
  color: #ed1f32;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-hero h1 {
  margin: 0 auto;
  max-width: 820px;
  color: #0f735f;
  font-family: var(--brand-font);
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
}

.content-hero p:not(.content-kicker) {
  max-width: 720px;
  margin: 22px auto 0;
  color: #584d43;
  font-size: 18px;
  line-height: 1.7;
}

.content-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 34px 0 4px;
}

.content-filter-row span,
.content-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: #edf7f3;
  color: #0f735f;
  font-size: 13px;
  font-weight: 800;
}

.content-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 34px 0 96px;
}

.content-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(15, 115, 95, 0.16);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(55, 43, 30, 0.08);
}

.content-card-image {
  display: grid;
  min-height: 230px;
  place-items: center;
  background: #f8f2e7;
}

.content-card-image img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  padding: 22px;
}

.content-card-body {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.content-card h2,
.content-static h2,
.detail-copy h2 {
  margin: 0;
  color: #0f735f;
  font-size: 24px;
  line-height: 1.16;
}

.content-card p,
.content-static p,
.detail-copy p,
.content-faq p {
  margin: 0;
  color: #675b4f;
  line-height: 1.7;
}

.content-card small {
  color: #a35d28;
  font-weight: 800;
}

.content-static,
.content-faq,
.content-contact,
.detail-layout {
  padding: 56px 0 96px;
}

.content-lead {
  max-width: 800px;
  font-size: 18px;
}

.content-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.content-list article,
.content-faq details {
  border: 1px solid rgba(15, 115, 95, 0.16);
  border-radius: 16px;
  background: #fff;
  padding: 22px;
}

.content-faq {
  display: grid;
  gap: 14px;
}

.content-faq summary {
  cursor: pointer;
  color: #0f735f;
  font-size: 20px;
  font-weight: 800;
}

.content-faq p {
  margin-top: 14px;
}

.content-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.content-contact h2 {
  margin: 0 0 16px;
  color: #0f735f;
  font-size: 34px;
  line-height: 1.1;
}

.content-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 18px;
  background: #f8f2e7;
}

.content-form label {
  display: grid;
  gap: 6px;
  color: #0f735f;
  font-weight: 800;
}

.content-form input,
.content-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #e2d5bc;
  border-radius: 10px;
  background: #fff;
}

.content-form textarea {
  min-height: 120px;
}

.content-form button,
.content-back-link {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #ed1f32;
  color: #fff;
  font-weight: 800;
}

.detail-layout {
  display: block;
}

.detail-image {
  aspect-ratio: 16 / 7;
  overflow: hidden;
  border-radius: 24px;
  background: #f8f2e7;
}

.detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.detail-image + .detail-copy {
  margin-top: 44px;
}

.detail-copy {
  display: grid;
  align-content: start;
  gap: 16px;
}

.detail-copy ul {
  margin: 0;
  padding-left: 20px;
  color: #675b4f;
  line-height: 1.7;
}

.content-back-link {
  justify-self: start;
  margin-top: 10px;
}

@media (max-width: 900px) {
  .content-card-grid,
  .content-list,
  .content-contact,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .content-hero {
    padding-top: 118px;
  }
}

@media (max-width: 560px) {
  .content-shell {
    width: min(100% - 28px, 1120px);
  }

  .content-card-grid {
    gap: 16px;
  }

  .detail-image {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
  }

  .content-card-image,
  .content-card-image img {
    min-height: 190px;
    height: 190px;
  }
}

/* Article detail */
.article-detail-page {
  --article-detail-header-height: 104px;
  min-height: 100vh;
  padding-top: var(--article-detail-header-height);
  background: #fcf8ef;
  color: var(--ink);
}

.article-detail-page,
.article-detail-page * {
  box-sizing: border-box;
}

.article-detail-shell {
  width: min(1400px, calc(100% - 64px));
  margin: 0 auto;
}

.article-detail-header {
  padding: 168px 0 25px;
}

.article-detail-header h1 {
  max-width: 880px;
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(50px, 3.4vw, 64px);
  font-weight: 400;
  line-height: 1.09;
  text-wrap: balance;
}

.article-detail-meta {
  margin: 18px 0 0;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(340px, 410px);
  gap: 90px;
  align-items: start;
}

.article-detail-main {
  min-width: 0;
}

.article-detail-media {
  position: relative;
  aspect-ratio: 960 / 505;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #d8c9a8;
}

.article-detail-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.article-detail-copy {
  margin-top: 56px;
  color: #171717;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.6;
}

.article-detail-copy p,
.article-detail-copy h2,
.article-detail-copy ul {
  margin: 0 0 32px;
}

.article-detail-copy h2 {
  color: #171717;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.5;
}

.article-detail-copy .article-detail-lead {
  margin-bottom: 48px;
  font-weight: 600;
}

.article-detail-copy ul {
  padding-left: 24px;
}

.article-detail-copy li + li {
  margin-top: 8px;
}

.article-related {
  position: sticky;
  top: calc(var(--article-detail-header-height) + 40px);
  min-width: 0;
}

.article-related > h2 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(30px, 2.25vw, 38px);
  font-weight: 400;
  line-height: 1;
}

.article-related-list {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.article-related-item {
  min-width: 0;
}

.article-related-item a {
  position: relative;
  min-height: 96px;
  padding: 14px 16px 12px 30px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background: #fff;
  color: #171717;
  font-family: "Poppins", sans-serif;
}

.article-related-item a::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 13px;
  width: 4px;
  border-radius: 999px;
  background: var(--red);
  content: "";
}

.article-related-name {
  min-width: 0;
  display: block;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}

.article-related-cta {
  min-width: 100px;
  min-height: 27px;
  margin-top: 9px;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-related-item a:hover .article-related-cta,
.article-related-item a:focus-visible .article-related-cta {
  background: var(--deep-red);
  transform: translateY(-2px);
}

.article-related-item a:focus-visible,
.article-detail-actions a:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.35);
  outline-offset: 5px;
}

.article-detail-actions {
  padding: 92px 0 138px;
  display: flex;
  justify-content: center;
}

.article-detail-actions a {
  min-width: 202px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

@media (min-width: 1500px) {
  .article-detail-layout {
    width: 1490px;
    grid-template-columns: 880px 500px;
    gap: 110px;
  }
}

@media (max-width: 1280px) {
  .article-detail-page {
    --article-detail-header-height: 92px;
  }

  .article-detail-shell {
    width: min(1160px, calc(100% - 56px));
  }

  .article-detail-layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 340px);
    gap: 54px;
  }

  .article-related-item a {
    min-height: 96px;
  }
}

@media (max-width: 900px) {
  .article-detail-header {
    padding-top: 92px;
  }

  .article-detail-layout {
    grid-template-columns: 1fr;
    gap: 76px;
  }

  .article-related {
    position: static;
  }

  .article-related-list {
    gap: 18px;
  }

  .article-related-item a {
    height: 100%;
  }
}

@media (max-width: 767px) {
  .article-detail-page {
    --article-detail-header-height: clamp(48px, 12vw, 88px);
  }

  .article-detail-header {
    padding: 64px 0 28px;
  }

  .article-detail-header h1 {
    font-size: clamp(36px, 10.5vw, 46px);
    line-height: 1.1;
  }

  .article-detail-meta {
    margin-top: 22px;
    font-size: 13px;
  }

  .article-detail-media {
    border-radius: 18px;
  }

  .article-detail-copy {
    margin-top: 38px;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  .article-detail-copy p,
  .article-detail-copy h2,
  .article-detail-copy ul {
    margin-bottom: 25px;
  }

  .article-detail-copy h2 {
    font-size: 15px;
  }

  .article-related > h2 {
    font-size: 30px;
  }

  .article-related-list {
    margin-top: 18px;
    gap: 14px;
  }

  .article-related-item {
    padding-left: 0;
  }

  .article-related-item a {
    min-height: 84px;
    padding: 13px 14px 11px 28px;
  }

  .article-related-name {
    font-size: 13px;
  }

  .article-related-cta {
    min-width: 90px;
    min-height: 26px;
    padding-inline: 12px;
    font-size: 9px;
  }

  .article-detail-actions {
    padding: 66px 0 92px;
  }

  .article-detail-actions a {
    min-width: 164px;
    min-height: 48px;
    font-size: 13px;
  }
}

/* Product detail */
.product-detail-page {
  min-height: 760px;
  padding-top: 104px;
  color: var(--ink);
  background-color: #f8f2e3;
  background-image:
    linear-gradient(rgba(248, 242, 227, 0.9), rgba(248, 242, 227, 0.9)),
    var(--product-detail-pattern);
  background-position: center;
  background-size: auto, 720px auto;
}

.product-detail-shell {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 96px;
}

.product-detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #987746;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-detail-breadcrumb a:hover {
  color: var(--red);
}

.product-detail-layout {
  margin-top: 88px;
  display: grid;
  grid-template-columns: 355px minmax(0, 1fr);
  align-items: start;
  gap: 54px;
}

.product-detail-visual {
  position: relative;
  width: 100%;
  height: 395px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 32px;
  background: #fffdf8;
}

.product-detail-visual img {
  width: auto;
  height: auto;
  max-width: 68%;
  max-height: 65%;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.product-detail-visual img.is-compact {
  transform: scale(var(--product-compact-scale, 0.9));
}

.product-detail-visual img.is-slightly-compact {
  transform: scale(0.95);
}

.product-detail-visual img.is-bulk {
  transform: scale(1.1);
}

.product-detail-visual img.is-bulk-50 {
  transform: scale(1.2);
}

.product-detail-visual img.is-size-scaled {
  transform: scale(var(--product-size-scale, 1));
}

.product-detail-size-badge {
  position: absolute;
  z-index: 1;
  top: 38px;
  left: 43px;
  width: max-content;
  min-width: 78px;
  max-width: calc(100% - 86px);
  height: 78px;
  padding: 0 14px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.product-detail-placeholder {
  width: 142px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(237, 31, 50, 0.42);
  border-radius: 28px;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: 38px;
}

.product-detail-copy {
  min-width: 0;
}

.product-detail-category {
  min-width: 120px;
  min-height: 44px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.product-detail-copy h1 {
  margin: 30px 0 14px;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(38px, 3.2vw, 50px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: 0.04em;
}

.product-detail-copy > p {
  max-width: 650px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.product-detail-suitable {
  display: block;
  margin-top: 12px;
}

.product-detail-sizes {
  margin-top: 96px;
}

.product-detail-sizes h2 {
  margin: 0 0 12px;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 600;
}

.product-detail-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.product-detail-size-list button {
  min-width: 92px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: #ead8ad;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.product-detail-size-list button.is-active {
  background: var(--red);
  color: #fff;
}

.product-detail-breadcrumb a:focus-visible,
.product-detail-size-list button:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.62);
  outline-offset: 4px;
}

@media (max-width: 1024px) {
  .product-detail-page {
    padding-top: 92px;
  }

  .product-detail-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 38px;
  }

  .product-detail-visual {
    height: 370px;
  }
}

.product-detail-gallery,
.product-detail-mobile-info,
.product-detail-related,
.product-detail-size-label-mobile {
  display: none;
}

@media (max-width: 767px) {
  .product-detail-page {
    min-height: 0;
    padding-top: clamp(48px, 12vw, 88px);
    background: #f3ecdc;
  }

  .product-detail-shell {
    width: 100%;
    padding: 0;
  }

  .product-detail-breadcrumb {
    display: none;
  }

  .product-detail-layout {
    margin-top: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-detail-visual {
    width: 100%;
    height: clamp(245px, 76vw, 500px);
    margin: 0 auto;
    border-radius: 0;
    background: transparent;
    touch-action: pan-y;
  }

  .product-detail-visual img {
    max-width: 62%;
    max-height: 70%;
  }

  .product-detail-size-badge {
    top: 14%;
    left: 25%;
    width: clamp(52px, 15.5vw, 86px);
    min-width: 0;
    max-width: none;
    height: auto;
    aspect-ratio: 1;
    padding: 4px;
    font-size: clamp(13px, 3.6vw, 22px);
  }

  .product-detail-gallery {
    position: absolute;
    bottom: 16px;
    left: 10%;
    right: 10%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-detail-gallery button {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .product-detail-gallery button::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d7d7d2;
  }

  .product-detail-gallery button[aria-pressed="true"]::after {
    background: var(--red);
  }

  .product-detail-copy {
    display: flex;
    flex-direction: column;
    padding: clamp(30px, 8.5vw, 60px) 10.5% clamp(40px, 11.5vw, 80px);
    border-radius: clamp(32px, 8.5vw, 60px) clamp(32px, 8.5vw, 60px) 0 0;
    background: #fffdf8;
  }

  .product-detail-category,
  .product-detail-copy > p,
  .product-detail-size-label-desktop {
    display: none;
  }

  .product-detail-copy h1 {
    margin: 20px 0 14px;
    font-size: clamp(21px, 5.7vw, 36px);
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .product-detail-mobile-info,
  .product-detail-size-label-mobile {
    display: block;
  }

  .product-detail-mobile-info details + details {
    margin-top: 12px;
  }

  .product-detail-mobile-info summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 24px;
    border-bottom: 1px solid #ded7c8;
    font: 600 clamp(12px, 3.1vw, 20px) / 1.35 var(--body-font);
    list-style: none;
    cursor: pointer;
  }

  .product-detail-mobile-info summary::-webkit-details-marker {
    display: none;
  }

  .product-detail-mobile-info summary img {
    width: 10px;
    height: 10px;
    object-fit: contain;
    filter: brightness(0);
    transform: none;
  }

  .product-detail-mobile-info details[open] summary img {
    transform: rotate(90deg);
  }

  .product-detail-mobile-info p {
    margin: 6px 0 0;
    font: 400 clamp(12px, 3vw, 20px) / 1.45 var(--body-font);
  }

  .product-detail-sizes {
    order: -1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 0;
  }

  .product-detail-sizes h2 {
    margin: 0;
    font-size: clamp(10px, 2.6vw, 17px);
    font-style: normal;
    font-weight: 400;
  }

  .product-detail-size-list {
    gap: 8px;
  }

  .product-detail-size-list button {
    min-width: 46px;
    min-height: 24px;
    padding: 3px 10px;
    font-size: clamp(10px, 2.5vw, 16px);
    font-weight: 400;
    background: #f3ecdc;
  }

  .product-detail-related {
    display: block;
    margin-top: 20px;
  }

  .product-detail-related-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .product-detail-related-heading h2 {
    margin: 0;
    font: 600 clamp(12px, 3.1vw, 20px) / 1.35 var(--body-font);
  }

  .product-detail-related-heading > a {
    flex-shrink: 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--red);
    color: #fff;
    font-size: clamp(8px, 2vw, 13px);
    font-weight: 600;
  }

  .product-detail-related .product-detail-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 3vw, 20px);
    margin-top: 16px;
  }

  .product-detail-related .mobile-catalog-card {
    box-shadow: 0 3px 18px rgba(39, 27, 18, 0.05);
  }

  .product-detail-related .mobile-catalog-card:nth-child(n + 3) {
    display: none;
  }

  .product-detail-related .mobile-catalog-product-image {
    aspect-ratio: 1.1;
  }

  .product-detail-related .mobile-catalog-card h2 {
    font-size: clamp(10px, 2.8vw, 18px);
    min-height: clamp(34px, 9vw, 62px);
  }

  .product-detail-related .mobile-catalog-card h2 .is-long {
    font-size: clamp(9px, 2.5vw, 16px);
  }

  .product-detail-gallery button:focus-visible,
  .product-detail-mobile-info summary:focus-visible,
  .product-detail-related-heading > a:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
  }
}

/* Product category page */
.product-catalog-page {
  padding: 104px 0 clamp(88px, 8vw, 128px);
  background-color: #f8f2e3;
  background-image:
    linear-gradient(rgba(248, 242, 227, 0.9), rgba(248, 242, 227, 0.9)),
    var(--product-catalog-pattern);
  background-position: center;
  background-size: auto, 720px auto;
  color: var(--ink);
}

.product-catalog-shell {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
}

.product-catalog-page h1 {
  margin: 0;
  padding-top: clamp(72px, 6.5vw, 100px);
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(38px, 3.4vw, 52px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.product-catalog-intro {
  max-width: 760px;
  margin: 18px auto 0;
  color: #625b50;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

.product-catalog-banner {
  min-height: clamp(230px, 20vw, 280px);
  margin-top: clamp(36px, 3.4vw, 50px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background-color: #eee6d7;
  background-image: var(--product-catalog-banner);
  background-position: center;
  background-size: cover;
}

.product-catalog-banner-copy {
  width: min(54%, 600px);
  padding: 38px 60px;
}

.product-catalog-banner h2 {
  max-width: 520px;
  margin: 0;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: clamp(14px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 1.35;
}

@media (min-width: 768px) {
  .product-catalog-banner h2 {
    white-space: nowrap;
  }
}

.product-catalog-cta {
  width: max-content;
  min-width: 186px;
  min-height: 54px;
  margin-top: 18px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.product-catalog-cta img {
  width: 22px;
  height: auto;
}

.product-category-grid {
  margin-top: clamp(54px, 5vw, 72px);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 38px 34px;
  scroll-margin-top: 128px;
}

.product-category-card {
  min-width: 0;
  min-height: 266px;
  padding: 50px 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.92);
  text-align: center;
  transition: background-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-category-card:hover {
    background: #ead8b7;
  }
}

.product-category-icon {
  width: 112px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.product-category-icon img,
.product-category-icon img.is-loaded {
  width: 110%;
  max-width: none;
  height: auto;
  opacity: 1;
}

.product-category-icon.is-placeholder {
  overflow: hidden;
  border-radius: 50%;
  background: var(--red);
}

.product-category-icon.is-placeholder::before {
  content: "";
  width: 42px;
  height: 46px;
  border: 3px solid #fff;
  border-radius: 8px 8px 12px 12px;
  box-shadow: inset 0 8px 0 -5px #fff;
}

.product-category-card h2 {
  max-width: 82px;
  margin: 0;
  color: var(--red);
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.2;
}

@media (max-width: 1024px) {
  .product-catalog-page {
    padding-top: 92px;
  }

  .product-catalog-banner-copy {
    width: 58%;
    padding: 32px 42px;
  }

  .product-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .product-catalog-page {
    padding-top: clamp(48px, 12vw, 88px);
    padding-bottom: 72px;
    background-size: auto, 560px auto;
  }

  .product-catalog-shell {
    width: min(1100px, calc(100% - 32px));
  }

  .product-catalog-page h1 {
    padding-top: 44px;
    font-size: clamp(30px, 9vw, 40px);
    letter-spacing: 0.1em;
  }

  .product-catalog-banner {
    min-height: 230px;
    margin-top: 30px;
    align-items: flex-end;
    border-radius: 22px;
    background-position: 64% center;
  }

  .product-catalog-banner-copy {
    position: relative;
    width: 100%;
    padding: 72px 24px 24px;
    background: linear-gradient(0deg, rgba(248, 242, 227, 0.96), rgba(248, 242, 227, 0));
  }

  .product-catalog-banner h2 {
    max-width: 290px;
    font-size: 17px;
  }

  .product-catalog-cta {
    min-width: 156px;
    min-height: 46px;
    padding: 0 22px;
    font-size: 14px;
  }

  .product-catalog-cta img {
    width: 18px;
  }

  .product-category-grid {
    margin-top: 36px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    scroll-margin-top: 90px;
  }

  .product-category-card {
    min-height: 208px;
    padding: 26px 12px 20px;
    gap: 13px;
    border-radius: 24px;
  }

  .product-category-icon {
    width: clamp(82px, 25vw, 104px);
  }

  .product-category-card h2 {
    font-size: 16px;
  }
}

.mobile-product-catalog {
  display: none;
}

@media (max-width: 767px) {
  .product-catalog-page {
    --mobile-catalog-header-height: clamp(48px, 12vw, 88px);
    padding: 0;
    background: #f5efdf;
  }

  .product-catalog-page > .product-catalog-shell {
    display: none;
  }

  .mobile-product-catalog {
    display: block;
    padding-bottom: 48px;
  }

  .mobile-catalog-hero {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: calc(100vw * 1175 / 1902);
    padding-top: var(--mobile-catalog-header-height);
    background:
      linear-gradient(90deg, rgba(250, 240, 226, 0.94), rgba(250, 240, 226, 0.82) 36%, transparent 64%),
      #f5ead8 url("assets/products/catalog/banner-mobile-expanded.webp") right center / cover no-repeat;
  }

  .mobile-catalog-hero-copy {
    align-self: flex-start;
    width: 45%;
    margin: 2% 0 0 7%;
  }

  .mobile-catalog-hero h1 {
    margin: 0;
    padding: 0;
    font-family: var(--brand-font);
    font-size: clamp(20px, 6.2vw, 42px);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-align: left;
    white-space: nowrap;
  }

  .mobile-catalog-hero-copy p {
    max-width: 26ch;
    margin: 8px 0 0;
    color: #694327;
    font-size: clamp(11px, 3.2vw, 22px);
    line-height: 1.4;
  }

  .mobile-catalog-hero .product-catalog-cta {
    width: 24.25vw;
    max-width: 100%;
    min-width: 0;
    min-height: clamp(24px, 5.7vw, 44px);
    margin-top: clamp(8px, 2.5vw, 18px);
    margin-bottom: 8px;
    padding: 5px 4px;
    font-size: clamp(10px, 2.5vw, 16px);
    line-height: 1.2;
  }

  .mobile-catalog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: clamp(18px, 5.3vw, 38px);
    width: 84%;
    margin: clamp(24px, 7.7vw, 52px) auto 0;
    scroll-margin-top: calc(var(--mobile-catalog-header-height) + 16px);
  }

  .mobile-catalog-toolbar {
    display: grid;
    grid-template-columns: minmax(112px, 30%) minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 4.5vw, 32px);
  }

  .mobile-catalog-toolbar .recipe-select,
  .mobile-catalog-toolbar .recipe-search {
    min-width: 0;
    height: clamp(36px, 8.3vw, 64px);
  }

  .mobile-catalog-toolbar .recipe-select :is(select, .filter-select-button) {
    padding: 0 18px;
    font-size: clamp(10px, 2.6vw, 18px);
  }

  .mobile-catalog-toolbar .recipe-select img {
    right: 9px;
    width: 7px;
  }

  .mobile-catalog-toolbar .recipe-search input {
    padding-left: clamp(12px, 3vw, 22px);
    font-size: clamp(11px, 2.9vw, 20px);
  }

  .mobile-catalog-toolbar .recipe-search button {
    width: clamp(32px, 8vw, 56px);
    flex-basis: clamp(32px, 8vw, 56px);
  }

  .mobile-catalog-toolbar .recipe-search button img {
    width: clamp(18px, 4vw, 28px);
    height: clamp(18px, 4vw, 28px);
  }

  .mobile-catalog-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(7px, 2vw, 14px) clamp(7px, 2.4vw, 16px);
  }

  .mobile-product-catalog .mobile-catalog-card {
    border-radius: clamp(16px, 5.5vw, 40px);
  }

  .mobile-product-catalog .mobile-catalog-products {
    gap: clamp(18px, 5.3vw, 38px) clamp(12px, 3.3vw, 24px);
  }

  .mobile-product-catalog .mobile-catalog-card h2 {
    min-height: clamp(40px, 11vw, 80px);
    padding: 4px 3px;
    font-size: clamp(11px, 2.9vw, 20px);
  }

  .mobile-product-catalog .mobile-catalog-card h2 .is-long {
    font-size: clamp(9px, 2.55vw, 18px);
  }

  .mobile-catalog-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border-radius: clamp(12px, 4.2vw, 26px);
    background: #fffdf8;
    color: var(--ink);
    text-decoration: none;
  }

  .mobile-catalog-card[hidden],
  .mobile-catalog-empty[hidden] {
    display: none;
  }

  .mobile-catalog-product-image {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    aspect-ratio: 1.25 / 1;
  }

  .mobile-catalog-product-image img {
    position: absolute;
    top: 12%;
    left: 14%;
    width: 72%;
    height: 80%;
    object-fit: contain;
  }

  .mobile-catalog-card h2 {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: clamp(32px, 7.9vw, 54px);
    margin: 0;
    padding: 5px 3px;
    background: #ecddb3;
    font-family: var(--body-font);
    font-size: clamp(8.5px, 2.2vw, 15px);
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .mobile-catalog-card:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 2px;
  }

  .mobile-catalog-card h2 span {
    white-space: nowrap;
  }

  .mobile-catalog-card h2 .is-long {
    font-size: clamp(6.5px, 1.95vw, 13px);
  }

  .mobile-catalog-empty {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 12px;
  }
}

/* Product category detail */
.product-category-page {
  --product-category-header-height: 104px;
  padding-top: var(--product-category-header-height);
  color: var(--ink);
  background: #f8f2e3;
}

.product-category-hero {
  position: relative;
  min-height: 552px;
  overflow: hidden;
  background-color: #ead8b7;
  background-image:
    linear-gradient(90deg, rgba(241, 225, 197, 0.98) 0%, rgba(241, 225, 197, 0.92) 38%, rgba(241, 225, 197, 0.58) 66%, rgba(241, 225, 197, 0.38) 100%),
    var(--product-category-hero-background);
  background-position: center;
  background-size: cover;
}

.product-category-hero-shell {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 48px));
  min-height: 552px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 48px;
}

.product-category-hero.product-category-hero--banner,
.product-category-hero--banner .product-category-hero-shell {
  min-height: calc(100svh - var(--product-category-header-height));
}

.product-category-hero.product-category-hero--banner {
  background-image: var(--product-category-hero-background);
  background-position: 60% center;
}

.product-category-hero--scaled {
  background-size: auto var(--product-category-banner-size);
  background-repeat: no-repeat;
}

@media (min-width: 1025px) {
  .product-category-hero.product-category-hero--banner {
    background-position: right center;
  }
}

@media (min-width: 1025px) and (max-aspect-ratio: 3 / 1) {
  .product-category-page--flour .product-category-hero--banner {
    background-position: calc(100% + 144px) bottom;
    background-size: auto 130%;
  }
}

.product-category-hero--banner .product-category-hero-shell {
  align-items: start;
}

.product-category-hero--banner .product-category-hero-copy {
  padding-top: 34px;
}

.product-category-hero--banner h1 {
  margin-top: 44px;
}

.product-category-hero-copy {
  padding: 54px 0 76px;
  translate: 0 50px;
}

.product-category-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #987746;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-category-breadcrumb a:hover {
  color: var(--red);
}

.product-category-hero h1 {
  margin: 44px 0 10px;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(42px, 4.4vw, 62px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-category-hero-copy > p {
  max-width: 470px;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  line-height: 1.55;
}

.product-category-cta {
  width: max-content;
  min-width: 182px;
  min-height: 54px;
  margin-top: 24px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.product-category-cta img {
  width: 22px;
  height: auto;
}

.product-category-hero-visual {
  position: relative;
  min-height: 500px;
  display: grid;
  place-items: center;
}

.product-category-hero-glow {
  position: absolute;
  width: min(520px, 42vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 253, 248, 0.72) 0%, rgba(255, 253, 248, 0.18) 60%, transparent 72%);
}

.product-category-hero-visual img {
  position: relative;
  z-index: 1;
  width: min(460px, 38vw);
  max-height: 470px;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(95, 64, 29, 0.2));
}

.product-category-scroll {
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  width: 56px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  transform: translateX(-50%);
}

.product-category-scroll img {
  display: block;
  width: 100%;
  height: 100%;
  animation: aboutHistoryScrollBounce 1.4s ease-in-out infinite;
}

.product-category-products {
  padding: 70px 0 60px;
  background-color: #f8f2e3;
  background-image:
    linear-gradient(rgba(248, 242, 227, 0.9), rgba(248, 242, 227, 0.9)),
    var(--product-category-pattern);
  background-position: center;
  background-size: auto, 720px auto;
  scroll-margin-top: 120px;
}

.product-category-products-shell {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 38px 34px;
}

.product-category-product-card {
  min-width: 0;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #fffdf8;
  color: inherit;
  text-decoration: none;
}

.product-category-product-image {
  height: 190px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-category-product-image img,
.product-category-product-image img.is-loaded {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
}

.product-category-product-image img.is-compact {
  transform: scale(0.8);
}

.product-category-product-placeholder {
  width: 118px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(237, 31, 50, 0.42);
  border-radius: 22px;
  background: #f8f2e3;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: 30px;
  letter-spacing: 0.08em;
}

.product-category-product-card h2 {
  position: relative;
  z-index: 1;
  min-height: 68px;
  margin: 0;
  padding: 13px 16px;
  display: grid;
  place-items: center;
  background: #ead8ad;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  text-align: center;
  text-wrap: balance;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.product-category-product-brand {
  display: block;
}

.product-category-card:focus-visible,
.product-category-product-card[href]:focus-visible,
.product-category-cta:focus-visible,
.product-category-scroll:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.62);
  outline-offset: 5px;
}

@media (hover: hover) and (pointer: fine) {
  .product-category-product-card:hover h2 {
    background: var(--red);
    color: #fff;
  }
}

@media (max-width: 1024px) {
  .product-category-page {
    --product-category-header-height: 92px;
    padding-top: var(--product-category-header-height);
  }

  .product-category-hero,
  .product-category-hero-shell {
    min-height: 520px;
  }

  .product-category-hero-shell {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
    gap: 24px;
  }

  .product-category-hero-visual {
    min-height: 440px;
  }

  .product-category-hero-visual img {
    width: min(390px, 42vw);
    max-height: 410px;
  }

  .product-category-products-shell {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .product-category-page {
    --product-category-header-height: clamp(48px, 12vw, 88px);
    padding-top: var(--product-category-header-height);
  }

  .product-category-hero {
    min-height: 0;
    background-image:
      linear-gradient(180deg, rgba(241, 225, 197, 0.96) 0%, rgba(241, 225, 197, 0.72) 58%, rgba(241, 225, 197, 0.45) 100%),
      var(--product-category-hero-background);
  }

  .product-category-hero.product-category-hero--banner {
    background-image:
      linear-gradient(180deg, rgba(241, 225, 197, 0.92) 0%, rgba(241, 225, 197, 0.64) 52%, rgba(241, 225, 197, 0.18) 100%),
      var(--product-category-hero-background);
    background-position: center, 86% center;
  }

  .product-category-hero.product-category-hero--scaled {
    background-size: 100% 100%, auto var(--product-category-banner-size);
    background-repeat: no-repeat;
  }

  .product-category-hero-shell {
    width: min(1100px, calc(100% - 32px));
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .product-category-hero-copy {
    padding: 34px 8px 6px;
  }

  .product-category-breadcrumb {
    gap: 8px;
    font-size: 11px;
  }

  .product-category-hero h1 {
    margin-top: 28px;
    font-size: clamp(36px, 11vw, 48px);
  }

  .product-category-hero-copy > p {
    font-size: 15px;
  }

  .product-category-cta {
    min-width: 158px;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 22px;
    font-size: 14px;
  }

  .product-category-cta img {
    width: 18px;
  }

  .product-category-hero-visual {
    min-height: 330px;
  }

  .product-category-hero-glow {
    width: min(360px, 90vw);
  }

  .product-category-hero-visual img {
    width: min(300px, 72vw);
    max-height: 310px;
  }

  .product-category-scroll {
    bottom: 22px;
    width: 48px;
  }

  .product-category-products {
    padding: 38px 0 72px;
    background-size: auto, 560px auto;
    scroll-margin-top: 88px;
  }

  .product-category-products-shell {
    width: min(1100px, calc(100% - 32px));
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-category-product-card {
    border-radius: 22px;
  }

  .product-category-product-image {
    height: 166px;
    padding: 16px;
  }

  .product-category-product-placeholder {
    width: 88px;
    border-radius: 18px;
    font-size: 24px;
  }

  .product-category-product-card h2 {
    min-height: 68px;
    padding: 10px;
    font-size: 13px;
  }

}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  overflow-y: overlay;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  margin: 0;
  overflow-x: clip;
  overflow-y: overlay;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body-font);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.menu-open {
  overflow: hidden;
}

.orientation-guard {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: clamp(14px, 4.2vmin, 38px);
  padding: clamp(24px, 7vmin, 72px);
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(239, 30, 45, 0.2) 0 9%, transparent 23%),
    linear-gradient(145deg, #0a5a4d 0%, #082f35 100%);
  color: #fff8e8;
  text-align: center;
  pointer-events: auto;
  touch-action: none;
  overscroll-behavior: none;
}

.orientation-guard-brand {
  position: absolute;
  top: clamp(22px, 6vmin, 56px);
  left: clamp(24px, 7vmin, 76px);
  width: clamp(76px, 16vmin, 150px);
  height: auto;
}

.orientation-guard-phone {
  position: relative;
  width: clamp(44px, 10.5vmin, 82px);
  aspect-ratio: 0.64;
  border: clamp(4px, 1vmin, 7px) solid currentColor;
  border-radius: clamp(9px, 2vmin, 16px);
  box-shadow: 0 0 0 1px rgba(255, 248, 232, 0.22) inset;
}

.orientation-guard-phone::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 27%;
  width: clamp(4px, 0.85vmin, 7px);
  height: 42%;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.orientation-guard-phone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 25%;
  width: 34%;
  aspect-ratio: 1;
  border-top: clamp(4px, 0.85vmin, 7px) solid currentColor;
  border-left: clamp(4px, 0.85vmin, 7px) solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}

.orientation-guard h2 {
  margin: 0;
  max-width: min(980px, 88vw);
  font-family: var(--body-font);
  font-size: clamp(34px, 8.4vmin, 80px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0;
}

.orientation-guard p {
  max-width: min(900px, 86vw);
  margin: 0;
  color: rgba(255, 248, 232, 0.86);
  font-family: var(--body-font);
  font-size: clamp(18px, 4.2vmin, 44px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0;
}

@media (orientation: landscape) and (max-width: 1024px) {
  body {
    overflow: hidden;
  }

  .orientation-guard {
    display: flex;
  }
}

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

.swiper {
  position: relative;
  display: block;
  overflow: hidden;
  list-style: none;
  padding: 0;
  z-index: 1;
}

.swiper-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  box-sizing: content-box;
  transition-property: transform;
}

.swiper-slide {
  position: relative;
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: block;
  transition-property: transform;
}

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

input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 104px;
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 0 58px;
  background: rgba(234, 216, 173, 0.92);
  backdrop-filter: blur(10px);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--red);
  font-weight: 800;
  font-size: 0;
  line-height: 1;
}

.brand-lockup img {
  height: clamp(34px, 4vw, 50px);
  width: auto;
  object-fit: contain;
}

.brand-lockup strong {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  font-family: var(--wordmark-font);
  font-weight: 900;
  font-stretch: condensed;
  letter-spacing: 0;
  color: var(--red);
  text-rendering: geometricPrecision;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: transparent;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: clamp(22px, 2.2vw, 46px);
  font-size: 18px;
  font-weight: 400;
}

.main-nav a {
  display: inline-block;
  text-align: center;
}

.main-nav .mobile-nav-umkm {
  display: none;
}

.main-nav a::after {
  display: block;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  font-weight: 600;
  content: attr(data-label);
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--red);
  font-weight: 600;
}

.main-nav a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.nav-lang-switcher {
  display: none;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 38px;
}

.language-switcher {
  position: relative;
}

.lang-toggle {
  min-width: 74px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.lang-toggle img {
  width: 10px;
}

.lang-menu {
  position: absolute;
  z-index: 90;
  top: calc(100% + 8px);
  right: 0;
  min-width: 96px;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(33, 23, 13, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.language-switcher.open .lang-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lang-option {
  width: 100%;
  min-height: 42px;
  padding: 0 18px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  text-align: left;
}

.lang-option:hover,
.lang-option.active {
  background: var(--red);
  color: #fff;
}

.icon-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: transparent;
}

.icon-button img {
  width: 31px;
}

.icon-button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.hero {
  position: relative;
  display: block;
  overflow: visible;
  background-color: var(--hero-cream);
  background-image: none;
}

.hero-product {
  position: relative;
  z-index: 2;
  width: clamp(320px, 19vw, 400px);
  max-width: none;
  will-change: transform, opacity;
}

.hero-tb {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  margin: 0 0 0 0;
  transform: rotate(-8deg);
}

.hero-tk {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  align-self: center;
  margin: 0 0 0 0;
  transform: rotate(8deg);
}

.hero-center {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
}

.hero-logo-mark {
  width: auto;
  margin-bottom: clamp(42px, 3.2vw, 58px);
  display: grid;
  justify-items: center;
  will-change: transform, opacity;
}

.hero-logo-image {
  width: clamp(340px, 25vw, 460px);
  max-width: min(100%, calc(100vw - 48px));
}

.tray-wrap {
  position: relative;
  width: clamp(700px, 44vw, 860px);
  will-change: transform, opacity;
}

.tray-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(94, 67, 36, 0.22), rgba(94, 67, 36, 0.08) 48%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.tray {
  position: relative;
  z-index: 2;
}

.hero-leaf {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-leaf-1 {
  top: 150px;
  right: -20px;
  width: clamp(140px, 13vw, 260px);
}

.hero-leaf-2 {
  top: 760px;
  left: 50%;
  width: clamp(190px, 18vw, 360px);
  transform: translateX(-14%) rotate(6deg);
}

.history-section-title {
  margin: 0 0 clamp(16px, 2.5vw, 36px);
  font-family: "Acme", sans-serif;
  font-size: clamp(28px, 4vw, 60px);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-red, #c8102e);
  text-align: center;
}

.history-slider {
  --history-curve-width: 100%;
  --history-viewport-offset: 104px;
  --history-size: clamp(390px, min(34vw, 60svh), 660px);
  position: relative;
  width: var(--history-curve-width);
  height: auto;
  min-height: fit-content;
  overflow: clip;
  padding: clamp(48px, 7svh, 86px) 0 clamp(60px, 8svh, 96px);
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  background-color: #fbf4e6;
  background-image:
    linear-gradient(rgba(255, 250, 238, 0.38), rgba(255, 250, 238, 0.38)),
    var(--history-pattern-image, url("assets/backgrounds/pattern-history-batik.webp"));
  background-size: 100% 100%, clamp(720px, 58vw, 1040px);
  background-position: center, center top;
  background-repeat: no-repeat, repeat;
  background-blend-mode: normal;
}

@media (min-width: 1025px) {
  .history-slider {
    --history-curve-width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

.history-slider::before,
.history-slider::after {
  content: "";
  position: absolute;
  top: 40%;
  width: clamp(380px, 31vw, 560px);
  height: clamp(380px, 31vw, 560px);
  transform: translateY(-50%);
  background-image: var(--history-ornament-left-image, url("assets/backgrounds/ornament-mandala-left.webp"));
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  opacity: 0.54;
}

.history-slider::before {
  left: -14%;
}

.history-slider::after {
  right: -14%;
  background-image: var(--history-ornament-right-image, var(--history-ornament-left-image, url("assets/backgrounds/ornament-mandala-left.webp")));
  transform: translateY(-50%);
}

.history-card {
  position: relative;
  z-index: 2;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
  overflow: visible;
  text-align: center;
}

.history-card:focus-visible,
.product-stage:focus-visible {
  outline: 3px solid rgba(235, 31, 48, 0.72);
  outline-offset: 8px;
}

.history-card .swiper-wrapper {
  align-items: center;
  height: var(--history-size);
}

.history-slide {
  width: 100% !important;
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--history-size);
  opacity: 0;
  pointer-events: none;
}

.history-slide:first-child,
.history-slide.swiper-slide-active {
  opacity: 1;
  pointer-events: auto;
}

.history-circle {
  flex: 0 0 var(--history-size);
  width: var(--history-size);
  height: var(--history-size);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: none;
  transform: translateZ(0);
}

.about-copy span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--deep-red);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.about-copy h2 {
  margin: 0 0 22px;
  color: var(--green);
  font-size: clamp(36px, 3vw, 58px);
  line-height: 1.05;
}

.about-copy p {
  margin: 0;
  font-size: 21px;
  line-height: 1.55;
}

.history-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  transform: none;
  transform-origin: center;
}

.history-spoon {
  position: absolute;
  z-index: 3;
  width: clamp(96px, 8vw, 154px);
  opacity: var(--history-spoon-opacity, 0.7);
  pointer-events: none;
  transform-origin: center;
  transform: var(--history-spoon-transform, none);
  transition:
    opacity 0.88s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.08s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--history-spoon-delay, 0s);
}

.history-spoon-1 {
  --history-spoon-delay: 0.08s;
  --history-spoon-enter-x: clamp(-220px, -13vw, -110px);
  --history-spoon-enter-y: clamp(-120px, -7vw, -58px);
  --history-spoon-enter-scale: 0.64;
  --history-spoon-opacity: 1;
  --history-spoon-transform: rotate(8deg);
  left: calc(50% - var(--history-size) * 0.51);
  top: calc(var(--history-size) * 0.14);
  width: calc(var(--history-size) * 0.26);
}

.history-spoon-2 {
  --history-spoon-delay: 0.18s;
  --history-spoon-enter-x: clamp(120px, 15vw, 260px);
  --history-spoon-enter-y: clamp(-132px, -8vw, -64px);
  --history-spoon-enter-scale: 0.6;
  --history-spoon-opacity: 1;
  --history-spoon-transform: rotate(0deg);
  left: calc(50% + var(--history-size) * 0.2);
  top: calc(var(--history-size) * 0.1);
  width: calc(var(--history-size) * 0.25);
}

.history-spoon-3 {
  --history-spoon-opacity: 0.78;
  --history-spoon-transform: rotate(42deg);
  left: calc(50% + clamp(210px, 14vw, 270px));
  top: clamp(180px, 22vw, 290px);
  width: clamp(72px, 6vw, 116px);
  display: none;
}

.history-spoon-4 {
  --history-spoon-delay: 0.28s;
  --history-spoon-enter-x: clamp(40px, 6vw, 120px);
  --history-spoon-enter-y: clamp(56px, 7vw, 128px);
  --history-spoon-enter-scale: 0.72;
  --history-spoon-opacity: 1;
  --history-spoon-transform: rotate(-6deg);
  left: calc(50% + var(--history-size) * 0.04);
  top: calc(var(--history-size) * 0.71);
  width: calc(var(--history-size) * 0.45);
  filter: none;
  z-index: 4;
}

.history-spoon-5 {
  --history-spoon-delay: 0.38s;
  --history-spoon-enter-x: clamp(80px, 10vw, 180px);
  --history-spoon-enter-y: clamp(80px, 9vw, 170px);
  --history-spoon-enter-scale: 0.68;
  --history-spoon-opacity: 0.42;
  --history-spoon-transform: rotate(14deg);
  left: calc(50% + clamp(100px, 7vw, 140px));
  top: clamp(210px, 18vw, 345px);
  width: clamp(66px, 4.8vw, 94px);
  filter: blur(1.5px);
}

.history-nav {
  position: absolute;
  z-index: 5;
  top: calc(var(--history-size) * 0.55);
  transform: translateY(-50%);
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  opacity: 0.72;
  transition: transform 0.18s ease, scale 0.18s ease;
}

.history-nav:hover {
  transform: translateY(-50%) scale(1.05);
}

.history-nav:focus-visible,
.product-nav:focus-visible {
  outline: 3px solid rgba(235, 31, 48, 0.78);
  outline-offset: 6px;
}

.history-nav::before {
  content: "";
  width: 42px;
  height: 42px;
  border-top: 5px solid rgba(170, 159, 130, 0.52);
  border-left: 5px solid rgba(170, 159, 130, 0.52);
}

.history-nav:hover::before {
  border-color: rgba(150, 140, 115, 0.74);
}

.history-prev::before {
  transform: translateX(8px) rotate(-45deg);
}

.history-next::before {
  transform: translateX(-8px) rotate(135deg);
}

.history-prev {
  left: clamp(92px, 8.6vw, 166px);
}

.history-next {
  right: clamp(92px, 8.6vw, 166px);
}

.history-pagination {
  position: static !important;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: clamp(12px, 1.5vw, 26px);
}

.history-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: #d8cbaa;
  opacity: 1;
}

.history-pagination .swiper-pagination-bullet-active {
  background: #9e9275;
}

.history-text {
  max-width: 1000px;
  min-height: 0;
  height: auto;
  margin: clamp(14px, 1.6vw, 26px) auto 0;
  overflow: visible;
  font-family: "Milonga", cursive;
  font-size: clamp(28px, 2.15vw, 42px);
  line-height: 1.06;
  font-weight: 400;
}

.section-title {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  text-align: center;
  font-size: clamp(44px, 4vw, 72px);
  font-weight: 400;
  letter-spacing: 0.16em;
}

.products {
  position: relative;
  z-index: 2;
  container-type: inline-size;
  --product-label-row-height: 54px;
  --product-offset-1-left: -21cqw;
  --product-offset-1-right: 21cqw;
  --product-offset-2-left: -42cqw;
  --product-offset-2-right: 42cqw;
  --product-offset-1-y: 0px;
  --product-offset-2-y: 0px;
  padding: 56px 0 72px;
  background: var(--paper);
}

.product-stage {
  width: min(1560px, calc(100% - 48px));
  height: 360px;
  margin: 12px auto 0;
  overflow: visible;
  touch-action: pan-y;
  cursor: default;
  user-select: none;
}

.product-stage:active {
  cursor: default;
}

.product-track {
  position: relative;
  height: 330px;
}

.product-item {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: var(--z, 1);
  width: 300px;
  height: 470px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 52px;
  text-align: center;
  opacity: var(--opacity, 1);
  pointer-events: var(--events, auto);
  cursor: pointer;
  transform: translateX(calc(-50% + var(--x, 0px))) translateY(var(--y, 0px)) scale(var(--scale, 1));
  transform-origin: center bottom;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
}

.product-item:focus-visible {
  outline: 0;
}

.product-item:focus-visible .product-circle {
  outline: 3px solid rgba(235, 31, 48, 0.72);
  outline-offset: 8px;
}

.product-item h3 {
  margin: 0;
  height: 54px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
}

.product-item.active h3 {
  visibility: hidden;
}

.product-circle {
  position: relative;
  width: 320px;
  height: 360px;
  flex: 0 0 360px;
  display: grid;
  place-items: end center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.product-circle img {
  display: block;
  width: auto;
  height: 260px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: none;
  image-rendering: auto;
}

.product-item.active .product-circle {
  box-shadow: none;
}

.product-item.active .product-circle img {
  height: 312px;
  max-width: 100%;
  max-height: 100%;
}

.product-controls {
  position: relative;
  z-index: 10;
  width: min(520px, calc(100% - 32px));
  margin: calc(-1 * var(--product-label-row-height)) auto 0;
  display: grid;
  grid-template-columns: 46px minmax(190px, 1fr) 46px;
  align-items: center;
  justify-content: center;
  gap: 26px;
  cursor: default;
}

.product-nav {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  cursor: pointer;
}

.product-nav::before {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 2px solid #8d846d;
  border-left: 2px solid #8d846d;
}

.product-prev::before {
  transform: rotate(-45deg);
}

.product-next::before {
  transform: rotate(135deg);
}

.product-active-label {
  min-width: 190px;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-wrap: balance;
  cursor: default;
}

.product-item[data-offset="-2"] {
  --x: var(--product-offset-2-left);
  --y: var(--product-offset-2-y);
  --scale: 0.8;
  --z: 1;
}

.product-item[data-offset="-1"] {
  --x: var(--product-offset-1-left);
  --y: var(--product-offset-1-y);
  --scale: 0.8;
  --z: 2;
}

.product-item[data-offset="0"] {
  --x: 0px;
  --y: 0px;
  --scale: 1;
  --z: 4;
}

.product-item[data-offset="1"] {
  --x: var(--product-offset-1-right);
  --y: var(--product-offset-1-y);
  --scale: 0.8;
  --z: 2;
}

.product-item[data-offset="2"] {
  --x: var(--product-offset-2-right);
  --y: var(--product-offset-2-y);
  --scale: 0.8;
  --z: 1;
}

.product-item[data-offset="hidden"] {
  --opacity: 0;
  --events: none;
}

.pill-button {
  width: max-content;
  min-width: clamp(240px, 17vw, 330px);
  min-height: clamp(50px, 3.65vw, 62px);
  margin: clamp(34px, 3vw, 46px) auto 0;
  padding: 0 clamp(28px, 2vw, 38px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(15px, 0.95vw, 19px);
  font-weight: 600;
  line-height: 1;
}

.pill-button img {
  width: clamp(20px, 1.45vw, 28px);
  height: auto;
}

/* ===== USP SECTION ===== */
.usp-section {
  position: relative;
  background: #eadbb8;
  height: calc(100vh - 104px);
  height: calc(100svh - 104px);
  max-height: none;
  min-height: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.usp-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 50%;
  left: clamp(-460px, -20vw, -240px);
  width: clamp(560px, 48vw, 880px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f0dfbd;
  opacity: 0.42;
  transform: translateY(-48%);
  pointer-events: none;
}

.usp-section::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: clamp(76px, 6.5vw, 132px);
  bottom: clamp(-26px, -2vw, -10px);
  width: clamp(360px, 31vw, 540px);
  aspect-ratio: 1.2;
  background: url("assets/usp/usp-deco-starch-1.webp") center / contain no-repeat;
  filter: brightness(0) invert(1) contrast(1.18);
  opacity: 0.68;
  pointer-events: none;
}

.usp-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 45vw) minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.usp-visuals {
  position: relative;
  z-index: 3;
  align-self: stretch;
  min-height: 0;
  height: 100%;
  transition:
    opacity 1.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.usp-photo-group {
  position: absolute;
  overflow: visible;
}

.usp-photo-group--top {
  top: clamp(-72px, -5svh, -40px);
  left: clamp(-18px, -0.8vw, -8px);
  z-index: 3;
  width: clamp(424px, 32.8vw, 552px);
}

.usp-photo-group--bottom {
  left: clamp(220px, 16vw, 320px);
  bottom: clamp(-42px, -2.6svh, -24px);
  z-index: 2;
  width: clamp(628px, 47.7vw, 780px);
}

.usp-hand {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.usp-photo-group--top .usp-hand {
  width: 100%;
  max-width: none;
}

.usp-photo-group--bottom .usp-hand {
  width: 100%;
  max-width: none;
}

.usp-deco {
  position: absolute;
  z-index: 4;
  pointer-events: none;
}

.usp-deco--mint {
  width: clamp(48px, 3.7vw, 72px);
  top: auto;
  bottom: clamp(154px, 17svh, 216px);
  left: clamp(132px, 9vw, 184px);
  transform: rotate(-10deg);
}

.usp-deco--flour-bowl {
  z-index: 6;
  width: clamp(116px, 8vw, 154px);
  top: clamp(226px, 32svh, 318px);
  right: auto;
  left: calc(100vw - clamp(72px, 5.2vw, 108px));
  transform: rotate(92deg);
}

.usp-deco--starch {
  z-index: 1;
  width: clamp(100px, 8vw, 150px);
  top: clamp(180px, 12vw, 220px);
  left: clamp(28px, 4.2vw, 82px);
  filter: brightness(0) invert(1) contrast(1.2);
  opacity: 0.82;
  transform: rotate(-8deg);
}

.usp-deco--gula {
  width: clamp(66px, 5.2vw, 100px);
  top: clamp(62px, 7.4svh, 92px);
  right: auto;
  left: clamp(232px, calc(77vw - 750px), 748px);
}

.usp-deco--telur {
  width: clamp(70px, 5vw, 96px);
  top: auto;
  bottom: clamp(-42px, -2.5svh, -24px);
  left: calc(100vw - clamp(220px, 13vw, 290px));
}

.usp-content {
  position: relative;
  z-index: 2;
  align-self: stretch;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(64px, 7svh, 88px) clamp(70px, 6.5vw, 128px) clamp(20px, 3svh, 44px) clamp(38px, 5vw, 96px);
  transition:
    opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.12s,
    transform 1.15s cubic-bezier(0.16, 1, 0.3, 1) 0.12s;
  will-change: opacity, transform;
}

.usp-content::before {
  --usp-circle-size: clamp(1040px, 66vw, 1280px);
  content: "";
  position: absolute;
  z-index: -1;
  top: 50%;
  right: calc((100% - var(--usp-circle-size)) / 2);
  left: auto;
  width: var(--usp-circle-size);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #fbf3e4;
  transform: translateY(-50%);
  pointer-events: none;
}

.usp-content::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: clamp(220px, 18vw, 360px);
  bottom: 0;
  background: #fbf3e4;
  pointer-events: none;
}

@media (min-width: 1025px) {
  .usp-content::after,
  .usp-spoon-flour {
    display: none;
  }
}

.usp-spoon-flour {
  position: absolute;
  z-index: 1;
  top: clamp(-78px, -5.2svh, -48px);
  right: clamp(-104px, -4.8vw, -62px);
  width: clamp(230px, 17vw, 340px);
  aspect-ratio: 1.22;
  background: url("assets/usp/usp-deco-starch-1.webp") center / cover no-repeat;
  filter: brightness(0) invert(1) contrast(1.45);
  opacity: 0.72;
  transform: rotate(-8deg);
  pointer-events: none;
}

.usp-content-spoon {
  position: absolute;
  width: clamp(156px, 11.8vw, 226px);
  top: clamp(-42px, -2.2svh, -18px);
  right: clamp(-82px, -3.8vw, -44px);
  z-index: 2;
  pointer-events: none;
  opacity: 0.95;
  transform: rotate(30deg);
  transform-origin: center;
}

.usp-content-leaf {
  position: absolute;
  width: clamp(280px, 21vw, 430px);
  right: clamp(288px, 30vw, 560px);
  bottom: clamp(-110px, -7svh, -54px);
  left: auto;
  z-index: 2;
  pointer-events: none;
  opacity: 0.78;
  transform: rotate(5deg);
  transition:
    opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
    transform 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
  will-change: opacity, transform;
}

.scroll-reveal-ready:not(.has-gsap) .usp-section.is-visible .usp-content-leaf {
  animation: uspLeafEnter 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.24s both;
}

@keyframes uspLeafEnter {
  from {
    opacity: 0;
    transform: translate3d(92px, 28px, 0) rotate(-38deg) scale(0.34);
    filter: blur(12px);
  }

  72% {
    opacity: 0.78;
    transform: translate3d(-4px, -3px, 0) rotate(5deg) scale(1.02);
    filter: blur(0);
  }

  to {
    opacity: 0.78;
    transform: translate3d(0, 0, 0) rotate(5deg) scale(1);
    filter: blur(0);
  }
}

.usp-title {
  margin: 0 0 clamp(22px, 3.3svh, 40px);
  font-family: "Acme", sans-serif;
  font-size: clamp(38px, 3.1vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  color: var(--green);
}

.usp-title-line {
  display: block;
  white-space: nowrap;
}

.usp-title--red {
  color: var(--red);
}

.usp-subtitle {
  margin: 0 0 clamp(28px, 4.2svh, 54px);
  max-width: 56ch;
  font-family: "Milonga", cursive;
  font-size: clamp(18px, 1.32vw, 26px);
  line-height: 1.18;
  text-align: center;
  color: #181818;
}

.usp-stat {
  display: flex;
  align-items: center;
  gap: clamp(22px, 2vw, 38px);
  margin-bottom: 0;
  padding: clamp(20px, 2.3svh, 34px) clamp(42px, 4.2vw, 82px);
  background: #fff;
  border-radius: 999px;
  box-shadow: none;
  width: min(720px, 48vw);
}

.usp-stat-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  flex-shrink: 0;
}

.usp-stat-number {
  font-family: "Acme", sans-serif;
  font-size: clamp(64px, 5.5vw, 104px);
  font-weight: 400;
  color: var(--green);
  line-height: 1;
  letter-spacing: 0;
}

.js-usp-counter {
  display: inline-block;
  transition:
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-usp-counter.is-switching {
  opacity: 0;
  transform: translateY(6px);
}

.usp-stat-desc {
  display: flex;
  flex-direction: column;
  gap: clamp(4px, 0.45vw, 8px);
}

.usp-stat-desc strong {
  display: block;
  font-size: clamp(20px, 1.45vw, 28px);
  font-weight: 800;
  color: var(--green);
  line-height: 1.1;
}

.usp-stat-desc p {
  margin: 0;
  max-width: 43ch;
  font-size: clamp(13px, 0.9vw, 17px);
  font-weight: 700;
  line-height: 1.12;
  color: #1a1a1a;
}

.usp-brand-name {
  color: var(--red);
}

.usp-mengapa {
  display: none;
  align-items: center;
  gap: clamp(6px, 0.6vw, 10px);
  margin-bottom: clamp(14px, 1.3vw, 22px);
}

.usp-mengapa span {
  font-family: var(--brand-font);
  font-size: clamp(16px, 1.25vw, 24px);
  font-weight: 700;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.usp-mengapa--q {
  color: var(--red) !important;
  font-size: clamp(20px, 1.7vw, 32px) !important;
}

.usp-mengapa img {
  height: clamp(22px, 1.8vw, 34px);
  width: auto;
  object-fit: contain;
}

.usp-badges {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(10px, 1vw, 16px);
  align-items: start;
  max-width: 560px;
}

.usp-badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(7px, 0.65vw, 11px);
  text-align: center;
  transition:
    opacity 1.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--usp-badge-delay, 0s);
  will-change: opacity, transform;
}

.usp-badge-item:nth-child(1) { --usp-badge-delay: 0.32s; }
.usp-badge-item:nth-child(2) { --usp-badge-delay: 0.46s; }
.usp-badge-item:nth-child(3) { --usp-badge-delay: 0.60s; }

.usp-badge-item img {
  width: clamp(82px, 7.5vw, 128px);
  height: auto;
}

.usp-badge-item p {
  margin: 0;
  max-width: 23ch;
  font-size: clamp(12px, 0.82vw, 14px);
  line-height: 1.45;
  color: #666;
}

@media (min-width: 1500px) {
  .usp-inner {
    grid-template-columns: minmax(0, 45vw) minmax(0, 1fr);
  }

  .usp-photo-group--top {
    top: clamp(-82px, -5.6svh, -56px);
    left: clamp(-32px, -1.2vw, -14px);
    width: clamp(560px, 33.8vw, 648px);
  }

  .usp-photo-group--bottom {
    left: clamp(230px, 14.5vw, 310px);
    bottom: clamp(-54px, -3svh, -32px);
    width: clamp(760px, 47vw, 902px);
  }

  .usp-content {
    padding: clamp(64px, 7svh, 88px) clamp(70px, 6.5vw, 128px) clamp(20px, 3svh, 44px) clamp(38px, 5vw, 96px);
  }

  .usp-title {
    font-size: clamp(56px, 3.35vw, 64px);
  }

  .usp-subtitle {
    max-width: 56ch;
    font-size: clamp(20px, 1.32vw, 25px);
    margin-bottom: clamp(28px, 4.2svh, 54px);
  }

  .usp-stat {
    width: min(790px, 49vw);
    padding: clamp(22px, 2.45svh, 34px) clamp(48px, 4.25vw, 82px);
    margin-bottom: 0;
  }

  .usp-stat-number {
    font-size: clamp(80px, 5.65vw, 108px);
  }

  .usp-stat-desc strong {
    font-size: clamp(22px, 1.48vw, 28px);
  }

  .usp-stat-desc p {
    font-size: clamp(14px, 0.92vw, 17px);
  }

  .usp-badges {
    max-width: 680px;
    gap: clamp(8px, 0.85vw, 14px);
  }

  .usp-badge-item img {
    width: clamp(92px, 6.15vw, 118px);
  }

  .usp-deco--flour-bowl {
    width: clamp(132px, 8.2vw, 158px);
    top: clamp(248px, 31svh, 330px);
    right: auto;
    left: calc(100vw - clamp(86px, 4.8vw, 116px));
  }

  .usp-deco--gula {
    width: clamp(86px, 5.55vw, 106px);
    top: clamp(78px, 8.4svh, 108px);
    right: auto;
    left: clamp(720px, 41.6vw, 820px);
  }

  .usp-deco--mint {
    width: clamp(58px, 3.8vw, 74px);
  }

  .usp-deco--starch {
    width: clamp(132px, 8.4vw, 162px);
  }

  .usp-deco--telur {
    width: clamp(78px, 5.1vw, 98px);
  }

  .usp-content-leaf {
    width: clamp(320px, 21.5vw, 414px);
  }
}

@media (min-width: 1500px) and (max-height: 1120px) {
  .usp-photo-group--top {
    top: clamp(-72px, -5.2svh, -48px);
    left: clamp(-24px, -1vw, -12px);
    width: clamp(470px, 27.7vw, 532px);
  }

  .usp-photo-group--bottom {
    left: clamp(202px, 13vw, 266px);
    bottom: clamp(-48px, -2.8svh, -28px);
    width: clamp(660px, 40vw, 768px);
  }

  .usp-deco--gula {
    left: clamp(656px, 38.6vw, 754px);
  }
}

@media (max-width: 1024px) {
  .usp-section {
    height: auto;
    max-height: none;
    min-height: 0;
    align-items: flex-start;
    padding: 124px 0 88px;
  }

  .usp-section::before {
    top: 22px;
    left: 50%;
    width: min(760px, 118vw);
    opacity: 0.34;
    transform: translateX(-50%);
  }

  .usp-section::after {
    top: 360px;
    bottom: auto;
    left: -90px;
    width: min(460px, 78vw);
    opacity: 0.16;
  }

  .usp-inner {
    width: min(100%, 760px);
    height: auto;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 44px);
    grid-template-columns: 1fr;
    gap: clamp(24px, 5vw, 38px);
  }

  .usp-content {
    grid-column: 1;
    grid-row: 1;
    padding: 0;
  }

  .usp-visuals {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-width: 690px;
    height: auto;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: end;
    gap: clamp(12px, 3vw, 22px);
    overflow: visible;
  }

  .usp-photo-group {
    position: relative;
    flex: none;
    overflow: visible;
  }

  .usp-photo-group--top,
  .usp-photo-group--bottom {
    inset: auto;
    z-index: auto;
    width: auto;
    height: auto;
  }

  .usp-hand {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .usp-photo-group--top .usp-hand {
    width: 112%;
    max-width: none;
    transform: translateX(-8%);
  }

  .usp-photo-group--bottom .usp-hand {
    width: 113%;
    max-width: none;
    transform: translateX(-6%);
  }

  .usp-deco--mint {
    top: -10px;
    left: 0;
  }

  .usp-deco--flour-bowl {
    top: 40%;
    right: -34px;
  }

  .usp-deco--gula {
    top: 58%;
    right: 0;
  }

  .usp-deco--telur {
    top: 14px;
    left: 38%;
  }

  .usp-content-leaf {
    width: clamp(120px, 24vw, 190px);
    right: clamp(20px, 10vw, 92px);
    bottom: -8px;
    left: auto;
    opacity: 0.72;
  }

  .usp-content-spoon {
    display: block;
    width: clamp(72px, 12vw, 96px);
    top: clamp(-34px, -3.7vw, -22px);
    right: clamp(-82px, -7vw, -54px);
  }

  .usp-spoon-flour {
    display: none;
  }

  .usp-title {
    max-width: 660px;
    font-size: clamp(38px, 6.6vw, 58px);
  }

  .usp-subtitle {
    max-width: 58ch;
  }

  .usp-stat {
    width: min(100%, 520px);
  }

  .usp-badges {
    max-width: 100%;
    gap: clamp(12px, 3vw, 22px);
  }
}

@media (max-width: 767px) {
  .usp-section {
    padding: 104px 0 116px;
  }

  .usp-section::before {
    top: 34px;
    width: 132vw;
  }

  .usp-section::after {
    top: auto;
    left: -112px;
    bottom: 238px;
    width: 360px;
    opacity: 0.12;
  }

  .usp-inner {
    padding: 0 18px;
    gap: 24px;
  }

  .usp-title {
    margin-bottom: 14px;
    font-size: clamp(26px, 8.4vw, 42px);
    line-height: 1.02;
    max-width: 100%;
  }

  .usp-subtitle {
    margin-bottom: 18px;
    max-width: 31ch;
    font-size: 15px;
    line-height: 1.58;
  }

  .usp-content-spoon {
    width: 68px;
    top: -32px;
    right: -58px;
  }

  .usp-content-leaf {
    width: 118px;
    right: 8px;
    bottom: -10px;
    left: auto;
  }

  .usp-stat {
    width: 100%;
    margin-bottom: 20px;
    padding: 16px;
    gap: 14px;
    border-radius: 20px;
  }

  .usp-stat-box {
    min-width: 76px;
    min-height: 76px;
  }

  .usp-stat-number {
    font-size: 40px;
  }

  .usp-stat-desc strong {
    font-size: 15px;
  }

  .usp-stat-desc p {
    max-width: none;
    font-size: 12.5px;
    line-height: 1.48;
  }

  .usp-mengapa {
    margin-bottom: 14px;
    gap: 7px;
  }

  .usp-mengapa span {
    font-size: 17px;
  }

  .usp-mengapa img {
    height: 22px;
  }

  .usp-mengapa--q {
    font-size: 24px !important;
  }

  .usp-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .usp-badge-item {
    gap: 7px;
  }

  .usp-badge-item img {
    width: min(28vw, 92px);
  }

  .usp-badge-item p {
    font-size: 11.5px;
    line-height: 1.34;
  }

  .usp-visuals {
    display: none;
  }

  .usp-deco--mint {
    top: -4px;
    left: 0;
  }

  .usp-deco--telur {
    top: 20px;
    left: 58%;
    width: 42px;
  }

  .usp-deco--flour-bowl {
    top: 41%;
    right: -18px;
    width: 52px;
  }

  .usp-deco--gula {
    top: 56%;
    right: 12px;
    width: 56px;
  }

  .usp-photo-group {
    overflow: hidden;
    border-radius: 0;
  }

  .usp-photo-group--top {
    max-height: 260px;
  }

  .usp-photo-group--bottom {
    max-height: 330px;
  }

  .usp-photo-group--top .usp-hand,
  .usp-photo-group--bottom .usp-hand {
    width: 112%;
    transform: translateX(-6%);
  }
}

/* Pre-visible hidden states */
.scroll-reveal-ready .usp-section:not(.is-visible) .usp-visuals {
  opacity: 0;
  transform: none;
}

.scroll-reveal-ready .usp-section:not(.is-visible) .usp-content {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
}

.scroll-reveal-ready .usp-section:not(.is-visible) .usp-content-leaf {
  opacity: 0;
  transform: translate3d(92px, 28px, 0) rotate(-38deg) scale(0.34);
  filter: blur(12px);
}

.scroll-reveal-ready .usp-section:not(.is-visible) .usp-badge-item {
  opacity: 0;
  transform: none;
}

.recipes {
  overflow: visible;
  display: grid;
  justify-items: center;
  padding: clamp(104px, 8vw, 150px) 0 clamp(40px, 3.5vw, 64px);
  background: var(--paper);
}

.recipes .section-title {
  font-size: clamp(48px, 4vw, 66px);
  letter-spacing: 0.12em;
}

.news {
  overflow: hidden;
  padding: clamp(54px, 7svh, 84px) 0 clamp(54px, 8svh, 88px);
  background-color: #fbf4e6;
  background-image:
    linear-gradient(rgba(255, 250, 238, 0.36), rgba(255, 250, 238, 0.36)),
    var(--history-pattern-image, url("assets/backgrounds/pattern-history-batik.webp"));
  background-size: 100% 100%, clamp(680px, 54vw, 980px);
  background-position: center, center top;
  background-repeat: no-repeat, repeat;
}

.recipe-row {
  width: min(1500px, calc(100% - clamp(32px, 3.4vw, 56px)));
  max-width: 100%;
  margin: clamp(42px, 3.5vw, 66px) auto 0;
  padding: clamp(24px, 2vw, 36px) 0;
  overflow: visible;
}

.recipe-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(20px, 1.8vw, 34px);
  align-items: center;
  justify-content: center;
  width: 100%;
  height: auto;
  overflow: visible;
  transform: none !important;
}

.recipe-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  overflow: visible;
  flex: 0 0 auto;
  border-radius: 12px;
  background: #ddd;
  transform-origin: center;
  opacity: 1;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
}

.recipe-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  background: #f1dfb2;
  opacity: 0;
  transform: translate(8px, 8px) rotate(5deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.recipe-card.featured {
  z-index: 8;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  transform: rotate(4deg);
  box-shadow: none;
}

.recipe-card.featured::before {
  opacity: 1;
  transform: translate(-7px, 7px) rotate(-9deg);
}

@media (hover: hover) and (pointer: fine) {
  /* When any card is hovered, drop the default-featured card back to a plain
     single-image card so only the hovered card shows the 2-layer treatment. */
  .recipe-row:has(.recipe-card:hover) .recipe-card.featured:not(:hover) {
    z-index: 1;
    transform: none;
  }

  .recipe-row:has(.recipe-card:hover) .recipe-card.featured:not(:hover)::before {
    opacity: 0;
    transform: translate(8px, 8px) rotate(5deg);
  }

  .recipe-card:hover {
    z-index: 9;
    opacity: 1;
    transform: translateY(-10px) rotate(4deg) scale(1.2);
    box-shadow: none;
  }

  .recipe-card:hover::before {
    opacity: 1;
    transform: translate(-7px, 7px) rotate(-9deg);
  }
}

.recipe-card::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.68));
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.recipe-card img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  transition: transform 0.3s ease;
}

.recipe-card span {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  font-size: clamp(18px, 1.2vw, 23px);
  font-weight: 800;
  text-align: center;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.recipe-card.featured span {
  bottom: 20px;
  font-size: clamp(26px, 1.67vw, 32px);
  transform: rotate(-4deg);
}

.recipe-card:is(:hover, :focus-visible)::after,
.recipe-card:is(:hover, :focus-visible) span {
  opacity: 1;
}

.news-carousel {
  width: min(1540px, calc(100% - clamp(28px, 3.2vw, 50px)));
  margin: clamp(28px, 4svh, 48px) auto 0;
  padding: clamp(8px, 1.2vw, 14px) 0 clamp(18px, 3svh, 28px);
  overflow: visible;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 1.55vw, 28px);
  align-items: center;
  overflow: visible;
}

.news-slide {
  position: relative;
  z-index: 1;
  min-width: 0;
  aspect-ratio: 1.18 / 1;
  transform: translateZ(0);
}

.news-card {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 8px;
  border: 0;
  outline: 0;
  background: #fff;
  color: #241914;
  box-shadow: 0 10px 24px rgba(39, 27, 18, 0.08);
  -webkit-tap-highlight-color: transparent;
  transform-origin: center;
  transition:
    inset 0.28s ease,
    background-color 0.28s ease,
    color 0.28s ease,
    box-shadow 0.28s ease;
  will-change: inset;
}

.news-slide:first-child .news-card {
  transform-origin: left center;
}

.news-slide:last-child .news-card {
  transform-origin: right center;
}

.news-slide:hover,
.news-slide:focus-within {
  z-index: 8;
}

.news-card:hover,
.news-card:focus-visible,
.news-slide:focus-within .news-card {
  border: 0;
  outline: 0;
  background: #fff;
  color: #241914;
  box-shadow: 0 22px 46px rgba(39, 27, 18, 0.14);
  inset: calc(-7% + 4px) -7% calc(-7% - 4px);
}

.news-card img {
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: auto;
  align-self: stretch;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  background: transparent;
  transition: height 0.28s ease;
}

.news-card .news-image-cover,
.news-card .news-image-portrait {
  object-fit: cover;
}

.news-card h3 {
  flex: 0 0 auto;
  min-height: calc((clamp(12px, 0.82vw, 15px) * 1.16 * 2) + (clamp(10px, 0.9vw, 13px) * 2));
  max-height: calc((clamp(12px, 0.82vw, 15px) * 1.16 * 2) + (clamp(10px, 0.9vw, 13px) * 2));
  margin: 0;
  padding: clamp(10px, 0.9vw, 13px) clamp(12px, 1.1vw, 16px);
  overflow: hidden;
  background: #fff;
  color: inherit;
  font-size: clamp(12px, 0.82vw, 15px);
  line-height: 1.16;
  font-weight: 800;
  text-align: left;
  transition: background-color 0.28s ease, color 0.28s ease;
}

.news-card h3 span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.news-card:hover img,
.news-card:focus-visible img,
.news-slide:focus-within .news-card img {
  object-position: center top;
}

.news-card:hover h3,
.news-card:focus-visible h3,
.news-slide:focus-within .news-card h3 {
  background: var(--red);
  color: #fff;
}

@media (max-width: 1280px) and (min-width: 768px) {
  .news {
    padding: clamp(52px, 7svh, 76px) 0 clamp(52px, 8svh, 86px);
  }

  .news-carousel {
    width: calc(100% - 28px);
  }

  .news-grid {
    gap: clamp(12px, 1.2vw, 16px);
  }

  .news-card {
    inset: 0;
  }

  .news-card h3 {
    padding: 10px;
    min-height: calc((clamp(11px, 1.05vw, 13px) * 1.14 * 2) + 20px);
    max-height: calc((clamp(11px, 1.05vw, 13px) * 1.14 * 2) + 20px);
    font-size: clamp(11px, 1.05vw, 13px);
    line-height: 1.14;
  }

  .news-card:hover,
  .news-card:focus-visible,
  .news-slide:focus-within .news-card {
    inset: calc(-5% + 3px) -5% calc(-5% - 3px);
  }
}

@media (min-width: 1441px) {
  .history-slider {
    padding-top: clamp(38px, 5.5svh, 76px);
  }

  .history-slider::before,
  .history-slider::after {
    top: calc(40% + clamp(24px, 1.8vw, 36px));
  }

  .history-nav {
    top: calc((var(--history-size) * 0.55) + clamp(50px, 3.2vw, 66px));
  }

  .hero-logo-mark {
    top: clamp(76px, 5.7vw, 110px);
  }

  .hero-logo-image {
    width: clamp(430px, 25.6vw, 492px);
  }

  .tray-wrap {
    top: 35%;
    width: clamp(960px, 53vw, 1020px);
  }

  .hero-product {
    width: clamp(510px, 28vw, 540px);
  }

  .hero-tb {
    left: calc(50% - clamp(980px, 54vw, 1040px));
  }

  .hero-tk {
    right: calc(50% - clamp(980px, 54vw, 1040px));
  }

  .hero-leaf-4 {
    right: calc(50% - clamp(420px, 28vw, 540px));
  }

  .products {
    padding-top: clamp(82px, 8svh, 102px);
    padding-bottom: clamp(72px, 7svh, 92px);
  }

  .product-stage {
    height: clamp(360px, 38svh, 430px);
    margin-top: 8px;
  }

  .product-track {
    height: 100%;
  }

  .product-item {
    height: clamp(350px, 36svh, 400px);
  }

  .product-circle {
    height: clamp(270px, 29svh, 315px);
    flex-basis: clamp(270px, 29svh, 315px);
  }

  .product-circle img {
    height: clamp(205px, 22svh, 238px);
  }

  .product-item.active .product-circle img {
    height: clamp(252px, 27svh, 286px);
  }
}

@media (min-width: 768px) and (max-height: 920px) {
  .history-slider {
    --history-size: clamp(390px, min(34vw, 60svh), 540px);
    padding-top: clamp(48px, 7svh, 68px);
    padding-bottom: clamp(48px, 7svh, 68px);
  }

  .history-slider::before,
  .history-slider::after {
    top: 50%;
  }

  .history-nav {
    top: calc(var(--history-size) * 0.5);
  }

  .history-pagination {
    margin-top: clamp(4px, 0.9svh, 8px);
  }

  .history-text {
    max-width: 860px;
    min-height: 0;
    margin-top: clamp(4px, 0.8svh, 8px);
    font-size: clamp(18px, 2.9svh, 26px);
    line-height: 1.05;
  }

}

.key-visual {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #f1ead7;
}

.key-visual > img:first-child {
  width: 100%;
  min-height: 640px;
  object-fit: cover;
}

.extra-layer {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 300px;
}

.about-1970 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 120px max(70px, calc((100vw - 1460px) / 2)) 140px;
  background: #fff9ed;
}

.about-art {
  position: relative;
  min-height: 560px;
  aspect-ratio: 1;
  max-width: 560px;
}

.about-art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #f5e4b8 0%, #ddb96a 100%);
  z-index: 0;
}

.about-photo {
  position: absolute;
  z-index: 1;
  width: 88%;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0;
  object-fit: cover;
}

.about-logo {
  position: absolute;
  z-index: 3;
  width: 180px;
  left: 5%;
  top: 8%;
}

.about-cloud {
  position: absolute;
  z-index: 3;
  width: 130px;
  right: 4%;
  top: 6%;
}

.about-copy {
  max-width: 650px;
}

.site-footer {
  position: relative;
  min-height: clamp(340px, 26vw, 440px);
  overflow: hidden;
  background-color: #d6c8b2;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--footer-background-image, url("assets/backgrounds/footer-chef-bg.jpg")) right center / cover no-repeat;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 120px));
  min-height: clamp(340px, 26vw, 440px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: clamp(32px, 3vw, 56px);
}

.footer-brand img {
  width: clamp(180px, 13vw, 240px);
  margin-bottom: 18px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: clamp(20px, 1.4vw, 26px);
  font-weight: 800;
}

.site-footer p {
  margin: 0;
  font-size: clamp(15px, 1vw, 18px);
  line-height: 1.45;
}

.footer-product-links a:hover,
.footer-product-links a:focus-visible,
.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: var(--red);
  font-weight: 600;
}

.footer-product-links a:focus-visible,
.footer-contact-link:focus-visible,
.socials a:focus-visible,
.floating-social-popover a:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.35);
  outline-offset: 3px;
}

.social-title {
  margin-top: 22px !important;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  transition: transform 0.2s ease;
}

.socials a:hover,
.socials a:focus-visible {
  transform: scale(1.12);
}

.socials img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.floating-actions {
  position: fixed;
  z-index: 70;
  right: 34px;
  bottom: 36px;
  display: grid;
  gap: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.floating-actions.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-action-button {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #1d7c6a;
  box-shadow: none;
  cursor: pointer;
  appearance: none;
  text-decoration: none;
}

.floating-action-button img {
  width: 38px;
  max-height: 38px;
}

.floating-social {
  position: relative;
}

.floating-social-toggle svg,
.floating-social-toggle img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  fill: #fff;
}

.floating-social-popover {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 16px 34px rgba(22, 83, 72, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(10px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.floating-social.is-open .floating-social-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.floating-social-popover a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: transparent;
  transition: transform 0.2s ease;
}

.floating-social-popover a:hover,
.floating-social-popover a:focus-visible {
  transform: scale(1.07);
}

.floating-social-popover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

@media (max-width: 1600px) {
  .site-header {
    padding: 0 36px;
    gap: 40px;
  }

  .footer-inner {
    width: min(1400px, calc(100% - 100px));
    gap: 60px;
  }

  .footer-brand img {
    width: clamp(240px, 20vw, 320px);
    margin-bottom: 36px;
  }

  .value-cards {
    width: min(1280px, calc(100% - 96px));
    gap: 22px;
  }
}

@media (max-width: 1600px) and (min-width: 1025px) {
  .hero {
    grid-template-columns: minmax(210px, 1fr) minmax(390px, min(46vw, 600px)) minmax(210px, 1fr);
    padding-top: clamp(88px, 7vw, 104px);
  }

  .hero-product {
    width: clamp(235px, 21vw, 340px);
  }

  .hero-tb {
    margin-right: clamp(-26px, -1.7vw, -12px);
  }

  .hero-tk {
    margin-left: clamp(-26px, -1.7vw, -12px);
  }

  .hero-center {
    padding: clamp(48px, 4vw, 66px) clamp(16px, 2vw, 32px) 0;
  }

  .hero-logo-mark {
    margin-bottom: clamp(34px, 3vw, 48px);
  }

  .hero-logo-image {
    width: clamp(280px, 23vw, 360px);
  }

  .tray-wrap {
    width: clamp(500px, 43vw, 700px);
  }
}

@media (max-width: 1280px) {
  .site-footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .history-slider {
    --history-viewport-offset: 92px;
  }

  .site-header {
    height: auto;
    min-height: 92px;
    padding: 20px 40px 20px 28px;
    gap: 22px;
  }

  .brand-lockup {
    gap: 9px;
    font-size: 28px;
  }

  .brand-lockup img {
    height: 44px;
    width: auto;
  }

  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 28px;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    padding: 110px 24px 60px;
    background: var(--cream);
    font-size: 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
    transition: none;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  body.menu-open .floating-actions {
    display: none;
  }

  .hamburger {
    display: flex;
    order: 3;
    z-index: 120;
    margin-right: 4px;
  }

  .hamburger span {
    transition: none;
  }

  .header-tools {
    order: 2;
  }

  .brand {
    order: 1;
    margin-right: auto;
  }

  body.menu-open .site-header,
  .site-header:has(.main-nav.open) {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    align-items: flex-start;
    background: var(--cream);
    backdrop-filter: none;
    overflow: hidden;
  }

  .site-header .brand,
  .site-header .header-tools {
    transition: none;
  }

  body.menu-open .site-header .brand,
  body.menu-open .site-header .header-tools,
  .site-header:has(.main-nav.open) .brand,
  .site-header:has(.main-nav.open) .header-tools {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  body.menu-open .site-header .hamburger,
  .site-header:has(.main-nav.open) .hamburger {
    position: absolute;
    top: 30px;
    right: 40px;
    z-index: 130;
    margin: 0;
  }

  .main-nav.open a {
    padding: 8px 16px;
  }

  .main-nav.open .mobile-nav-umkm {
    display: inline-block;
  }

  .nav-lang-switcher {
    display: none;
  }

  .main-nav.open .nav-lang-switcher {
    display: flex;
    gap: 12px;
    margin-top: 8px;
  }

  .nav-lang-option {
    min-width: 52px;
    height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(237, 31, 50, 0.1);
    color: var(--red);
    font-size: 15px;
    font-weight: 800;
  }

  .nav-lang-option[data-lang].active,
  .nav-lang-option:focus {
    background: var(--red);
    color: #fff;
  }

  .about-1970,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .product-stage {
    width: calc(100% - 44px);
  }

  .recipe-row {
    width: calc(100% - 32px);
    transform: none;
    margin-inline: auto;
    padding: 0;
  }

  .recipe-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 20px);
    justify-content: center;
  }

  .news-carousel {
    margin-top: 46px;
  }

  .footer-inner {
    width: calc(100% - 70px);
    padding: 70px 0;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .products {
    --product-offset-1-left: -21cqw;
    --product-offset-1-right: 21cqw;
    --product-offset-2-left: -42cqw;
    --product-offset-2-right: 42cqw;
    --product-offset-1-y: 0px;
    --product-offset-2-y: 0px;
  }

  .product-stage {
    width: calc(100% - 48px);
  }

  .product-item {
    width: 270px;
  }

  .product-item h3 {
    font-size: 24px;
  }

  .product-circle img {
    height: 240px;
  }

  .product-item.active .product-circle img {
    height: 292px;
  }

  .product-item[data-offset="-2"] {
    --x: var(--product-offset-2-left);
    --y: var(--product-offset-2-y);
    --scale: 0.8;
    --z: 1;
  }

  .product-item[data-offset="-1"] {
    --x: var(--product-offset-1-left);
    --y: var(--product-offset-1-y);
    --scale: 0.8;
    --z: 2;
  }

  .product-item[data-offset="0"] {
    --x: 0px;
    --y: 0px;
    --scale: 1;
    --z: 4;
  }

  .product-item[data-offset="1"] {
    --x: var(--product-offset-1-right);
    --y: var(--product-offset-1-y);
    --scale: 0.8;
    --z: 2;
  }

  .product-item[data-offset="2"] {
    --x: var(--product-offset-2-right);
    --y: var(--product-offset-2-y);
    --scale: 0.8;
    --z: 1;
  }
}

@media (min-width: 1025px) and (min-height: 921px) {
  .product-stage {
    margin-top: clamp(10px, 1.6svh, 24px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .products {
    --product-offset-1-left: -21cqw;
    --product-offset-1-right: 21cqw;
    --product-offset-2-left: -42cqw;
    --product-offset-2-right: 42cqw;
    --product-offset-1-y: 0px;
    --product-offset-2-y: 0px;
    --product-label-row-height: 42px;
    padding: 96px 0 92px;
  }

  .product-stage {
    width: calc(100% - 40px);
    height: 430px;
  }

  .product-track {
    height: 390px;
  }

  .product-item {
    width: 210px;
    height: 340px;
    gap: 36px;
  }

  .product-item h3 {
    height: 42px;
    font-size: 18px;
  }

  .product-circle {
    width: 210px;
    height: 250px;
    flex-basis: 250px;
  }

  .product-circle img {
    height: 178px;
  }

  .product-item.active .product-circle img {
    height: 220px;
  }

  .product-item[data-offset="-2"] {
    --x: var(--product-offset-2-left);
    --y: var(--product-offset-2-y);
    --scale: 0.76;
    --z: 1;
  }

  .product-item[data-offset="-1"] {
    --x: var(--product-offset-1-left);
    --y: var(--product-offset-1-y);
    --scale: 0.76;
    --z: 2;
  }

  .product-item[data-offset="0"] {
    --x: 0px;
    --y: 0px;
    --scale: 1;
    --z: 4;
  }

  .product-item[data-offset="1"] {
    --x: var(--product-offset-1-right);
    --y: var(--product-offset-1-y);
    --scale: 0.76;
    --z: 2;
  }

  .product-item[data-offset="2"] {
    --x: var(--product-offset-2-right);
    --y: var(--product-offset-2-y);
    --scale: 0.76;
    --z: 1;
  }

  .product-controls {
    width: min(360px, calc(100% - 32px));
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 10px;
  }

  .product-active-label {
    min-width: 0;
  }

}

@media (min-width: 768px) and (max-width: 900px) {
  .product-item[data-offset]:not([data-offset="0"]) {
    --opacity: 0;
    --events: none;
  }

  .product-controls {
    width: min(320px, calc(100% - 32px));
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .history-slider {
    --history-viewport-offset: 104px;
  }

  .site-header {
    height: 104px;
    min-height: 0;
    align-items: center;
    padding: 0 28px;
    gap: clamp(18px, 2vw, 34px);
    overflow: visible;
  }

  .brand {
    order: 0;
    margin-right: 0;
  }

  .brand-lockup {
    gap: 8px;
    font-size: clamp(20px, 2.1vw, 27px);
  }

  .brand-lockup img {
    height: clamp(28px, 3.5vw, 42px);
    width: auto;
  }

  .main-nav {
    position: static;
    inset: auto;
    z-index: 1;
    display: flex;
    flex: 1;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(16px, 2vw, 28px);
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    font-size: clamp(14px, 1.28vw, 17px);
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
    will-change: auto;
  }

  .main-nav a {
    white-space: nowrap;
  }

  .main-nav.open a {
    padding: 0;
  }

  .hamburger {
    display: none;
  }

  .header-tools {
    order: 0;
    gap: clamp(14px, 1.6vw, 24px);
  }

  .lang-toggle {
    min-width: clamp(56px, 5.6vw, 70px);
    height: clamp(36px, 3.6vw, 44px);
    padding: 0 clamp(12px, 1.4vw, 17px);
    font-size: clamp(13px, 1.2vw, 16px);
  }

  .icon-button {
    width: clamp(34px, 3.4vw, 42px);
    height: clamp(34px, 3.4vw, 42px);
  }

  .icon-button img {
    width: clamp(25px, 2.7vw, 31px);
  }

  .nav-lang-switcher,
  .main-nav.open .nav-lang-switcher {
    display: none;
  }

  body.menu-open .site-header,
  .site-header:has(.main-nav.open) {
    height: 104px;
    min-height: 0;
    align-items: center;
    background: rgba(234, 216, 173, 0.78);
    backdrop-filter: blur(14px);
    overflow: visible;
  }

  body.menu-open .site-header .brand,
  body.menu-open .site-header .header-tools,
  .site-header:has(.main-nav.open) .brand,
  .site-header:has(.main-nav.open) .header-tools {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.menu-open .floating-actions {
    display: none !important;
  }

  .site-footer {
    min-height: clamp(390px, 34vw, 450px);
  }

  .footer-inner {
    width: min(1060px, calc(100% - clamp(88px, 9vw, 132px)));
    min-height: clamp(390px, 34vw, 450px);
    grid-template-columns: minmax(250px, 1.08fr) minmax(170px, 0.72fr) minmax(260px, 0.95fr);
    align-items: center;
    gap: clamp(26px, 3vw, 42px);
    padding: clamp(44px, 5vw, 62px) 0;
  }

  .footer-brand img {
    width: clamp(190px, 17vw, 220px);
    margin-bottom: 24px;
  }

  .site-footer h2 {
    margin-bottom: 12px;
    font-size: clamp(18px, 1.6vw, 22px);
  }

  .site-footer p {
    font-size: clamp(14px, 1.2vw, 16px);
    line-height: 1.42;
  }

  .social-title {
    margin-top: 26px !important;
  }

  .socials {
    flex-wrap: wrap;
    max-width: 270px;
  }
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 0;
    background-size: 480px;
    padding-top: 92px;
    padding-bottom: 28px;
  }

  .hero-center {
    grid-column: 1;
    grid-row: 1;
    z-index: 3;
    padding: 38px 36px 0;
  }

  .hero-tb {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    align-self: end;
    justify-self: start;
    margin: 0 0 clamp(20px, 3vw, 34px) clamp(12px, 3vw, 34px);
    width: clamp(188px, 25vw, 230px);
    transform: rotate(-8deg);
  }

  .hero-tk {
    display: block;
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    align-self: end;
    justify-self: end;
    margin: 0 clamp(12px, 3vw, 34px) clamp(20px, 3vw, 34px) 0;
    width: clamp(188px, 25vw, 230px);
    transform: rotate(8deg);
  }

  .hero-logo-mark {
    margin-bottom: 24px;
  }

  .hero-logo-image {
    width: min(280px, 34vw);
  }

  .tray-wrap {
    width: min(500px, 56vw);
  }

  .hero-leaf {
    display: none;
  }
}

@media (max-width: 767px) {
  .site-header {
    height: 78px;
    min-height: 78px;
    padding: 0;
    gap: 0;
  }

  .brand {
    position: absolute;
    top: 50%;
    left: 18px;
    margin-right: 0;
    transform: translateY(-50%);
  }

  .brand-lockup {
    gap: 7px;
    font-size: 22px;
  }

  .brand-lockup img {
    height: 30px;
    width: auto;
  }

  .header-tools {
    position: absolute;
    top: 50%;
    right: 58px;
    flex-shrink: 0;
    gap: 6px;
    transform: translateY(-50%);
  }

  .lang-toggle {
    display: none;
  }

  .icon-button {
    width: 36px;
    height: 36px;
  }

  .hamburger {
    position: absolute;
    top: 50%;
    right: 18px;
    flex-shrink: 0;
    margin-right: 0;
    padding: 6px;
    transform: translateY(-50%);
  }

  .main-nav.open {
    gap: 24px;
    padding: 96px 24px 48px;
    font-size: 28px;
  }

  body.menu-open .site-header .hamburger,
  .site-header:has(.main-nav.open) .hamburger {
    top: 26px;
    right: 30px;
    transform: none;
  }

  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 0;
    padding-top: 86px;
    padding-bottom: 40px;
    background-color: var(--cream);
    background-image:
      var(--hero-pattern-image, url("assets/backgrounds/pattern-hero-batik.webp"));
    background-size: 360px;
    background-repeat: repeat;
    background-position: center bottom;
  }

  .hero-tb {
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    align-self: end;
    justify-self: start;
    margin: 0 0 clamp(12px, 4vw, 28px) clamp(10px, 3vw, 20px);
    width: clamp(120px, 32vw, 170px);
  }

  .hero-tk {
    display: block;
    grid-column: 1;
    grid-row: 1;
    z-index: 2;
    align-self: end;
    justify-self: end;
    margin: 0 clamp(10px, 3vw, 20px) clamp(12px, 4vw, 28px) 0;
    width: clamp(120px, 32vw, 170px);
  }

  .hero-center {
    grid-column: 1;
    grid-row: 1;
    padding: 34px 24px 0;
  }

  .hero-logo-mark {
    width: auto;
    margin-bottom: 24px;
  }

  .hero-logo-image {
    width: min(238px, 58vw);
  }

  .tray-wrap {
    width: min(68vw, 380px);
  }

  .hero-leaf {
    display: none;
  }

  .history-slider {
    --history-viewport-offset: 78px;
    --history-size: min(74vw, 310px);
    padding: 42px 0 48px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    background-size: 100% 100%, 520px;
  }

  .history-card {
    width: calc(100% - 32px);
    overflow: visible;
  }

  .history-card .swiper-wrapper {
    height: var(--history-size);
    overflow: hidden;
  }

  .history-circle {
    width: var(--history-size);
    height: var(--history-size);
  }

  .history-slide {
    height: var(--history-size);
  }

  .history-nav {
    top: calc(var(--history-size) * 0.5);
    width: 54px;
    height: 54px;
    z-index: 7;
    opacity: 1;
    filter: drop-shadow(0 1px 1px rgba(255, 252, 242, 0.7));
  }

  .history-nav::before {
    width: 24px;
    height: 24px;
    border-width: 4px;
    border-color: rgba(105, 88, 60, 0.86);
  }

  .history-prev {
    left: 22px;
  }

  .history-next {
    right: 22px;
  }

  .history-pagination {
    position: relative;
    z-index: 6;
    gap: 9px;
    margin-top: 18px;
  }

  .history-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border: 6px solid transparent;
    background-clip: padding-box;
    box-sizing: content-box;
  }

  .history-text {
    position: relative;
    z-index: 6;
    max-width: min(306px, calc(100% - 54px));
    min-height: 0;
    height: auto;
    margin-top: 26px;
    overflow: visible;
    font-size: clamp(18px, 5vw, 20px);
    line-height: 1.18;
    overflow-wrap: normal;
    text-wrap: balance;
  }

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

  .about-copy p {
    font-size: 16px;
  }

  .section-title {
    padding: 0 16px;
    font-size: clamp(26px, 7vw, 34px);
    letter-spacing: 0.06em;
  }

  .products,
  .recipes,
  .news {
    position: relative;
    padding: 76px 0;
  }

  .recipes {
    min-height: 0;
  }

  .recipe-row {
    width: min(720px, calc(100% - 32px));
    margin-top: 28px;
    padding: 0;
  }

  .recipe-grid {
    grid-template-columns: repeat(2, minmax(0, 190px));
    gap: 16px;
    justify-content: center;
  }

  .products {
    --product-offset-1-left: -26cqw;
    --product-offset-1-right: 26cqw;
    --product-offset-1-y: 0px;
  }

  .product-stage {
    width: calc(100% - 32px);
    height: 272px;
    margin-top: 30px;
  }

  .product-track {
    height: 248px;
  }

  .product-item {
    width: 150px;
    height: 220px;
    gap: 24px;
  }

  .product-circle {
    width: 128px;
    height: 128px;
    flex-basis: 128px;
  }

  .product-circle img {
    height: 112px;
  }

  .product-item.active .product-circle img {
    height: 124px;
  }

  .product-item[data-offset="-2"],
  .product-item[data-offset="2"] {
    --opacity: 0;
    --events: none;
  }

  .product-item[data-offset="-1"] {
    --x: var(--product-offset-1-left);
    --y: 0px;
    --scale: 0.74;
  }

  .product-item[data-offset="0"] {
    --x: 0px;
    --y: 0px;
    --scale: 1;
  }

  .product-item[data-offset="1"] {
    --x: var(--product-offset-1-right);
    --y: 0px;
    --scale: 0.74;
  }

  .product-controls {
    grid-template-columns: 38px minmax(120px, auto) 38px;
    gap: 20px;
    margin-top: 0;
  }

  .product-nav {
    width: 38px;
    height: 38px;
  }

  .product-active-label,
  .product-item h3 {
    font-size: 18px;
  }

  .product-item:not(.active) h3 {
    visibility: hidden;
  }

  .pill-button {
    min-width: min(270px, calc(100% - 48px));
    min-height: 62px;
    padding: 0 26px;
    font-size: 15px;
  }

  .value-banner {
    --value-bg-position: center center;
    --value-bg-size: auto 100%;
    min-height: clamp(420px, 112vw, 620px);
    padding: 28px 0 60px;
  }

  .value-cards {
    width: calc(100% - 32px);
    max-width: 360px;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .value-card {
    min-height: 92px;
    gap: 5px;
    padding: 13px 16px;
  }

  .value-card img {
    width: 34px;
    height: 34px;
  }

  .value-card h3 {
    font-size: 15px;
  }

  .value-card p {
    font-size: 11px;
  }

  .recipe-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .recipe-card.featured {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    transform: none;
    box-shadow: none;
    z-index: auto;
  }

  .recipe-card.featured span {
    font-size: 23px;
    transform: none;
  }

  .recipe-card.featured::before {
    opacity: 0;
  }

  .recipe-card::before {
    opacity: 0;
  }

  .recipe-card img {
    object-position: center top;
  }

  .news {
    padding: 48px 0 58px;
  }

  .news .section-title {
    font-size: clamp(36px, 11vw, 44px);
    letter-spacing: 0.12em;
  }

  .news-carousel {
    margin-top: 24px;
    padding-bottom: 16px;
  }

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

  .news-card {
    inset: 0;
  }

  .news-card h3 {
    min-height: 0;
    padding: 12px 14px;
    min-height: calc((13px * 1.14 * 2) + 24px);
    max-height: calc((13px * 1.14 * 2) + 24px);
    font-size: 13px;
    line-height: 1.14;
  }

  .news-card:hover,
  .news-card:focus-visible,
  .news-slide:focus-within .news-card {
    inset: calc(-3% + 2px) -3% calc(-3% - 2px);
  }

  .about-1970 {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 70px 24px;
  }

  .about-art {
    min-height: 340px;
  }

  .about-circle {
    width: 320px;
  }

  .about-photo {
    width: 250px;
  }

  .about-logo {
    width: 130px;
  }

  .about-cloud {
    width: 105px;
  }

  .footer-inner {
    width: 100%;
    padding-inline: 20px;
    text-align: center;
    gap: 42px;
  }

  .footer-brand img {
    width: 230px;
    margin: 0 auto 28px;
  }

  .socials {
    justify-content: center;
  }

  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .floating-actions {
    left: 50%;
    right: auto;
    bottom: calc(12px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(3, 48px);
    gap: 8px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 14px 32px rgba(22, 83, 72, 0.18);
    transform: translate(-50%, 10px);
  }

  .floating-actions.is-visible {
    transform: translate(-50%, 0);
  }

  .floating-action-button {
    width: 48px;
    height: 48px;
  }

  .floating-action-button img {
    width: 26px;
    max-height: 26px;
  }

  .floating-social-toggle svg,
  .floating-social-toggle img {
    width: 25px;
    height: 25px;
  }

  .floating-social-popover {
    top: auto;
    right: auto;
    bottom: calc(100% + 10px);
    left: 50%;
    grid-template-columns: repeat(3, 34px);
    gap: 8px;
    padding: 10px;
    border-radius: 14px;
    transform: translate(-50%, 10px);
  }

  .floating-social.is-open .floating-social-popover {
    transform: translate(-50%, 0);
  }

  .floating-social-popover a {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .floating-social-popover img {
    width: 100%;
    height: 100%;
  }

}

/* Hero artboard: keeps the key visual proportional across viewport sizes. */
/* Layout matches Home Page 2.psd (1920×1080 canvas). */
.hero {
  --hero-stage: min(100vw, 1920px);
  --hero-stage-left: calc((100vw - var(--hero-stage)) / 2);
  --hero-logo-top: max(7%, 112px);
  --hero-logo-width: min(20vw, 384px);
  --hero-logo-to-tagline: clamp(132px, max(10.1vw, 21.5svh), 255px);
  --hero-tagline-top: calc(var(--hero-logo-top) + var(--hero-logo-to-tagline));
  --hero-tagline-size: min(2.34vw, 45px);
  --hero-tagline-to-tray: clamp(52px, 8.6svh, 86px);
  --hero-tray-top: calc(var(--hero-tagline-top) + var(--hero-tagline-to-tray));
  --hero-tray-width: min(30.52vw, 586px);
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: block;
  height: max(720px, 100svh);
  padding: 0;
  overflow: hidden;
  background-color: var(--hero-cream);
  background-image: none;
}

.hero-oval {
  display: none;
}

.hero-wheat {
  display: none;
}

.hero-flour-fill {
  display: none;
}

/* Decorative starch/flour splash behind products */
.hero-starch-splash {
  position: absolute;
  z-index: 1;
  top: max(12%, 130px);
  left: calc(var(--hero-stage-left) + clamp(300px, 19vw, 340px));
  width: min(29vw, 540px);
  opacity: 0.62;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse at 20% 24%, #000 0 30%, rgba(0, 0, 0, 0.58) 46%, transparent 68%);
  mask-image: radial-gradient(ellipse at 20% 24%, #000 0 30%, rgba(0, 0, 0, 0.58) 46%, transparent 68%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  pointer-events: none;
  will-change: transform, opacity;
}

.hero-center {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: block;
  padding: 0;
}

.hero-logo-mark {
  position: absolute;
  z-index: 6;
  top: var(--hero-logo-top);
  left: 50%;
  width: var(--hero-logo-width);
  margin: 0;
  transform: translateX(-50%);
  will-change: transform, opacity;
}

.hero-logo-image {
  width: 100%;
  max-width: none;
}

.hero-tagline {
  position: absolute;
  z-index: 6;
  top: var(--hero-tagline-top);
  left: 0;
  right: 0;
  margin: 0;
  white-space: nowrap;
  font-family: "Milonga", cursive;
  font-size: var(--hero-tagline-size);
  font-weight: 400;
  color: #1a1a1a;
  text-align: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.tray-wrap {
  position: absolute;
  z-index: 5;
  top: var(--hero-tray-top);
  left: 0;
  right: 0;
  margin: auto;
  width: var(--hero-tray-width);
  will-change: transform, opacity;
}

.tray-wrap::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 12%;
  right: 12%;
  bottom: 4%;
  height: 16%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(94, 67, 36, 0.22), rgba(94, 67, 36, 0.08) 48%, transparent 72%);
  filter: blur(12px);
  pointer-events: none;
}

.tray {
  position: relative;
  z-index: 2;
}

.hero-product {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  overflow: visible;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.hero-product-image {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  max-width: none;
  transform: scale(var(--hero-product-zoom, 1));
  transform-origin: center bottom;
}

/* PSD bbox (left, top): 189, 701  width: 411px */
.hero-tb {
  left: calc(var(--hero-stage-left) + min(15vw, 288px));
  top: 64.91%;
  width: min(17vw, 326px);
  transform: none;
}

/* PSD bbox (left, top): 1322, 709  width: 431px */
.hero-tk {
  left: calc(var(--hero-stage-left) + min(71vw, 1363px));
  top: 65.65%;
  width: min(17vw, 326px);
  transform: none;
}

/* PSD bbox (left, top): 288, 125  width: 402px */
.hero-tapioka {
  left: calc(var(--hero-stage-left) + min(16.5vw, 317px));
  top: 20%;
  width: min(17vw, 326px);
}

/* PSD bbox (left, top): -155, 331  width: 490px */
.hero-minyak {
  left: calc(var(--hero-stage-left) - min(8vw, 154px));
  top: 30.65%;
  width: min(20vw, 384px);
  transform: none;
}

/* PSD bbox (left, top): 1615, 346  width: 461px */
.hero-gula {
  left: calc(var(--hero-stage-left) + min(87vw, 1670px));
  top: 40%;
  width: min(20.4vw, 392px);
  transform: none;
}

/* PSD bbox (left, top): 1206, 157  width: 396px */
.hero-tani {
  left: calc(var(--hero-stage-left) + min(66.5vw, 1277px));
  top: 20%;
  width: min(17vw, 326px);
}

/* The four center flour assets are normalized to the same transparent canvas and content height. */
.hero-product.hero-tapioka,
.hero-product.hero-tani,
.hero-product.hero-tb,
.hero-product.hero-tk {
  width: min(17vw, 326px) !important;
}

/* PSD bbox (left, top): 1622, 84  width: 200px */
.hero-santan {
  left: auto;
  right: calc(var(--hero-stage-left) + min(0.5vw, 10px));
  top: 10%;
  width: min(8.8vw, 169px);
}

.hero-leaf {
  position: absolute;
  z-index: 7;
  display: block;
  pointer-events: none;
  will-change: transform, opacity;
}

/* PSD leaf 26 — upper-left  bbox: 92, 167  w:163 */
.hero-leaf-1 {
  left: calc(var(--hero-stage-left) + min(4.79vw, 92px));
  top: 15.46%;
  width: min(8.49vw, 163px);
}

/* PSD leaf 29 — lower-center-right  bbox: 1200, 892  w:157 */
.hero-leaf-2 {
  left: calc(var(--hero-stage-left) + min(64.04vw, 1230px));
  top: 82.59%;
  width: min(5.11vw, 98px);
}

/* PSD leaf 28 — upper-right  bbox: 1608, 213  w:279 */
.hero-leaf-3 {
  left: calc(var(--hero-stage-left) + min(80vw, 1536px));
  top: 19.72%;
  width: min(14.53vw, 279px);
}

@media (min-width: 1921px) and (min-height: 1081px) {
  .hero {
    --hero-stage-top: calc((100svh - 1080px) / 2);
    --hero-logo-top: calc(var(--hero-stage-top) + 112px);
    --hero-logo-width: 384px;
    --hero-tagline-top: calc(var(--hero-stage-top) + 367px);
    --hero-tagline-size: 45px;
    --hero-tray-top: calc(var(--hero-stage-top) + 443px);
    --hero-tray-width: 586px;
  }

  .hero-starch-splash {
    top: calc(var(--hero-stage-top) + 160px);
  }

  .hero-logo-mark {
    top: var(--hero-logo-top);
    width: var(--hero-logo-width);
  }

  .hero-tagline {
    top: var(--hero-tagline-top);
    font-size: var(--hero-tagline-size);
  }

  .tray-wrap {
    top: var(--hero-tray-top);
    width: var(--hero-tray-width);
  }

  .hero-tapioka {
    top: calc(var(--hero-stage-top) + 125px);
  }

  .hero-tani {
    top: calc(var(--hero-stage-top) + 157px);
  }

  .hero-minyak {
    top: calc(var(--hero-stage-top) + 331px);
  }

  .hero-gula {
    top: calc(var(--hero-stage-top) + 346px);
  }

  .hero-santan {
    top: calc(var(--hero-stage-top) + 84px);
  }

  .hero-tb {
    top: calc(var(--hero-stage-top) + 701px);
  }

  .hero-tk {
    top: calc(var(--hero-stage-top) + 709px);
  }

  .hero-leaf-1 {
    top: calc(var(--hero-stage-top) + 167px);
  }

  .hero-leaf-2 {
    top: calc(var(--hero-stage-top) + 892px);
  }

  .hero-leaf-3 {
    top: calc(var(--hero-stage-top) + 213px);
  }
}

/* ── Responsive: mobile (<768px) ── */
@media (max-width: 767px) {
  .hero {
    height: clamp(440px, 130vw, 580px);
  }

  .hero-minyak,
  .hero-gula,
  .hero-santan,
  .hero-starch-splash,
  .hero-tapioka,
  .hero-tani {
    display: none;
  }

  .hero-logo-mark {
    top: clamp(88px, 22vw, 128px);
    left: 50%;
    width: auto;
    transform: translateX(-50%);
    z-index: 7;
  }

  .hero-logo-image {
    width: clamp(90px, 22vw, 130px);
  }

  .hero-tagline {
    top: clamp(135px, 33vw, 195px);
    left: 0;
    right: 0;
    font-size: clamp(14px, 4.5vw, 22px);
    white-space: normal;
  }

  .tray-wrap {
    top: clamp(175px, 42vw, 255px);
    left: 0;
    width: clamp(260px, 66vw, 400px);
  }

  /* Show TB and TK at bottom corners on full-height mobile hero */
  .hero-tb {
    display: block;
    left: 2%;
    top: 65%;
    margin: 0;
  }

  .hero-tk {
    display: block;
    left: auto;
    right: 2%;
    top: 65%;
    margin: 0;
  }

  .hero-leaf-1 {
    left: 4%;
    top: 8%;
    width: clamp(40px, 10vw, 70px);
  }

  .hero-leaf-2 {
    display: none;
  }

  .hero-leaf-3 {
    left: auto;
    right: 1%;
    top: 10%;
    width: clamp(60px, 15vw, 100px);
  }
}

/* ── Responsive: tablet portrait (768–1024px, portrait) — cap height, not full screen ── */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero {
    height: 100svh;
    min-height: 720px;
  }
}

/* ── Responsive: tablet (768–1024px) ── */
@media (min-width: 768px) and (max-width: 1024px) {
  /* landscape: base max(560px,100svh) applies (full height) — no height override needed */

  .hero-minyak,
  .hero-gula,
  .hero-santan {
    display: block;
  }

  /* Use same % layout as desktop so positions scale with full-height hero */
  .hero-logo-mark {
    top: max(7%, 112px);
    left: 50%;
    width: 24%;
    transform: translateX(-50%);
  }

  .hero-logo-image {
    width: 100%;
  }

  .hero-tagline {
    top: max(36%, 10vw + 132px);
    left: 0;
    right: 0;
    font-size: clamp(14px, 2.2vw, 24px);
  }

  /* left:0 restores base centering (left:0 + right:0 + margin:auto = centered) */
  .tray-wrap {
    top: max(43%, 13vw + 156px);
    left: 0;
    width: clamp(280px, 45vw, 420px);
  }

  .hero-tapioka {
    left: 16.5%;
    top: 20%;
  }

  .hero-tani {
    left: 66.5%;
    top: 20%;
  }

  .hero-tb {
    left: 15%;
    top: 65%;
    margin: 0;
  }

  .hero-tk {
    left: 71%;
    top: 65%;
    margin: 0;
  }

  .hero-minyak {
    left: -5%;
    top: 35%;
    width: clamp(112px, 18vw, 170px);
  }

  .hero-gula {
    left: auto;
    right: -5%;
    top: 38%;
    width: clamp(112px, 18vw, 170px);
  }

  .hero-santan {
    left: auto;
    right: 3%;
    top: max(96px, 14%);
    z-index: 8;
    width: clamp(70px, 10vw, 92px);
  }

  .hero-leaf-1 {
    left: clamp(10px, 3vw, 35px);
    top: clamp(60px, 7vw, 80px);
    width: clamp(46px, 7vw, 80px);
  }

  .hero-leaf-2 {
    left: calc(clamp(380px, 57vw, 620px) + clamp(9px, 1.22vw, 14px));
    top: clamp(260px, 35vw, 390px);
    width: clamp(29px, 4.06vw, 47px);
  }

  .hero-leaf-3 {
    left: auto;
    right: clamp(-18px, -1.5vw, -8px);
    top: clamp(118px, 15vw, 150px);
    width: clamp(80px, 12vw, 135px);
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .hero-logo-mark {
    top: clamp(112px, 11svh, 132px);
    width: clamp(156px, 24vw, 190px);
  }

  .hero-tagline {
    top: clamp(325px, 34svh, 370px);
    font-size: clamp(18px, 2.4vw, 24px);
  }

  .tray-wrap {
    top: clamp(430px, 45svh, 490px);
    width: clamp(380px, 56vw, 470px);
  }

  .hero-tapioka,
  .hero-tani,
  .hero-tb,
  .hero-tk,
  .hero-product.hero-tapioka,
  .hero-product.hero-tani,
  .hero-product.hero-tb,
  .hero-product.hero-tk {
    width: clamp(132px, 19vw, 176px) !important;
  }

  .hero-tapioka {
    left: calc(var(--hero-stage-left) + 16vw);
    top: clamp(160px, 18svh, 205px);
  }

  .hero-tani {
    left: calc(var(--hero-stage-left) + 67vw);
    top: clamp(160px, 18svh, 205px);
  }

  .hero-tb {
    left: calc(var(--hero-stage-left) + 15vw);
    top: clamp(690px, 70svh, 745px);
  }

  .hero-tk {
    left: calc(var(--hero-stage-left) + 70vw);
    top: clamp(690px, 70svh, 745px);
  }

  .hero-minyak {
    left: calc(var(--hero-stage-left) - 6vw);
    top: clamp(300px, 35svh, 360px);
  }

  .hero-gula {
    right: calc(var(--hero-stage-left) - 6vw);
    top: clamp(320px, 38svh, 390px);
  }

  .hero-santan {
    right: calc(var(--hero-stage-left) + 2vw);
    top: clamp(120px, 14svh, 150px);
  }
}

/* Desktop (1025px+): base max(660px, 100svh) already handles full height — no cap needed */

/* Browser zoom 200%+ turns desktop into a short CSS viewport.
   Keep the hero to one viewport so it does not create a very long blank scroll area. */
@media (max-height: 520px) {
  .hero {
    --hero-short-tray-top: clamp(196px, 49svh, 254px);
    height: 100svh;
    min-height: 0;
  }

  .hero-logo-mark {
    top: clamp(102px, 24svh, 112px);
    width: clamp(124px, 17vw, 172px);
  }

  .hero-tagline {
    top: clamp(162px, 39svh, 190px);
    font-size: clamp(18px, 2.34vw, 24px);
  }

  .tray-wrap {
    top: var(--hero-short-tray-top);
    width: min(clamp(150px, 46svh, 212px), calc(100svh - var(--hero-short-tray-top) - 16px));
  }

  .hero-starch-splash {
    top: clamp(116px, 29svh, 152px);
    left: calc(var(--hero-stage-left) + clamp(130px, 17vw, 230px));
    width: min(28vw, 260px);
    display: none;
  }

  .hero-tapioka,
  .hero-tani,
  .hero-tb,
  .hero-tk,
  .hero-product.hero-tapioka,
  .hero-product.hero-tani,
  .hero-product.hero-tb,
  .hero-product.hero-tk {
    width: clamp(118px, 17vw, 164px) !important;
  }

  .hero-tapioka {
    left: calc(var(--hero-stage-left) + min(16.5vw, 235px));
    top: 20%;
  }

  .hero-tani {
    left: calc(var(--hero-stage-left) + min(66.5vw, 925px));
    top: 20%;
  }

  .hero-tb {
    left: calc(var(--hero-stage-left) + min(15vw, 210px));
    top: 61%;
  }

  .hero-tk {
    left: calc(var(--hero-stage-left) + min(71vw, 980px));
    top: 61.5%;
  }

  .hero-tb,
  .hero-tk,
  .hero-product.hero-tb,
  .hero-product.hero-tk {
    width: clamp(96px, 32svh, 148px) !important;
  }

  .hero-minyak {
    left: calc(var(--hero-stage-left) - min(8vw, 110px));
    top: 30.65%;
    width: clamp(132px, 20vw, 192px);
  }

  .hero-gula {
    left: calc(var(--hero-stage-left) + min(87vw, 1160px));
    top: 40%;
    width: clamp(132px, 20.4vw, 196px);
  }

  .hero-santan {
    right: calc(var(--hero-stage-left) + min(1vw, 16px));
    top: 10%;
    width: clamp(64px, 8.8vw, 86px);
  }

  .hero-leaf-1 {
    top: 15.46%;
  }

  .hero-leaf-2 {
    top: 82.59%;
  }

  .hero-leaf-3 {
    top: 19.72%;
  }

}

@media (max-height: 320px) {
  .hero-logo-mark {
    top: clamp(86px, 36svh, 96px);
    width: clamp(82px, 12vw, 106px);
  }

  .hero-logo-image {
    width: 100%;
  }

  .hero-tagline {
    top: clamp(154px, 65svh, 178px);
    font-size: clamp(14px, 2.5vw, 18px);
  }

  .tray-wrap {
    top: clamp(184px, 74svh, 204px);
    width: clamp(178px, 28vw, 225px);
  }

  .hero-starch-splash,
  .hero-tapioka,
  .hero-tani {
    display: block;
  }

  .hero-tapioka,
  .hero-tani,
  .hero-tb,
  .hero-tk,
  .hero-product.hero-tapioka,
  .hero-product.hero-tani,
  .hero-product.hero-tb,
  .hero-product.hero-tk {
    width: clamp(86px, 14vw, 118px) !important;
  }

  .hero-tapioka {
    left: calc(var(--hero-stage-left) + min(18vw, 160px));
    top: clamp(86px, 34svh, 100px);
  }

  .hero-tani {
    left: calc(var(--hero-stage-left) + min(68vw, 610px));
    top: clamp(86px, 34svh, 100px);
  }

  .hero-tb {
    left: calc(var(--hero-stage-left) + min(15vw, 120px));
    top: 64%;
  }

  .hero-tk {
    left: calc(var(--hero-stage-left) + min(71vw, 600px));
    top: 64%;
  }

  .hero-starch-splash {
    top: 22%;
    left: calc(var(--hero-stage-left) + min(18vw, 145px));
    width: min(25vw, 170px);
  }

  .hero-leaf-1 {
    top: 12%;
  }

  .hero-leaf-2 {
    top: 74%;
  }

  .hero-leaf-3 {
    top: 16%;
  }

}

@media (max-height: 320px) and (min-width: 768px) {
  .hero-logo-mark {
    top: clamp(96px, 38svh, 104px);
  }

  .hero-tapioka,
  .hero-tani {
    top: clamp(96px, 38svh, 104px);
  }
}

@media (max-height: 260px) {
  .hero-logo-mark {
    top: clamp(80px, 36svh, 92px);
    width: clamp(70px, 12vw, 94px);
  }

  .hero-tagline {
    top: clamp(136px, 58svh, 152px);
    font-size: clamp(13px, 2.65vw, 17px);
  }

  .tray-wrap {
    top: clamp(164px, 72svh, 176px);
    width: clamp(150px, 28vw, 198px);
  }

  .hero-starch-splash {
    top: 24%;
    left: calc(var(--hero-stage-left) + min(18vw, 145px));
    width: min(24vw, 145px);
  }

  .hero-tb,
  .hero-tk,
  .hero-product.hero-tb,
  .hero-product.hero-tk {
    display: none;
  }

  .hero-tapioka,
  .hero-tani,
  .hero-product.hero-tapioka,
  .hero-product.hero-tani {
    display: block;
    width: clamp(72px, 13vw, 98px) !important;
  }

  .hero-tapioka {
    left: calc(var(--hero-stage-left) + min(16vw, 112px));
    top: clamp(82px, 36svh, 94px);
  }

  .hero-tani {
    left: calc(var(--hero-stage-left) + min(70vw, 520px));
    top: clamp(82px, 36svh, 94px);
  }

  .hero-minyak,
  .hero-gula,
  .hero-santan,
  .hero-leaf-2 {
    display: none;
  }

  .hero-leaf-1 {
    top: 13%;
    width: clamp(32px, 8vw, 48px);
  }

  .hero-leaf-3 {
    top: 18%;
    width: clamp(50px, 12vw, 76px);
  }
}

@media (max-height: 260px) and (min-width: 768px) {
  .hero-logo-mark,
  .hero-tapioka,
  .hero-tani {
    top: clamp(94px, 40svh, 102px);
  }

  .hero-tagline {
    top: clamp(150px, 63svh, 164px);
  }

  .tray-wrap {
    top: clamp(174px, 75svh, 188px);
  }
}

@media (hover: none) and (pointer: coarse), (max-width: 1024px) {
  .tray-wrap::after {
    filter: blur(6px);
  }
}

/* Hide hero elements until JS reveal fires */
.hero:not(.is-revealed) .hero-logo-image,
.hero:not(.is-revealed) .hero-tb,
.hero:not(.is-revealed) .hero-tk,
.hero:not(.is-revealed) .hero-tapioka,
.hero:not(.is-revealed) .hero-minyak,
.hero:not(.is-revealed) .hero-gula,
.hero:not(.is-revealed) .hero-tani,
.hero:not(.is-revealed) .hero-santan,
.hero:not(.is-revealed) .hero-starch-splash,
.hero:not(.is-revealed) .hero-flour-fill,
.hero:not(.is-revealed) .hero-wheat,
.hero:not(.is-revealed) .tray-wrap,
.hero:not(.is-revealed) .hero-tagline,
.hero:not(.is-revealed) .hero-leaf-1,
.hero:not(.is-revealed) .hero-leaf-2,
.hero:not(.is-revealed) .hero-leaf-3 {
  visibility: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .hero .hero-logo-image,
  .hero .hero-tb,
  .hero .hero-tk,
  .hero .hero-tapioka,
  .hero .hero-minyak,
  .hero .hero-gula,
  .hero .hero-tani,
  .hero .hero-santan,
  .hero .hero-starch-splash,
  .hero .hero-flour-fill,
  .hero .hero-wheat,
  .hero .tray-wrap,
  .hero .hero-tagline,
  .hero .hero-leaf-1,
  .hero .hero-leaf-2,
  .hero .hero-leaf-3 {
    visibility: visible !important;
  }
}

.history-slider {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}


/* Smooth scroll-reveal for sections (activated only when JS runs) */
.scroll-reveal-ready .js-section:not(.hero) {
  opacity: 0;
  transform: none;
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity;
}

.scroll-reveal-ready .about-history-page .section-title.js-section {
  opacity: 0;
  transform: none;
  transition: opacity 2.2s ease-in-out;
  will-change: opacity;
}

.scroll-reveal-ready .about-history-page .section-title.js-section.is-visible {
  opacity: 1;
}

.scroll-reveal-ready .about-journey-step.js-section {
  transition: opacity 2.2s ease-in-out;
}

.scroll-reveal-ready .about-history-story.js-section,
.scroll-reveal-ready .about-history-story.js-section.is-visible {
  opacity: 1;
  transition: none;
}

.scroll-reveal-ready .about-history-story > * {
  transition:
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
  will-change: opacity, transform;
}

.scroll-reveal-ready .about-history-story:not(.is-visible) > * {
  opacity: 0;
  transform: translate3d(0, 48px, 0) scale(0.96);
}

.scroll-reveal-ready .about-history-story.is-visible > * {
  opacity: 1;
  transform: none;
}

.scroll-reveal-ready .site-footer {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-ready .js-section:not(.hero).is-visible {
  opacity: 1;
  transform: none;
}

.scroll-reveal-ready .site-footer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal-ready .about-history-body .site-footer,
.scroll-reveal-ready .about-history-body .site-footer.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.scroll-reveal-ready .history-slider.js-section:not(.hero),
.scroll-reveal-ready .history-slider.js-section:not(.hero).is-visible {
  opacity: 1;
  transform: none;
  transition: none;
  will-change: auto;
}

.scroll-reveal-ready .pioneer-section .pioneer-content {
  opacity: 0;
  transform: translate3d(0, 28px, 0) var(--pioneer-content-transform, scale(1));
  transition:
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal-ready .pioneer-section.is-pioneer-content-visible .pioneer-content {
  opacity: 1;
  transform: var(--pioneer-content-transform, scale(1));
}

/* Smooth lazy image fade-in */
img[loading="lazy"],
.about-history-image {
  opacity: 0;
  transition: opacity 0.45s ease;
}

.about-history-image {
  transition: none;
}

img[loading="lazy"].is-loaded,
.about-history-image.is-loaded {
  opacity: 1;
}

.history-slider .history-spoon,
.history-slider .history-spoon.is-loaded {
  opacity: 0;
  transform:
    translate(var(--history-spoon-enter-x, 0px), var(--history-spoon-enter-y, 24px))
    scale(var(--history-spoon-enter-scale, 0.7))
    var(--history-spoon-transform, none);
  transition:
    opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.92s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--history-spoon-delay, 0s);
}

.history-slider.has-history-decor .history-spoon,
.history-slider.has-history-decor .history-spoon.is-loaded {
  opacity: var(--history-spoon-opacity, 0.7);
  transform: var(--history-spoon-transform, none);
  transition:
    opacity 1.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.85s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--history-spoon-delay, 0s);
}

.scroll-reveal-ready:not(.has-scrolled) .history-slider .history-spoon,
.scroll-reveal-ready:not(.has-scrolled) .history-slider .history-spoon.is-loaded,
.scroll-reveal-ready .history-slider:not(.is-history-in-view) .history-spoon,
.scroll-reveal-ready .history-slider:not(.is-history-in-view) .history-spoon.is-loaded {
  opacity: 0;
  transform:
    translate(var(--history-spoon-enter-x, 0px), var(--history-spoon-enter-y, 24px))
    scale(var(--history-spoon-enter-scale, 0.7))
    var(--history-spoon-transform, none);
}

/* Respect reduced-motion for reveals (still hide initially with CSS though) */
@media (prefers-reduced-motion: reduce) {
  .pioneer-video {
    display: none;
  }

  .about-history-scroll img,
  .product-category-scroll img {
    animation: none;
  }

  .about-journey-step.is-visible.is-reading .about-journey-media {
    animation: none;
  }

  .scroll-reveal-ready .js-section:not(.hero),
  .scroll-reveal-ready .js-section:not(.hero).is-visible,
  .scroll-reveal-ready .site-footer,
  .scroll-reveal-ready .site-footer.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-reveal-ready .about-history-story > *,
  .scroll-reveal-ready .about-history-story:not(.is-visible) > *,
  .scroll-reveal-ready .about-history-story.is-visible > * {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .scroll-reveal-ready .about-history-page .section-title.js-section,
  .scroll-reveal-ready .about-history-page .section-title.js-section.is-visible,
  .scroll-reveal-ready .about-journey-step.js-section .about-journey-media,
  .scroll-reveal-ready .about-journey-step.js-section .about-journey-copy,
  .scroll-reveal-ready .about-journey-step.js-section.is-visible .about-journey-media,
  .scroll-reveal-ready .about-journey-step.js-section.is-visible .about-journey-copy {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
  .scroll-reveal-ready .about-journey-step.js-section .about-journey-connector,
  .scroll-reveal-ready .about-journey-step.js-section.is-visible .about-journey-connector {
    opacity: 0.7;
    transition: none;
  }
  img[loading="lazy"],
  .about-history-image {
    opacity: 1;
    transition: none;
  }
  .scroll-reveal-ready .pioneer-section .pioneer-content {
    opacity: 1;
    transform: var(--pioneer-content-transform, scale(1));
    transition: none;
  }
  .scroll-reveal-ready .usp-section .usp-content-leaf,
  .scroll-reveal-ready .usp-section.is-visible .usp-content-leaf {
    opacity: 0.78;
    transform: rotate(5deg);
    animation: none;
    transition: none;
  }
  .scroll-reveal-ready .history-slider .history-spoon,
  .scroll-reveal-ready .history-slider .history-spoon.is-loaded {
    opacity: 0;
    transform: var(--history-spoon-transform, none);
    transition: none;
  }
  .scroll-reveal-ready .history-slider.has-history-decor.is-history-in-view .history-spoon,
  .scroll-reveal-ready .history-slider.has-history-decor.is-history-in-view .history-spoon.is-loaded {
    opacity: var(--history-spoon-opacity, 0.7);
  }
}

@media (min-width: 1025px) and (max-height: 920px) {
  .products {
    --product-offset-1-left: -21cqw;
    --product-offset-1-right: 21cqw;
    --product-offset-2-left: -42cqw;
    --product-offset-2-right: 42cqw;
    padding: clamp(44px, 6svh, 60px) 0 clamp(44px, 6svh, 60px);
  }

  .products .section-title {
    font-size: clamp(46px, 7svh, 58px);
    letter-spacing: 0.13em;
  }

  .product-stage {
    height: clamp(315px, 47svh, 400px);
    margin-top: clamp(0px, 1svh, 8px);
  }

  .product-track {
    height: 100%;
  }

  .product-item {
    height: clamp(305px, 46svh, 390px);
    gap: clamp(28px, 3svh, 42px);
  }

  .product-circle {
    height: clamp(245px, 35svh, 310px);
    flex-basis: clamp(245px, 35svh, 310px);
  }

  .product-circle img {
    height: clamp(180px, 26svh, 235px);
  }

  .product-item.active .product-circle img {
    height: clamp(220px, 32svh, 280px);
  }

  .product-active-label {
    font-size: clamp(24px, 4svh, 30px);
  }

  .products .pill-button {
    margin-top: clamp(22px, 3svh, 34px);
  }
}

@media (min-width: 1025px) and (max-height: 920px) {
  .value-banner {
    --value-bg-position: center top;
    --value-bg-size: 100% auto;
    min-height: min(680px, calc(100svh - 132px));
    padding-top: clamp(92px, 12svh, 116px);
  }

  .recipes {
    padding: clamp(40px, 6svh, 56px) 0 clamp(28px, 5svh, 42px);
  }

  .recipes .section-title {
    font-size: clamp(42px, 6.5svh, 56px);
  }

  .recipe-row {
    width: min(1460px, calc(100% - clamp(32px, 3.4vw, 56px)));
    margin-top: clamp(16px, 3svh, 24px);
    padding: clamp(10px, 2svh, 16px) 0;
  }

  .recipe-grid {
    gap: clamp(16px, 1.6vw, 26px);
  }

  .recipe-card {
    width: 100%;
  }

  .recipe-card.featured {
    width: 100%;
  }

  .recipe-card span {
    font-size: clamp(16px, 2.4svh, 20px);
  }

  .recipe-card.featured span {
    font-size: clamp(21px, 3.2svh, 26px);
  }

  .news {
    padding: clamp(34px, 6svh, 54px) 0 clamp(34px, 6svh, 54px);
  }

  .news .section-title {
    font-size: clamp(42px, 7svh, 62px);
  }

  .news-carousel {
    margin-top: clamp(18px, 2.8svh, 30px);
    padding-bottom: clamp(12px, 2svh, 18px);
  }

  .news-card {
    inset: 0;
  }

  .news-card h3 {
    padding: 10px 12px;
    min-height: calc((clamp(11px, 1.8svh, 14px) * 1.14 * 2) + 20px);
    max-height: calc((clamp(11px, 1.8svh, 14px) * 1.14 * 2) + 20px);
    font-size: clamp(11px, 1.8svh, 14px);
    line-height: 1.14;
  }

  .products .pill-button,
  .recipes .pill-button,
  .news .pill-button {
    min-width: clamp(240px, 16vw, 310px);
    min-height: clamp(50px, 7svh, 62px);
    margin-top: clamp(16px, 3svh, 24px);
    font-size: clamp(15px, 0.95vw, 19px);
  }

  .products .pill-button img,
  .recipes .pill-button img,
  .news .pill-button img {
    width: clamp(20px, 1.45vw, 28px);
  }
}

@media (min-width: 1281px) and (max-height: 920px) {
  .value-banner {
    --value-bg-position: center bottom;
    --value-bg-size: 100% auto;
    min-height: clamp(700px, calc(100svh - 24px), 820px);
    padding-top: clamp(94px, 12svh, 120px);
  }
}

@media (min-width: 1025px) and (max-height: 760px) {
  .products {
    --product-offset-1-left: -20cqw;
    --product-offset-1-right: 20cqw;
    --product-offset-2-left: -38cqw;
    --product-offset-2-right: 38cqw;
    --product-label-row-height: 34px;
    padding: 32px 0 20px;
  }

  .products .section-title {
    font-size: clamp(34px, 6.6svh, 46px);
    line-height: 1;
  }

  .product-stage {
    height: clamp(230px, 42svh, 270px);
    margin-top: 0;
  }

  .product-track {
    height: 100%;
  }

  .product-item {
    width: 240px;
    height: clamp(220px, 40svh, 260px);
    gap: 18px;
  }

  .product-item h3 {
    height: 34px;
    font-size: clamp(20px, 3.6svh, 24px);
    line-height: 1.08;
  }

  .product-circle {
    width: 250px;
    height: clamp(176px, 31svh, 205px);
    flex-basis: clamp(176px, 31svh, 205px);
  }

  .product-circle img {
    height: clamp(132px, 23svh, 158px);
  }

  .product-item.active .product-circle img {
    height: clamp(168px, 30svh, 202px);
  }

  .product-controls {
    width: min(440px, calc(100% - 32px));
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 18px;
  }

  .product-active-label {
    min-width: 0;
    font-size: clamp(23px, 4.2svh, 28px);
    white-space: normal;
  }

  .products .pill-button,
  .recipes .pill-button {
    min-height: 52px;
    margin-top: 10px;
    font-size: clamp(15px, 0.95vw, 19px);
  }

  .products .pill-button img,
  .recipes .pill-button img {
    width: clamp(20px, 1.45vw, 28px);
  }

  .products .pill-button {
    min-height: 44px;
    margin-top: 16px;
  }

  .news {
    padding: 42px 0 46px;
  }

  .news .section-title {
    font-size: 44px;
  }

  .news-carousel {
    margin-top: 24px;
    padding-bottom: 14px;
  }

  .news-card {
    inset: 0;
  }

  .news .pill-button {
    min-height: 54px;
    margin-top: 22px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (max-height: 820px) {
  .products {
    --product-offset-1-left: -21cqw;
    --product-offset-1-right: 21cqw;
    --product-offset-2-left: -42cqw;
    --product-offset-2-right: 42cqw;
    padding: 62px 0 42px;
  }

  .products .section-title {
    font-size: clamp(38px, 7svh, 50px);
    letter-spacing: 0.12em;
  }

  .product-stage {
    height: 330px;
    margin-top: 0;
  }

  .product-track {
    height: 310px;
  }

  .product-item {
    width: 190px;
    height: 292px;
    gap: 24px;
  }

  .product-circle {
    width: 200px;
    height: 205px;
    flex-basis: 205px;
  }

  .product-circle img {
    height: 150px;
  }

  .product-item.active .product-circle img {
    height: 190px;
  }

  .products .pill-button,
  .recipes .pill-button {
    min-height: 52px;
    margin-top: 12px;
    font-size: clamp(15px, 0.95vw, 19px);
  }

  .products .pill-button img,
  .recipes .pill-button img {
    width: clamp(20px, 1.45vw, 28px);
  }

  .news {
    padding: 42px 0 46px;
  }

  .news .section-title {
    font-size: 44px;
  }

  .news-carousel {
    margin-top: 24px;
    padding-bottom: 14px;
  }

  .news-card {
    inset: 0;
  }

  .news .pill-button {
    min-height: 54px;
    margin-top: 22px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) and (max-height: 620px) {
  .products {
    --product-offset-1-left: -20cqw;
    --product-offset-1-right: 20cqw;
    --product-offset-2-left: -38cqw;
    --product-offset-2-right: 38cqw;
    padding: clamp(30px, 5.4svh, 38px) 0 clamp(18px, 4svh, 28px);
    overflow: hidden;
  }

  .products .section-title {
    font-size: clamp(32px, 8svh, 44px);
  }

  .product-stage {
    height: clamp(210px, 43svh, 260px);
    margin-top: clamp(8px, 2svh, 12px);
  }

  .product-track {
    height: 100%;
  }

  .product-item {
    width: clamp(160px, 24vw, 210px);
    height: clamp(205px, 42svh, 245px);
    gap: 14px;
  }

  .product-circle {
    width: clamp(180px, 25vw, 220px);
    height: clamp(150px, 31svh, 180px);
    flex-basis: clamp(150px, 31svh, 180px);
  }

  .product-circle img {
    height: clamp(112px, 23svh, 140px);
  }

  .product-item.active .product-circle img {
    height: clamp(145px, 30svh, 180px);
  }

  .product-active-label {
    font-size: clamp(18px, 4.8svh, 24px);
  }

  .products .pill-button {
    min-height: clamp(40px, 8svh, 46px);
    margin-top: clamp(4px, 1.5svh, 8px);
    font-size: 13px;
  }

  .products .pill-button img {
    width: 24px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) and (orientation: landscape) {
  .product-track {
    height: 100%;
  }

  .product-item {
    transform: translateX(calc(-50% + var(--x, 0px))) translateY(var(--y, 0px));
  }

  .product-circle,
  .product-item h3 {
    transform: scale(var(--scale, 1));
    transform-origin: center bottom;
    transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .product-item.active .product-circle img {
    height: clamp(150px, 26svh, 230px);
  }

  .product-controls {
    width: min(clamp(300px, calc(100vw - 900px), 420px), calc(100% - 32px));
  }

  .product-active-label {
    font-size: clamp(20px, 3.6svh, 24px);
  }
}

@media (min-width: 1025px) and (max-width: 1440px) and (max-height: 760px) and (orientation: landscape) {
  .product-controls {
    width: min(clamp(360px, calc(100vw - 850px), 380px), calc(100% - 32px));
  }
}

@media (max-height: 420px) and (min-width: 700px) {
  .products {
    --product-offset-1-left: -23cqw;
    --product-offset-1-right: 23cqw;
    --product-offset-2-left: -46cqw;
    --product-offset-2-right: 46cqw;
    --product-label-row-height: 22px;
    height: calc(100svh - 104px);
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(18px, 5svh, 28px) 0 clamp(12px, 3svh, 20px);
    overflow: hidden;
  }

  .products .section-title {
    font-size: clamp(30px, 11svh, 42px);
    line-height: 0.96;
    letter-spacing: 0.12em;
  }

  .product-stage {
    height: clamp(140px, 40svh, 172px);
    margin-top: clamp(2px, 1svh, 6px);
    overflow: visible;
  }

  .product-track {
    height: 100%;
  }

  .product-item {
    width: clamp(132px, 24vw, 180px);
    height: clamp(140px, 40svh, 176px);
    gap: 12px;
  }

  .product-circle {
    width: clamp(150px, 28vw, 210px);
    height: clamp(106px, 31svh, 142px);
    flex-basis: clamp(106px, 31svh, 142px);
  }

  .product-circle img {
    height: clamp(88px, 24svh, 116px);
  }

  .product-item.active .product-circle img {
    height: clamp(116px, 32svh, 150px);
  }

  .product-item h3 {
    height: 22px;
    font-size: clamp(13px, 4svh, 17px);
    line-height: 1.05;
  }

  .product-item:not(.active) h3 {
    visibility: hidden;
  }

  .product-item[data-offset="-2"],
  .product-item[data-offset="2"] {
    --opacity: 0;
    --events: none;
  }

  .product-controls {
    width: min(250px, 44vw);
    grid-template-columns: 34px minmax(120px, 1fr) 34px;
    gap: 10px;
  }

  .product-nav {
    width: 34px;
    height: 34px;
  }

  .product-active-label {
    min-width: 0;
    font-size: clamp(16px, 5svh, 22px);
  }

  .products .pill-button {
    min-width: 0;
    min-height: clamp(30px, 7.4svh, 34px);
    margin-top: clamp(0px, 0.8svh, 4px);
    padding: 0 18px;
    font-size: 12px;
  }

  .products .pill-button img {
    width: 22px;
  }
}

@media (max-height: 420px) and (min-width: 560px) {
  .recipes {
    --recipes-compact-header: 104px;
    height: calc(100svh - var(--recipes-compact-header));
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
    overflow: hidden;
  }

  .recipes .section-title {
    padding: 0 clamp(10px, 2vw, 18px);
    font-size: clamp(26px, 11svh, 36px);
    line-height: 0.96;
    letter-spacing: 0.11em;
  }

  .recipe-row {
    width: min(920px, 225svh, calc(100% - clamp(92px, 14vw, 120px)));
    margin-top: clamp(6px, 2.4svh, 10px);
    padding: 0;
    overflow: visible;
  }

  .recipe-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(6px, 1.6vw, 12px);
  }

  .recipe-card,
  .recipe-card.featured {
    width: 100%;
    aspect-ratio: 1 / 1;
    transform: none;
  }

  .recipe-card::before,
  .recipe-card.featured::before {
    opacity: 0;
  }

  .recipe-card span,
  .recipe-card.featured span {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: clamp(12px, 4.6svh, 16px);
    line-height: 1.05;
    transform: none;
  }

  .recipes .pill-button {
    min-width: 0;
    min-height: clamp(26px, 8svh, 32px);
    margin-top: clamp(4px, 1.6svh, 7px);
    padding: 0 18px;
    gap: 10px;
    font-size: clamp(11px, 3.8svh, 13px);
    line-height: 1;
  }

  .recipes .pill-button img {
    width: clamp(18px, 5.5svh, 22px);
  }

  .floating-actions {
    left: auto;
    right: clamp(6px, 1.5vw, 10px);
    bottom: clamp(6px, 2svh, 10px);
    grid-template-columns: 1fr;
    gap: clamp(5px, 1.6svh, 7px);
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(10px);
  }

  .floating-actions.is-visible {
    transform: translateY(0);
  }

  .floating-action-button {
    width: clamp(32px, 9svh, 40px);
    height: clamp(32px, 9svh, 40px);
  }

  .floating-action-button img {
    width: clamp(18px, 5svh, 22px);
    max-height: clamp(18px, 5svh, 22px);
  }
}

@media (max-height: 420px) and (min-width: 1025px) and (max-width: 1280px) {
  .recipes {
    --recipes-compact-header: 92px;
  }
}

@media (max-height: 420px) and (min-width: 560px) and (max-width: 767px) {
  .recipes {
    --recipes-compact-header: 78px;
  }
}

@media (hover: hover) and (pointer: fine) {
  html {
    scroll-behavior: smooth;
  }
}

.hero-logo-image,
.hero-tb,
.hero-tk,
.hero-tapioka,
.hero-minyak,
.hero-gula,
.hero-tani,
.hero-santan,
.hero-starch-splash,
.hero-flour-fill,
.hero-wheat,
.tray-wrap,
.hero-tagline,
.hero-leaf-1,
.hero-leaf-2,
.hero-leaf-3 {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* USP artboard sync: keep this section proportional during browser zoom. */
@media (min-width: 1921px) and (min-height: 621px) {
  .usp-section {
    --usp-stage-bleed: max(0px, calc((100vw - 1920px) / 2));
    --usp-stage-y-bleed: max(0px, calc((100svh - 104px - 796px) / 2));
    justify-content: center;
  }

  .usp-inner {
    width: 1920px;
    height: min(796px, calc(100svh - 104px));
    flex: 0 0 auto;
    grid-template-columns: 864px 1056px;
  }

  .usp-photo-group--top {
    top: -48px;
    left: calc(-19px - var(--usp-stage-bleed));
    width: 560px;
  }

  .usp-photo-group--bottom {
    left: calc(250px - var(--usp-stage-bleed));
    bottom: calc(-29px - var(--usp-stage-y-bleed));
    width: 792px;
  }

  .usp-content {
    padding: 64px 128px 44px 96px;
  }

  .usp-content::after {
    display: none;
  }

  .usp-spoon-flour {
    display: none;
  }

  .usp-title {
    margin-bottom: 30px;
    font-size: 64px;
  }

  .usp-subtitle {
    margin-bottom: 40px;
    font-size: 25px;
  }

  .usp-stat {
    width: 790px;
    padding: 22px 82px;
  }

  .usp-stat-number {
    font-size: 108px;
  }
}

@media (max-height: 620px) and (min-width: 700px) {
  .usp-section {
    --usp-header-safe: 104px;
    height: calc(100svh - var(--usp-header-safe));
    min-height: 0;
    max-height: none;
    display: block;
    align-items: stretch;
    padding: 0;
  }

  .usp-section::before {
    top: 50%;
    left: clamp(-230px, -20vw, -120px);
    width: clamp(300px, 48vw, 460px);
    transform: translateY(-48%);
  }

  .usp-section::after {
    top: auto;
    bottom: clamp(-18px, -4svh, -8px);
    left: clamp(34px, 6.5vw, 72px);
    width: clamp(180px, 31vw, 280px);
    opacity: 0.5;
  }

  .usp-inner {
    width: 13px;
    height: 13px;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 45vw) minmax(0, 1fr);
    align-items: center;
    gap: 0;
  }

  .usp-visuals {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
    display: block;
  }

  .usp-content {
    grid-column: 2;
    grid-row: 1;
    align-self: stretch;
    padding: clamp(10px, 3svh, 16px) clamp(42px, 5vw, 60px) clamp(8px, 2svh, 14px) clamp(16px, 2.5vw, 28px);
  }

  .usp-content::before {
    --usp-circle-size: clamp(520px, 66vw, 720px);
    right: calc((100% - var(--usp-circle-size)) / 2);
    width: var(--usp-circle-size);
  }

  .usp-content::after {
    display: none;
    width: clamp(110px, 18vw, 200px);
  }

  .usp-photo-group {
    position: absolute;
    overflow: visible;
  }

  .usp-photo-group--top {
    inset: auto;
    top: clamp(-18px, -4svh, -8px);
    left: clamp(-10px, -1vw, -4px);
    z-index: 3;
    width: clamp(210px, 27.7vw, 270px);
    height: auto;
  }

  .usp-photo-group--bottom {
    inset: auto;
    left: clamp(96px, 13vw, 132px);
    bottom: clamp(-24px, -4svh, -10px);
    z-index: 2;
    width: clamp(310px, 40vw, 390px);
    height: auto;
  }

  .usp-photo-group--top .usp-hand,
  .usp-photo-group--bottom .usp-hand {
    width: 100%;
    max-width: none;
    transform: none;
  }

  .usp-title {
    max-width: none;
    margin-bottom: clamp(6px, 2svh, 10px);
    font-size: clamp(22px, 7svh, 32px);
    line-height: 1.02;
  }

  .usp-subtitle {
    max-width: 50ch;
    margin-bottom: clamp(8px, 2.4svh, 14px);
    font-size: clamp(12px, 3.6svh, 16px);
    line-height: 1.1;
  }

  .usp-stat {
    width: min(420px, 47vw);
    margin-bottom: 0;
    padding: clamp(8px, 2.2svh, 12px) clamp(18px, 3vw, 28px);
    gap: clamp(10px, 2vw, 18px);
    border-radius: 999px;
  }

  .usp-stat-number {
    font-size: clamp(40px, 12svh, 58px);
  }

  .usp-stat-desc {
    gap: 3px;
  }

  .usp-stat-desc strong {
    font-size: clamp(14px, 3.8svh, 18px);
    line-height: 1.04;
  }

  .usp-stat-desc p {
    max-width: 34ch;
    font-size: clamp(9.5px, 2.6svh, 12px);
    line-height: 1.1;
  }

  .usp-spoon-flour {
    display: none;
    top: clamp(-32px, -6svh, -18px);
    right: clamp(-62px, -5vw, -32px);
    width: clamp(120px, 17vw, 180px);
  }

  .usp-content-spoon {
    display: block;
    width: clamp(52px, 9vw, 82px);
    top: clamp(-18px, -3svh, -10px);
    right: clamp(-42px, -4vw, -24px);
  }

  .usp-content-leaf {
    width: clamp(110px, 18vw, 180px);
    right: clamp(120px, 24vw, 280px);
    bottom: clamp(-48px, -9svh, -28px);
    left: auto;
  }

  .usp-deco--mint {
    width: clamp(28px, 3.7vw, 42px);
    bottom: clamp(48px, 17svh, 82px);
    left: clamp(58px, 9vw, 92px);
  }

  .usp-deco--flour-bowl {
    width: clamp(46px, 8vw, 72px);
    top: clamp(96px, 32svh, 138px);
    right: auto;
    left: calc(100vw - clamp(44px, 5.2vw, 64px));
  }

  .usp-deco--gula {
    width: clamp(34px, 5.2vw, 54px);
    top: clamp(28px, 7.4svh, 44px);
    right: auto;
    left: clamp(320px, 41vw, 410px);
  }

  .usp-deco--telur {
    width: clamp(36px, 5vw, 54px);
    right: auto;
    bottom: clamp(-20px, -5svh, -10px);
    left: calc(100vw - clamp(128px, 13vw, 160px));
  }

  .floating-actions {
    right: clamp(8px, 1.5vw, 14px);
    bottom: clamp(10px, 2svh, 18px);
    gap: clamp(7px, 1.8svh, 10px);
  }

  .floating-action-button {
    width: clamp(38px, 9.6svh, 48px);
    height: clamp(38px, 9.6svh, 48px);
  }

  .floating-action-button img {
    width: clamp(21px, 5.4svh, 27px);
    max-height: clamp(21px, 5.4svh, 27px);
  }
}

@media (max-height: 620px) and (max-width: 900px) and (min-width: 700px) {
  .usp-section {
    --usp-header-safe: 92px;
  }

  .usp-content {
    padding-right: clamp(70px, 9vw, 82px);
  }

  .usp-title {
    font-size: clamp(22px, 6.6svh, 29px);
  }

  .usp-stat {
    width: min(360px, 42vw);
  }
}

/* Keep the About/History section complete inside one viewport. */
.history-slider {
  --history-block-pad: clamp(24px, 5svh, 64px);
  --history-header-safe: 104px;
  --history-stage-height: calc(100svh - var(--history-header-safe));
  --history-top-pad: var(--history-block-pad);
  --history-bottom-pad: var(--history-block-pad);
  --history-title-size: clamp(28px, min(4vw, 8svh), 56px);
  --history-title-gap: clamp(8px, 1.4svh, 20px);
  --history-control-space: clamp(28px, 4.4svh, 50px);
  --history-text-size: clamp(18px, min(2.1vw, 5svh), 38px);
  --history-text-line: 1.08;
  --history-text-lines: 3;
  --history-text-space: calc(
    (var(--history-text-size) * var(--history-text-line) * var(--history-text-lines))
    + clamp(8px, 1.2svh, 18px)
  );
  --history-size: clamp(
    220px,
    min(
      34vw,
      calc(
        var(--history-stage-height)
        - var(--history-top-pad)
        - var(--history-bottom-pad)
        - var(--history-title-size)
        - var(--history-title-gap)
        - var(--history-control-space)
        - var(--history-text-space)
      )
    ),
    620px
  );
  height: var(--history-stage-height);
  min-height: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--history-top-pad);
  padding-bottom: var(--history-bottom-pad);
}

.history-section-title {
  margin-bottom: var(--history-title-gap);
  font-size: var(--history-title-size);
  line-height: 1;
}

.history-card {
  flex: 0 1 auto;
}

.history-card .swiper-wrapper,
.history-slide,
.history-circle {
  height: var(--history-size);
}

.history-circle {
  width: var(--history-size);
  flex-basis: var(--history-size);
}

.history-pagination {
  margin-top: clamp(6px, 1svh, 14px);
}

.history-text {
  max-width: min(1000px, calc(100% - 40px));
  margin-top: clamp(6px, 1.2svh, 14px);
  font-size: var(--history-text-size);
  line-height: var(--history-text-line);
  text-wrap: balance;
}

.history-nav {
  top: calc(var(--history-size) * 0.5);
}

@media (max-width: 767px) {
  .history-slider {
    --history-block-pad: clamp(18px, 3.2svh, 34px);
    --history-header-safe: 78px;
    --history-stage-height: min(calc(100svh - var(--history-header-safe)), 820px);
    --history-title-size: clamp(26px, 7vw, 34px);
    --history-title-gap: clamp(8px, 1.2svh, 12px);
    --history-control-space: clamp(30px, 5svh, 42px);
    --history-text-size: clamp(15px, 3.8vw, 19px);
    --history-text-lines: 4;
    --history-size: clamp(
      220px,
      min(
        76vw,
        calc(
          var(--history-stage-height)
          - var(--history-top-pad)
          - var(--history-bottom-pad)
          - var(--history-title-size)
          - var(--history-title-gap)
          - var(--history-control-space)
          - var(--history-text-space)
        )
      ),
      430px
    );
  }

  .history-text {
    max-width: min(340px, calc(100% - 40px));
    margin-top: clamp(8px, 1.4svh, 14px);
  }

  .history-pagination {
    margin-top: clamp(8px, 1.4svh, 14px);
  }
}

@media (max-height: 520px) {
  .history-slider {
    --history-block-pad: clamp(12px, 3svh, 20px);
    --history-header-safe: 104px;
    --history-title-size: clamp(22px, 7svh, 30px);
    --history-title-gap: 4px;
    --history-control-space: 18px;
    --history-text-size: clamp(14px, 4svh, 18px);
    --history-text-line: 1.05;
    --history-text-space: calc(
      (var(--history-text-size) * var(--history-text-line) * var(--history-text-lines))
      + 4px
    );
    --history-size: clamp(
      130px,
      min(
        48vw,
        calc(
          100svh
          - var(--history-top-pad)
          - var(--history-bottom-pad)
          - var(--history-title-size)
          - var(--history-title-gap)
          - var(--history-control-space)
          - var(--history-text-space)
        )
      ),
      220px
    );
  }

  .history-nav {
    top: calc(var(--history-size) * 0.5);
    width: 44px;
    height: 44px;
  }

  .history-prev {
    left: calc(50% - (var(--history-size) * 0.5) - 42px);
  }

  .history-next {
    right: calc(50% - (var(--history-size) * 0.5) - 42px);
  }

  .history-nav::before {
    width: 20px;
    height: 20px;
    border-width: 3px;
  }

  .history-pagination {
    gap: 6px;
    margin-top: 4px;
    transform: scale(0.82);
  }

  .history-text {
    max-width: min(760px, calc(100% - 28px));
    margin-top: 4px;
  }
}

@media (max-height: 520px) and (max-width: 900px) {
  .history-slider {
    --history-header-safe: 92px;
  }
}

@media (max-height: 520px) and (max-width: 767px) {
  .history-slider {
    --history-header-safe: 78px;
  }
}

@media (min-width: 1025px) {
  .hero {
    --hero-stage: min(100vw, calc((100svh - 138px) * 2.2404), 1920px);
    --hero-stage-left: calc((100vw - var(--hero-stage)) / 2);
    --hero-stage-logo-top: calc(var(--hero-stage) * 0.0583333333);
    --hero-stage-origin-y: max(0px, calc(118px - var(--hero-stage-logo-top)));
    --hero-logo-shift: var(--hero-stage-origin-y);
    --hero-logo-top: calc(var(--hero-stage-logo-top) + var(--hero-stage-origin-y));
    --hero-logo-width: calc(var(--hero-stage) * 0.2);
    --hero-tagline-top: calc((var(--hero-stage) * 0.159375) + var(--hero-stage-origin-y));
    --hero-tagline-size: calc(var(--hero-stage) * 0.0234375);
    --hero-tray-top: calc((var(--hero-stage) * 0.1994791667) + var(--hero-stage-origin-y));
    --hero-tray-width: calc(var(--hero-stage) * 0.3052083333);
    --hero-flour-width: calc(var(--hero-stage) * 0.215);
    --hero-flour-half: calc(var(--hero-stage) * 0.1075);
    --hero-top-pack-gap: calc(var(--hero-stage) * 0.25);
    --hero-bottom-pack-gap: calc(var(--hero-stage) * 0.285);
    height: max(720px, 100svh);
  }

  .hero-starch-splash {
    display: block !important;
    top: calc((var(--hero-stage) * 0.0569204) + var(--hero-stage-origin-y));
    left: calc(var(--hero-stage-left) + (var(--hero-stage) * 0.1770833333));
    width: calc(var(--hero-stage) * 0.28125);
  }

  .hero-logo-mark {
    top: var(--hero-logo-top);
    width: var(--hero-logo-width);
  }

  .hero-tagline {
    top: var(--hero-tagline-top);
    font-size: var(--hero-tagline-size);
  }

  .tray-wrap {
    top: var(--hero-tray-top);
    width: var(--hero-tray-width);
    transform-origin: center center;
  }

  .tray {
    transform: none !important;
  }

  .hero-product.hero-tapioka,
  .hero-product.hero-tani,
  .hero-product.hero-tb,
  .hero-product.hero-tk {
    right: auto;
    margin: 0;
    transform: none;
    width: var(--hero-flour-width) !important;
  }

  .hero-tapioka,
  .hero-product.hero-tapioka {
    left: calc(50% - var(--hero-top-pack-gap) - var(--hero-flour-half));
    top: calc((var(--hero-stage) * 0.0829621) + var(--hero-stage-origin-y));
  }

  .hero-tani,
  .hero-product.hero-tani {
    left: calc(50% + var(--hero-top-pack-gap) - var(--hero-flour-half));
    top: calc((var(--hero-stage) * 0.0829621) + var(--hero-stage-origin-y));
  }

  .hero-tb,
  .hero-product.hero-tb {
    left: calc(50% - var(--hero-bottom-pack-gap) - var(--hero-flour-half));
    top: calc((var(--hero-stage) * 0.34) + var(--hero-stage-origin-y));
  }

  .hero-tk,
  .hero-product.hero-tk {
    left: calc(50% + var(--hero-bottom-pack-gap) - var(--hero-flour-half));
    top: calc((var(--hero-stage) * 0.343) + var(--hero-stage-origin-y));
  }

  .hero-minyak {
    left: calc(var(--hero-stage-left) - (var(--hero-stage) * 0.145));
    top: calc((var(--hero-stage) * 0.1328839) + var(--hero-stage-origin-y));
    width: calc(var(--hero-stage) * 0.255);
  }

  .hero-gula {
    left: calc(var(--hero-stage-left) + (var(--hero-stage) * 0.89));
    top: calc((var(--hero-stage) * 0.1767121) + var(--hero-stage-origin-y));
    width: calc(var(--hero-stage) * 0.255);
  }

  .hero-santan {
    right: calc(var(--hero-stage-left) - (var(--hero-stage) * 0.02));
    top: calc((var(--hero-stage) * 0.05013) + var(--hero-stage-origin-y));
    width: calc(var(--hero-stage) * 0.0880208333);
  }

  .hero-leaf-1 {
    left: calc(var(--hero-stage-left) + (var(--hero-stage) * 0.0479166667));
    top: calc((var(--hero-stage) * 0.0616809) + var(--hero-stage-origin-y));
    width: calc(var(--hero-stage) * 0.0848958333);
  }

  .hero-leaf-2 {
    left: calc(var(--hero-stage-left) + (var(--hero-stage) * 0.6403));
    top: calc((var(--hero-stage) * 0.405) + var(--hero-stage-origin-y));
    width: calc(var(--hero-stage) * 0.0511);
  }

  .hero-leaf-3 {
    left: calc(var(--hero-stage-left) + (var(--hero-stage) * 0.8));
    top: calc((var(--hero-stage) * 0.0816496) + var(--hero-stage-origin-y));
    width: calc(var(--hero-stage) * 0.1453125);
  }
}

@media (max-width: 767px) {
  .hero {
    --hero-mobile-stage: min(100vw, 430px);
    --hero-mobile-header: 78px;
    height: clamp(500px, 126vw, 620px);
    min-height: 0;
  }

  .hero-center {
    z-index: auto;
  }

  .hero-logo-mark {
    top: calc(var(--hero-mobile-header) + (var(--hero-mobile-stage) * 0.045));
    left: 50%;
    width: calc(var(--hero-mobile-stage) * 0.2);
    transform: translateX(-50%);
    z-index: 8;
  }

  .hero-logo-image {
    width: 100%;
  }

  .hero-tagline {
    top: calc(var(--hero-mobile-header) + (var(--hero-mobile-stage) * 0.19));
    left: 0;
    right: 0;
    z-index: 8;
    font-size: clamp(15px, calc(var(--hero-mobile-stage) * 0.039), 18px);
    white-space: nowrap;
  }

  .tray-wrap {
    top: calc(var(--hero-mobile-header) + (var(--hero-mobile-stage) * 0.335));
    left: 0;
    right: 0;
    z-index: 5;
    width: min(calc(var(--hero-mobile-stage) * 0.6), calc(100vw - 82px));
  }

  .hero-starch-splash,
  .hero-minyak,
  .hero-gula,
  .hero-santan {
    display: none !important;
  }

  .hero-tapioka,
  .hero-tani,
  .hero-tb,
  .hero-tk {
    display: block;
    z-index: 6;
  }

  .hero-tapioka,
  .hero-tani,
  .hero-product.hero-tapioka,
  .hero-product.hero-tani {
    top: calc(var(--hero-mobile-header) + (var(--hero-mobile-stage) * 0.245));
    width: calc(var(--hero-mobile-stage) * 0.23) !important;
  }

  .hero-tapioka {
    left: calc(50% - (var(--hero-mobile-stage) * 0.47));
    transform: rotate(-8deg);
  }

  .hero-tani {
    left: calc(50% + (var(--hero-mobile-stage) * 0.235));
    transform: rotate(8deg);
  }

  .hero-tb,
  .hero-tk,
  .hero-product.hero-tb,
  .hero-product.hero-tk {
    top: calc(var(--hero-mobile-header) + (var(--hero-mobile-stage) * 0.565));
    width: calc(var(--hero-mobile-stage) * 0.21) !important;
  }

  .hero-tb {
    left: calc(50% - (var(--hero-mobile-stage) * 0.475));
    transform: rotate(-7deg);
  }

  .hero-tk {
    left: calc(50% + (var(--hero-mobile-stage) * 0.265));
    right: auto;
    transform: rotate(7deg);
  }

  .hero-leaf-1 {
    left: calc(50% - (var(--hero-mobile-stage) * 0.43));
    top: calc(var(--hero-mobile-header) + (var(--hero-mobile-stage) * 0.12));
    width: calc(var(--hero-mobile-stage) * 0.13);
  }

  .hero-leaf-2 {
    display: none;
  }

  .hero-leaf-3 {
    left: calc(50% + (var(--hero-mobile-stage) * 0.36));
    right: auto;
    top: calc(var(--hero-mobile-header) + (var(--hero-mobile-stage) * 0.2));
    width: calc(var(--hero-mobile-stage) * 0.2);
  }
}

/* Section 2 - Pionir di Balik Jajanan Pasar */
.pioneer-section.history-slider {
  --pioneer-header-safe: 104px;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: calc(100svh - var(--pioneer-header-safe));
  min-height: 620px;
  max-height: none;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  background: #eedebd;
}

.pioneer-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  width: auto;
  height: auto;
  transform: none;
  opacity: 1;
  background:
    linear-gradient(
      90deg,
      rgba(238, 222, 189, 0.98) 0%,
      rgba(238, 222, 189, 0.96) 30%,
      rgba(238, 222, 189, 0.82) 44%,
      rgba(238, 222, 189, 0.42) 58%,
      rgba(238, 222, 189, 0.08) 70%,
      rgba(238, 222, 189, 0.05) 100%
    ),
    linear-gradient(0deg, rgba(238, 222, 189, 0.3), rgba(238, 222, 189, 0.3));
  pointer-events: none;
}

.pioneer-section::after {
  content: none;
}

.pioneer-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateX(14%);
}

.pioneer-pattern {
  position: absolute;
  z-index: 2;
  left: clamp(-180px, -7vw, -90px);
  top: 50%;
  width: clamp(520px, 46vw, 900px);
  transform: translateY(-50%);
  opacity: 0.24;
  pointer-events: none;
}

.pioneer-content {
  --pioneer-content-transform: scale(1);
  position: relative;
  z-index: 3;
  align-self: center;
  width: min(720px, calc(100% - 72px));
  margin-inline: auto;
  margin-top: 0;
  padding-top: 0;
  color: #111;
  text-align: center;
}

.pioneer-kicker {
  margin: 0 0 clamp(14px, 1.4vw, 22px);
  font-family: "Milonga", cursive;
  font-size: clamp(28px, 2.3vw, 44px);
  line-height: 1;
}

.pioneer-title {
  margin: 0 0 clamp(16px, 1.8vw, 28px);
  display: grid;
  gap: clamp(4px, 0.45vw, 8px);
  font-family: "Acme", sans-serif;
  font-size: clamp(44px, 4.1vw, 76px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
}


.pioneer-title-green {
  color: #1c6455;
}

.pioneer-title-red {
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  font-size: 0.62em;
  line-height: 0.92;
  letter-spacing: 0.105em;
  white-space: nowrap;
}

.pioneer-copy {
  width: min(590px, 100%);
  margin-inline: auto;
  display: grid;
  gap: clamp(14px, 1.8vw, 24px);
  font-family: "Poppins", sans-serif;
  font-size: clamp(15px, 1.02vw, 18px);
  font-weight: 400;
  font-synthesis: none;
  line-height: 1.36;
}

.pioneer-copy p {
  margin: 0;
}

.pioneer-copy-mobile-break {
  display: none;
}

.pioneer-cta {
  width: max-content;
  min-width: clamp(240px, 17vw, 330px);
  min-height: clamp(50px, 3.65vw, 62px);
  margin-top: clamp(22px, 2.4vw, 38px);
  padding: 0 clamp(28px, 2vw, 38px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(15px, 0.95vw, 19px);
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
  transition: transform 0.18s ease;
}

.pioneer-cta:focus-visible {
  outline: 3px solid rgba(28, 100, 85, 0.72);
  outline-offset: 6px;
}

.pioneer-cta img {
  width: clamp(20px, 1.45vw, 28px);
  height: auto;
}

.pioneer-cta-label--mobile {
  display: none;
}

@media (min-width: 1025px) {
  .pioneer-section::before {
    content: none;
  }

  .pioneer-section.has-pioneer-video::before {
    content: "";
    background: #eedebd;
    opacity: 0.72;
  }

  .pioneer-photo {
    object-position: 27% center;
    transform: none;
  }

  .pioneer-video {
    object-position: right center;
  }

  .pioneer-pattern {
    display: none;
  }
}

@media (max-width: 1024px) {
  .pioneer-section.history-slider {
    --pioneer-header-safe: 92px;
    min-height: 650px;
  }

  .pioneer-section::before {
    background:
      linear-gradient(
        90deg,
        rgba(238, 222, 189, 0.98) 0%,
        rgba(238, 222, 189, 0.96) 34%,
        rgba(238, 222, 189, 0.78) 54%,
        rgba(238, 222, 189, 0.2) 78%,
        rgba(238, 222, 189, 0.08) 100%
      ),
      linear-gradient(0deg, rgba(238, 222, 189, 0.36), rgba(238, 222, 189, 0.36));
  }

  .pioneer-photo {
    transform: translateX(10%);
  }

  .pioneer-video {
    transform: none;
  }

  .pioneer-content {
    width: min(650px, calc(100% - 54px));
    margin-inline: auto;
    margin-top: 0;
  }

  .pioneer-title {
    font-size: clamp(38px, 6.1vw, 60px);
    letter-spacing: 0.08em;
  }

  .pioneer-title-red {
    white-space: normal;
  }

  .pioneer-copy {
    font-size: clamp(16px, 2.15vw, 21px);
  }
}

@media (max-width: 767px) {
  .pioneer-section.history-slider {
    --pioneer-header-safe: 78px;
    height: auto;
    min-height: calc(100svh - var(--pioneer-header-safe));
    align-items: center;
    padding: clamp(42px, 8svh, 70px) 0 clamp(48px, 8svh, 76px);
  }

  .pioneer-section::before {
    background:
      linear-gradient(
        180deg,
        rgba(238, 222, 189, 0.98) 0%,
        rgba(238, 222, 189, 0.94) 49%,
        rgba(238, 222, 189, 0.72) 76%,
        rgba(238, 222, 189, 0.4) 100%
      );
  }

  .pioneer-photo {
    transform: none;
    height: 48%;
    min-height: 300px;
    object-position: 64% center;
    opacity: 0.88;
  }

  .pioneer-pattern {
    left: -150px;
    top: 44%;
    width: min(620px, 135vw);
    opacity: 0.26;
  }

  .pioneer-content {
    width: min(100% - 38px, 520px);
    margin: 0 auto;
    padding-top: 0;
  }

  .pioneer-kicker {
    margin-bottom: 18px;
    font-size: clamp(24px, 7vw, 34px);
  }

  .pioneer-title {
    margin-bottom: 18px;
    gap: 7px;
    font-size: clamp(33px, 9.7vw, 52px);
    line-height: 0.92;
    letter-spacing: 0.06em;
  }

  .pioneer-title-red {
    font-size: 0.68em;
    white-space: normal;
  }

  .pioneer-copy {
    gap: 16px;
    font-size: clamp(15px, 4.2vw, 18px);
    line-height: 1.32;
  }

  .pioneer-cta {
    min-width: min(100%, 310px);
    min-height: 54px;
    margin-top: 28px;
    padding: 0 24px;
    font-size: 15px;
  }
}

@media (max-height: 680px) and (min-width: 768px) {
  .pioneer-section.history-slider {
    min-height: 560px;
  }

  .pioneer-content {
    --pioneer-content-transform: scale(0.88);
    transform: var(--pioneer-content-transform);
    transform-origin: left center;
  }
}

/* UMKM story — data-driven split layout. The composite artwork is supplied
   independently through theme.backgrounds.value_banner. */
.usp-section--frame {
  --usp-header-safe: 104px;
  position: relative;
  height: auto;
  min-height: clamp(700px, calc(100svh - var(--usp-header-safe)), 832px);
  padding: 0;
  background-color: #fbf4e6;
  background-image:
    linear-gradient(rgba(255, 250, 238, 0.36), rgba(255, 250, 238, 0.36)),
    var(--usp-background-image, url("assets/backgrounds/pattern-history-batik.webp"));
  background-position: center, center top;
  background-size: 100% 100%, clamp(680px, 54vw, 980px);
  background-repeat: no-repeat, repeat;
  overflow: hidden;
}

.usp-section--frame::before,
.usp-section--frame::after {
  content: none;
}

.usp-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 0.72fr) minmax(680px, 1fr);
  align-items: center;
  gap: clamp(58px, 4vw, 80px);
  width: min(1675px, calc(100% - 80px));
  min-height: inherit;
  height: auto;
  margin: 0 auto;
  padding: clamp(52px, 6vh, 68px) 0;
  overflow: visible;
  background: transparent;
  transform: none;
}

.usp-story-deco {
  position: absolute;
  z-index: 1;
  display: block;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.usp-story-deco--top {
  --usp-deco-transform: rotate(-8deg);
  top: -4.5%;
  left: 15.2%;
  width: clamp(84px, 11vw, 204px);
  transform: var(--usp-deco-transform);
}

.usp-story-deco--bottom {
  --usp-deco-transform: rotate(-7deg);
  bottom: -12%;
  left: -6%;
  width: clamp(220px, 23vw, 415px);
  filter: blur(1.5px);
  transform: var(--usp-deco-transform);
}

.usp-copy-panel {
  position: relative;
  z-index: 2;
  top: -14px;
  align-self: center;
  margin-top: 14px;
  padding-left: clamp(28px, 4vw, 78px);
}

.usp-frame-title,
.usp-frame-kicker,
.usp-frame-copy,
.usp-frame-cta,
.usp-story-card {
  position: static;
}

.usp-frame-title {
  width: auto;
  margin: 0 0 0 14px;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(48px, 4vw, 75px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
  text-align: left;
}

.usp-frame-title span {
  display: block;
  white-space: nowrap;
}

.usp-frame-kicker {
  width: auto;
  margin: 21px 0 0 14px;
  color: var(--green);
  font-family: "Milonga", cursive;
  font-size: clamp(20px, 1.85vw, 35px);
  line-height: 1.25;
  text-align: left;
  white-space: nowrap;
}

.usp-frame-copy {
  display: block;
  width: min(52ch, 100%);
  min-height: 0;
  margin: 26px 0 0 14px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #242424;
  font-size: clamp(16px, 1.1vw, 21px);
  line-height: 1.36;
  text-align: left;
}

.usp-frame-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 70px;
  margin-top: clamp(34px, 5vh, 56px);
  gap: 13px;
  padding: 0 40px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.usp-frame-cta img {
  width: 19px;
}

.usp-frame-cta--mobile {
  display: none;
}

.usp-story-card {
  position: relative;
  top: 14px;
  left: -3px;
  width: calc(100% - 2px);
  height: auto;
  margin-top: 10px;
}

.usp-story-video {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  margin: 0;
  overflow: hidden;
  border: clamp(5px, 0.42vw, 8px) solid #e0c197;
  border-radius: clamp(36px, 4vw, 72px);
  background: #272727;
  box-shadow: none;
  color: #fff;
  text-decoration: none;
}

.usp-story-video img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.usp-story-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 55%, rgba(0, 0, 0, 0.34) 100%);
  pointer-events: none;
}

.usp-story-play {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: clamp(72px, 7vw, 112px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(40, 28, 23, 0.68);
  backdrop-filter: blur(2px);
  transform: translate(-50%, -50%);
}

.usp-story-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  width: 0;
  height: 0;
  border-top-style: solid;
  border-top-color: transparent;
  border-bottom-style: solid;
  border-bottom-color: transparent;
  border-left-style: solid;
  border-left-color: #fff;
  border-top-width: 13px;
  border-bottom-width: 13px;
  border-left-width: 21px;
  font-size: 16px;
  transform: translate(-50%, -50%);
}

.usp-story-label {
  position: absolute;
  z-index: 2;
  left: calc(7% - 5px);
  bottom: 11%;
  max-width: 84%;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(16px, 1.2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-align: left;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.usp-story-label strong,
.usp-story-label > span:not(.usp-story-category) {
  display: block;
  overflow: hidden;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.usp-story-label strong {
  margin-top: 18px;
  text-transform: uppercase;
}

.usp-story-label > span:not(.usp-story-category) {
  font-weight: 400;
}

.usp-story-category {
  width: fit-content;
  display: block;
  padding: 5px 16px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-transform: none;
}

@media (min-width: 1025px) {
  .usp-story-video {
    width: auto;
    margin-left: clamp(4px, 1vw, 14px);
    margin-right: clamp(56px, 4.5vw, 72px);
  }
}

.scroll-reveal-ready .usp-section--frame .usp-copy-panel,
.scroll-reveal-ready .usp-section--frame .usp-story-card,
.scroll-reveal-ready .usp-section--frame .usp-frame-cta--mobile,
.scroll-reveal-ready .usp-section--frame .usp-story-deco {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal-ready .usp-section--frame .usp-story-card {
  transition-delay: 0.14s;
}

.scroll-reveal-ready .usp-section--frame .usp-story-deco {
  transition-delay: 0.08s;
  transform: translate3d(0, 22px, 0) var(--usp-deco-transform);
}

.scroll-reveal-ready .usp-section--frame.is-visible .usp-copy-panel,
.scroll-reveal-ready .usp-section--frame.is-visible .usp-story-card,
.scroll-reveal-ready .usp-section--frame.is-visible .usp-frame-cta--mobile,
.scroll-reveal-ready .usp-section--frame.is-visible .usp-story-deco {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.scroll-reveal-ready .usp-section--frame.is-visible .usp-story-deco {
  transform: var(--usp-deco-transform);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal-ready .usp-section--frame .usp-copy-panel,
  .scroll-reveal-ready .usp-section--frame .usp-story-card,
  .scroll-reveal-ready .usp-section--frame .usp-frame-cta--mobile,
  .scroll-reveal-ready .usp-section--frame .usp-story-deco,
  .scroll-reveal-ready .usp-section--frame.is-visible .usp-copy-panel,
  .scroll-reveal-ready .usp-section--frame.is-visible .usp-story-card,
  .scroll-reveal-ready .usp-section--frame.is-visible .usp-frame-cta--mobile,
  .scroll-reveal-ready .usp-section--frame.is-visible .usp-story-deco {
    opacity: 1;
    transform: var(--usp-deco-transform, none);
    transition: none;
  }
}

@media (max-width: 1350px) {
  .usp-stage {
    grid-template-columns: minmax(420px, 0.78fr) minmax(540px, 1fr);
    gap: 48px;
    width: min(calc(100% - 64px), 1220px);
  }

  .usp-copy-panel {
    padding-left: 20px;
  }

  .usp-frame-title {
    font-size: clamp(44px, 4.2vw, 56px);
  }

  .usp-frame-kicker {
    font-size: clamp(23px, 2.2vw, 29px);
  }

  .usp-frame-copy {
    font-size: 17px;
  }

  .usp-frame-cta {
    min-height: 60px;
    padding-inline: 30px;
    font-size: 17px;
  }
}

@media (max-width: 1250px) {
  .usp-section--frame {
    --usp-header-safe: 92px;
  }

  .usp-stage {
    grid-template-columns: minmax(370px, 0.9fr) minmax(430px, 1.1fr);
    gap: 38px;
    width: min(calc(100% - 64px), 1120px);
  }

  .usp-frame-title {
    font-size: clamp(38px, 4.6vw, 50px);
  }

  .usp-frame-kicker {
    font-size: 24px;
  }
}

@media (max-width: 1024px) {
  .usp-section--frame {
    --usp-header-safe: 78px;
    min-height: auto;
  }

  .usp-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 42px;
    width: min(calc(100% - 40px), 620px);
    min-height: 0;
    padding: 64px 0 78px;
  }

  .usp-copy-panel {
    top: 0;
    margin-top: 0;
    padding-left: 0;
  }

  .usp-story-deco--top {
    top: -1%;
    left: 52%;
    width: 90px;
  }

  .usp-story-deco--bottom {
    bottom: -4%;
    left: -18%;
    width: 230px;
  }

  .usp-frame-title {
    margin-left: 0;
    font-size: clamp(30px, 8.7vw, 54px);
    line-height: 1.04;
  }

  .usp-frame-kicker {
    margin: 13px 0 0;
    font-size: clamp(18px, 5.5vw, 25px);
    white-space: normal;
  }

  .usp-frame-copy {
    margin: 20px 0 0;
    font-size: 15px;
    line-height: 1.5;
  }

  .usp-frame-cta {
    min-height: 54px;
    margin-top: 30px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 14px;
  }

  .usp-story-video {
    border-width: 5px;
    border-radius: 30px;
    box-shadow: none;
  }

  .usp-story-card {
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
  }

  .usp-story-play {
    width: clamp(58px, 17vw, 82px);
  }

  .usp-story-label {
    font-size: clamp(11px, 3.4vw, 16px);
  }
}

@media (max-width: 420px) {
  .usp-frame-title {
    font-size: clamp(27px, 8.5vw, 36px);
  }

  .usp-frame-copy {
    width: 100%;
  }
}

.mobile-product-categories,
.mobile-products-deco {
  display: none;
}

/* Mobile homepage composition from the supplied 847x1600 references. */
@media (max-width: 767px) {
  body {
    padding-bottom: 0;
  }

  img[loading="lazy"],
  img[loading="lazy"].is-loaded,
  .about-history-image,
  .about-history-image.is-loaded {
    opacity: 1;
    transition: none;
  }

  .site-header {
    height: clamp(48px, 12vw, 88px);
    min-height: clamp(48px, 12vw, 88px);
    padding: 0 14px;
    background: rgba(234, 216, 173, 0.96);
    transition: transform 0.3s ease, opacity 0.25s ease;
  }

  body:not(.menu-open) .site-header.is-over-hero:not(:has(.main-nav.open)) {
    background: transparent;
    backdrop-filter: none;
  }

  .site-header .brand {
    display: none;
  }

  .site-header .hamburger {
    top: 50%;
    right: auto;
    left: 14px;
    display: flex;
    transform: translateY(-50%);
  }

  body.menu-open .site-header .hamburger,
  .site-header:has(.main-nav.open) .hamburger {
    position: fixed;
    top: 14px;
    right: 14px;
    left: auto;
    display: flex;
    transform: none;
  }

  .main-nav.open {
    gap: 14px;
    padding: 72px 24px 32px;
    font-size: 22px;
  }

  .main-nav.open a {
    padding: 4px 12px;
  }

  .hamburger span {
    width: 29px;
    height: 3px;
  }

  .site-header .header-tools {
    right: 12px;
    gap: 10px;
  }

  .site-header .lang-toggle {
    display: flex;
    min-width: 52px;
    height: 32px;
    gap: 4px;
    padding: 0 11px;
    font-size: 13px;
  }

  .site-header .lang-toggle img {
    width: 8px;
    height: auto;
  }

  .site-header .icon-button {
    width: 30px;
    height: 30px;
  }

  .site-header .icon-button img {
    width: 28px;
    height: auto;
    object-fit: contain;
  }

  .floating-actions {
    display: none;
  }

  .hero {
    --hero-mobile-header: clamp(48px, 12vw, 88px);
    height: 189vw;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #ead8ad;
  }

  .hero-logo-mark {
    top: 15.5vw;
    width: 43vw;
  }

  .hero-tagline {
    top: 39vw;
    padding: 0 4vw;
    font-size: 4.5vw;
    white-space: nowrap;
  }

  .tray-wrap {
    top: 66vw;
    z-index: 6;
    width: 72vw;
  }

  .hero-starch-splash {
    top: 43vw;
    left: 48%;
    z-index: 3;
    display: block !important;
    width: 116vw;
    opacity: 0.9;
    filter: brightness(1.15) contrast(1.08);
    mix-blend-mode: screen;
    transform: translateX(-50%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 52%, #000 0 62%, rgba(0, 0, 0, 0.88) 76%, transparent 100%);
    mask-image: radial-gradient(ellipse at 50% 52%, #000 0 62%, rgba(0, 0, 0, 0.88) 76%, transparent 100%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
  }

  .hero-flour-fill {
    position: absolute;
    z-index: 3;
    display: block;
    width: 52vw;
    height: auto;
    opacity: 0.55;
    filter: brightness(1.15) contrast(1.08);
    mix-blend-mode: screen;
    pointer-events: none;
    will-change: opacity;
  }

  .hero-flour-fill--right {
    top: 31vw;
    right: 8vw;
    width: 72vw;
    opacity: 0.78;
    filter: brightness(2.35) contrast(1.08);
    -webkit-mask-image: radial-gradient(ellipse at 45% 55%, #000 0 26%, rgba(0, 0, 0, 0.72) 42%, transparent 72%);
    mask-image: radial-gradient(ellipse at 45% 55%, #000 0 26%, rgba(0, 0, 0, 0.72) 42%, transparent 72%);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transform: scaleX(-1) rotate(-6deg);
  }

  .hero-flour-fill--bottom {
    top: 86vw;
    left: 54vw;
    width: 50vw;
    opacity: 0.55;
    transform: rotate(12deg);
  }

  .hero-flour-fill--bottom-left {
    top: auto;
    bottom: -31vw;
    left: -34vw;
    width: 56vw;
    opacity: 0.45;
    transform: scaleX(-1) scaleY(-1);
  }

  .hero-wheat {
    position: absolute;
    top: 49vw;
    left: 50%;
    z-index: 5;
    display: block;
    width: 22vw;
    height: auto;
    pointer-events: none;
    transform: translateX(-50%);
    will-change: opacity, filter;
  }

  .hero-product,
  .hero-product.hero-tapioka,
  .hero-product.hero-tani,
  .hero-product.hero-tb,
  .hero-product.hero-minyak,
  .hero-product.hero-gula,
  .hero-product.hero-santan {
    position: absolute;
    right: auto;
    bottom: auto;
    z-index: 4;
    display: block !important;
    margin: 0;
  }

  .hero-product.hero-tani {
    top: 44.7vw;
    left: -8.1vw;
    width: 41.7vw !important;
    transform: rotate(4.8deg);
  }

  .hero-product.hero-tb {
    top: 45.7vw;
    right: -7.2vw;
    left: auto;
    width: 40.8vw !important;
    transform: rotate(-28deg);
  }

  .hero-product.hero-tapioka {
    top: 118vw;
    left: -8.5vw;
    width: 42.5vw !important;
    transform: rotate(0.2deg);
  }

  .hero-product.hero-gula {
    top: 115.5vw;
    right: -9.8vw;
    left: auto;
    width: 42.5vw !important;
    transform: rotate(44.7deg);
  }

  .hero-product.hero-minyak {
    top: 145.1vw;
    left: 28.2vw;
    width: 50.6vw !important;
    transform: rotate(-31.5deg);
  }

  .hero-product.hero-santan {
    top: 164vw;
    right: 9vw;
    left: auto;
    width: 17vw !important;
  }

  .hero-product.hero-tk {
    display: none !important;
  }

  .hero-leaf-1 {
    top: 21vw;
    left: 7vw;
    width: 12vw;
  }

  .hero-leaf-2 {
    top: 20vw;
    right: -8vw;
    bottom: auto;
    left: auto;
    display: block;
    width: 24vw;
  }

  .hero-leaf-3 {
    top: auto;
    right: auto;
    bottom: 8vw;
    left: 8vw;
    width: 20vw;
  }

  .pioneer-section.history-slider {
    min-height: 800px;
    padding: 108px 0 0;
    align-items: flex-start;
    background: #eedebd;
  }

  .pioneer-section::before {
    background: linear-gradient(
      180deg,
      #eedebd 0 48%,
      rgba(238, 222, 189, 0.78) 60%,
      rgba(238, 222, 189, 0.38) 74%,
      rgba(238, 222, 189, 0.14) 84%,
      transparent 92%
    );
  }

  .pioneer-section::after {
    content: "";
    inset: 0;
    z-index: 2;
    width: auto;
    height: auto;
    transform: none;
    background: var(--history-pattern-image, url("assets/backgrounds/pattern-history-batik.webp")) center top / 420px repeat;
    opacity: 0.65;
    mix-blend-mode: multiply;
    mask-image: linear-gradient(#000 0 44%, transparent 72%);
  }

  .pioneer-photo {
    top: auto;
    bottom: 0;
    height: 56%;
    min-height: 0;
    object-position: 55% center;
    opacity: 1;
  }

  .pioneer-pattern {
    display: none;
  }

  .pioneer-content {
    width: calc(100% - 48px);
    margin: 0 24px;
    align-self: flex-start;
  }

  .pioneer-kicker {
    display: none;
  }

  .pioneer-title {
    width: calc(100% - 16px);
    margin-bottom: 14px;
    margin-left: 16px;
    gap: 4px;
    font-size: clamp(30px, 8.8vw, 40px);
  }

  .pioneer-title-red {
    font-size: 0.63em;
    white-space: nowrap;
  }

  .pioneer-copy {
    width: calc(100% - 32px);
    margin-inline: auto;
    gap: 10px;
    font-size: clamp(12px, 3.3vw, 14px);
    line-height: 1.4;
    text-align: center;
  }

  .pioneer-copy-mobile-break {
    display: initial;
  }

  .pioneer-copy p:nth-child(2),
  .pioneer-cta-label--desktop {
    display: none;
  }

  .pioneer-cta-label--mobile {
    display: inline;
  }

  .pioneer-cta {
    min-width: 0;
    min-height: 48px;
    margin-top: 18px;
    margin-left: 16px;
    padding: 0 18px;
    font-size: 13px;
  }

  .products {
    min-height: 760px;
    padding: 139px 0 70px;
    overflow: hidden;
    background: #fffdf8;
  }

  .products::before,
  .products::after {
    content: none;
  }

  .mobile-products-deco {
    position: absolute;
    z-index: 0;
    display: block;
    height: auto;
    pointer-events: none;
  }

  .mobile-products-deco--upper-leaf {
    top: 59px;
    left: -42px;
    width: 132px;
  }

  .mobile-products-deco--bowl {
    top: 87px;
    right: -38px;
    width: 92px;
  }

  .mobile-products-deco--whisk {
    bottom: 37px;
    left: -18px;
    width: 86px;
  }

  .mobile-products-deco--lower-leaf {
    right: -34px;
    bottom: 29px;
    width: 108px;
  }

  .products .section-title {
    position: relative;
    z-index: 1;
    font-size: clamp(25px, 6vw, 30px);
    letter-spacing: 0.08em;
  }

  .mobile-product-categories {
    position: relative;
    z-index: 1;
    width: calc(100% - 36px);
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .mobile-product-category {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 7px;
    padding: 0;
    background: transparent;
    color: #191919;
    font-size: clamp(12px, 3.2vw, 14px);
    line-height: 1.05;
    text-align: center;
  }

  .mobile-product-category > span {
    width: clamp(56px, 16vw, 68px);
    height: clamp(56px, 16vw, 68px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 50%;
    background: var(--red);
    transition: transform 0.2s ease;
  }

  .mobile-product-category img,
  .mobile-product-category img.is-loaded {
    width: 120%;
    height: 120%;
    object-fit: contain;
    opacity: 1;
  }

  .product-stage {
    height: 330px;
    margin-top: 30px;
  }

  .product-track {
    height: 270px;
  }

  .product-item {
    width: 260px;
    height: 270px;
    gap: 0;
  }

  .product-item[data-offset]:not([data-offset="0"]) {
    --opacity: 0;
    --events: none;
  }

  .product-circle,
  .product-item.active .product-circle {
    width: 260px;
    height: 250px;
    flex-basis: 250px;
  }

  .product-circle img,
  .product-item.active .product-circle img {
    width: 100%;
    height: 235px;
    object-fit: contain;
  }

  .product-item h3 {
    display: none;
  }

  .product-controls {
    position: absolute;
    top: 435px;
    left: 21px;
    width: calc(100% - 42px);
    margin: 0;
    grid-template-columns: 42px 1fr 42px;
    pointer-events: none;
  }

  .product-controls .product-nav {
    pointer-events: auto;
  }

  .product-active-label {
    position: absolute;
    top: 175px;
    right: 42px;
    left: 42px;
    padding: 0;
    font-size: 17px;
  }

  .product-next {
    grid-column: 3;
  }

  .products .pill-button {
    position: absolute;
    bottom: 58px;
    left: 50%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 0 22px;
    gap: 10px;
    font-size: 13px;
    transform: translateX(-50%);
  }

  .products .pill-button img {
    width: 16px;
  }

  .products .section-title,
  .mobile-product-categories,
  .product-stage,
  .product-controls,
  .products .pill-button {
    translate: 0 -40px;
  }

  .usp-section--frame {
    min-height: auto;
    background-color: #fbf4e6;
    background-image:
      linear-gradient(rgba(255, 253, 248, 0.3), rgba(255, 253, 248, 0.3)),
      var(--usp-background-image, url("assets/backgrounds/pattern-history-batik.webp"));
    background-position: center, center top;
    background-size: 100% 100%, 420px;
    background-repeat: no-repeat, repeat;
  }

  .usp-section--frame::before {
    content: none;
  }

  .usp-stage {
    z-index: 1;
    width: calc(100% - 36px);
    min-height: 0;
    padding: 68px 0 84px;
    align-items: center;
    justify-content: center;
    gap: 0;
    text-align: center;
  }

  .usp-copy-panel {
    display: block;
    width: 100%;
  }

  .usp-frame-title {
    font-size: clamp(31px, 9vw, 39px);
    text-align: center;
  }

  .usp-frame-kicker {
    margin-top: 15px;
    font-size: clamp(18px, 5.1vw, 23px);
    text-align: center;
  }

  .usp-frame-copy {
    width: min(280px, calc(100% - 32px));
    margin: 22px auto 0;
    font-size: clamp(12px, 3.3vw, 14px);
    line-height: 1.4;
    text-align: center;
  }

  .usp-story-card {
    margin-top: 34px;
  }

  .usp-frame-cta {
    position: relative;
    min-height: 52px;
    margin: 34px auto 0;
    border-radius: 999px;
  }

  .usp-frame-cta--copy {
    display: none;
  }

  .usp-frame-cta--mobile {
    display: inline-flex;
    top: 8px;
  }

  .usp-frame-cta::after {
    position: absolute;
    top: 50%;
    left: calc(100% + 8px);
    width: 90px;
    height: 90px;
    background: url("assets/usp/section4/usp-leaf-top.webp") center / contain no-repeat;
    transform: translateY(-50%) rotate(-8deg);
    pointer-events: none;
    content: "";
  }

  .usp-story-video {
    border-width: 5px;
    border-radius: 28px;
    box-shadow: none;
  }

  .usp-story-category {
    padding: 3px 10px;
    border-width: 1px;
    font-size: 9px;
  }

  .usp-story-label strong {
    margin-top: 8px;
  }

  .usp-story-deco--top {
    display: none;
  }

  .usp-story-deco--bottom {
    bottom: 40px;
    left: -36px;
    width: 140px;
  }

  .recipes,
  .news {
    padding: 0;
    display: grid;
    grid-template-columns: 145px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    align-items: start;
    justify-items: stretch;
    overflow: hidden;
    background-color: #fffdf8;
    background-image: var(--history-pattern-image, url("assets/backgrounds/pattern-history-batik.webp"));
    background-size: 420px;
  }

  .explore {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-color: #fffdf8;
    background-image:
      linear-gradient(rgba(255, 253, 248, 0.68), rgba(255, 253, 248, 0.68)),
      var(--history-pattern-image, url("assets/backgrounds/pattern-history-batik.webp"));
    background-size: 100% 100%, 420px;
  }

  .explore::before,
  .explore::after {
    content: "";
    position: absolute;
    z-index: 0;
    width: 108px;
    aspect-ratio: 1.65 / 1;
    background: url("assets/hero/hero-leaf-blur.webp") center / contain no-repeat;
    filter: blur(3px);
    opacity: 0.72;
    pointer-events: none;
  }

  .explore::before {
    top: 6px;
    left: -28px;
    transform: rotate(-12deg);
  }

  .explore::after {
    bottom: 75px;
    left: 76px;
    width: 96px;
    transform: rotate(-58deg);
  }

  .explore > .recipes,
  .explore > .news {
    z-index: 1;
    background-color: transparent;
    background-image: none;
  }

  .recipes .section-title,
  .news .section-title {
    grid-column: 1;
    grid-row: 1;
    padding: 0 10px 0 22px;
    font-size: clamp(25px, 7.2vw, 31px);
    line-height: 1.05;
    letter-spacing: 0.08em;
    text-align: left;
  }

  .recipe-row,
  .news-carousel {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    margin: 0;
    padding: 0 0 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .recipe-row::-webkit-scrollbar,
  .news-carousel::-webkit-scrollbar {
    display: none;
  }

  .recipe-grid,
  .news-grid {
    width: max-content;
    display: flex;
    gap: 16px;
    transform: none !important;
  }

  .recipe-card,
  .recipe-card.featured {
    width: 188px;
    flex: 0 0 188px;
    aspect-ratio: 0.92 / 1;
    border-radius: 18px;
    transform: none;
  }

  .recipe-card span {
    font-size: 15px;
  }

  .recipes .pill-button,
  .news .pill-button {
    position: absolute;
    left: 22px;
    grid-column: auto;
    grid-row: auto;
    width: 116px;
    min-width: 116px;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    gap: 7px;
    font-size: 7.5px;
    white-space: nowrap;
  }

  .recipes .pill-button img,
  .news .pill-button img {
    width: 18px;
  }

  .recipes .pill-button {
    top: 202px;
  }

  .news .pill-button {
    top: 58px;
  }

  .news {
    min-height: 275px;
    padding-top: 20px;
  }

  .recipes {
    min-height: 345px;
    padding-top: 132px;
  }

  .news-slide {
    width: 260px;
    flex: 0 0 260px;
    aspect-ratio: 1.25 / 1;
  }

  .news-card {
    inset: 0;
    border-radius: 12px;
  }

  .news .news-card img {
    object-position: 60% center;
  }

  .news-card h3 {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 64px;
    max-height: none;
    justify-content: flex-end;
    padding: 24px 14px 12px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    color: #fff;
    font-size: 13px;
  }

  /* No zoom/hover on tap for touch — keep the mobile card flat */
  .news-card:hover,
  .news-card:focus-visible,
  .news-slide:focus-within .news-card {
    inset: 0;
    transform: none;
    box-shadow: 0 10px 24px rgba(39, 27, 18, 0.08);
  }

  .news-card:hover h3,
  .news-card:focus-visible h3,
  .news-slide:focus-within .news-card h3 {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
    color: #fff;
  }

  .news-card:hover img,
  .news-card:focus-visible img,
  .news-slide:focus-within .news-card img {
    object-position: 60% center;
  }

  .site-footer {
    min-height: 0;
    border-radius: 0;
    -webkit-mask:
      radial-gradient(55% 40px at 50% 40px, #000 99%, transparent 100%) top / 100% 40px no-repeat,
      linear-gradient(#000 0 0) bottom / 100% calc(100% - 23px) no-repeat;
    mask:
      radial-gradient(55% 40px at 50% 40px, #000 99%, transparent 100%) top / 100% 40px no-repeat,
      linear-gradient(#000 0 0) bottom / 100% calc(100% - 23px) no-repeat;
  }

  .footer-inner {
    width: 100%;
    min-height: 0;
    padding: 46px 18px 18px;
    display: grid;
    grid-template-columns: 1.05fr 0.9fr 1.15fr;
    align-items: start;
    gap: 12px;
    text-align: left;
  }

  .footer-brand img {
    width: 88px;
    margin: 0 0 10px;
  }

  .site-footer h2 {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .site-footer p {
    font-size: 7.5px;
    line-height: 1.35;
  }

  .social-title {
    margin-top: 10px !important;
  }

  .socials {
    justify-content: flex-start;
    gap: 4px;
  }

  .socials a {
    width: 22px;
    height: 22px;
    border-radius: 50%;
  }

  .socials img {
    width: 100%;
    height: 100%;
  }
}

/* Mobile explore and footer layout. */
@media (max-width: 767px) {
  .explore {
    background-color: #fffdf8;
    background-image: linear-gradient(rgba(255, 253, 248, .35), rgba(255, 253, 248, .35)), var(--history-pattern-image, url("assets/backgrounds/pattern-history-batik.webp"));
    background-size: 100% 100%, 420px;
  }

  .explore::before { top: 38px; left: -34px; }
  .explore::after { right: -32px; bottom: 430px; left: auto; transform: rotate(150deg); }

  .explore > .recipes,
  .explore > .news {
    display: flex;
    min-height: 0;
    padding-right: 0;
    padding-left: 0;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    background: transparent !important;
  }

  .explore .recipe-row,
  .explore .recipe-grid,
  .explore .news-carousel,
  .explore .news-grid { background: transparent; }

  .explore > .recipes { padding-top: clamp(86px, 15vw, 112px); padding-bottom: clamp(56px, 10vw, 76px); }
  .explore > .news { padding-top: 32px; padding-bottom: clamp(62px, 12vw, 88px); }

  .recipes .section-title,
  .news .section-title {
    width: 100%;
    padding: 0 16px;
    font-size: clamp(27px, 6vw, 38px);
    line-height: 1.1;
    text-align: center;
  }

  .recipe-row,
  .news-carousel {
    width: 100%;
    padding-block: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .recipe-row {
    --carousel-card-width: 44.5vw;
    margin-top: clamp(26px, 5vw, 38px);
    padding-inline: calc((100vw - var(--carousel-card-width)) / 2);
  }

  .news-carousel {
    --carousel-card-width: 74vw;
    padding-inline: calc((100vw - var(--carousel-card-width)) / 2);
  }

  .recipe-row::-webkit-scrollbar,
  .news-carousel::-webkit-scrollbar { display: none; }
  .recipe-grid, .news-grid { gap: clamp(18px, 4.45vw, 28px); }
  .recipe-grid, .news-grid { transform: none !important; }

  .recipe-card,
  .recipe-card.featured {
    width: var(--carousel-card-width);
    flex-basis: var(--carousel-card-width);
    aspect-ratio: 1;
    border-radius: clamp(14px, 3vw, 20px);
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: none;
    transition: none;
  }

  .recipe-card img { object-position: center; }

  .recipe-card span,
  .recipe-card.featured span {
    right: 12px;
    bottom: 18px;
    left: 12px;
    font-size: clamp(12px, 2.7vw, 17px);
    text-align: right;
    transform: none;
  }

  .recipes .pill-button,
  .news .pill-button {
    position: static;
    width: auto;
    min-width: 0;
    min-height: clamp(46px, 8vw, 52px);
    padding: 0 clamp(20px, 4vw, 28px);
    gap: 14px;
    border-radius: 999px;
    font-size: clamp(12px, 2.5vw, 16px);
  }

  .recipes .pill-button { margin-top: clamp(44px, 8vw, 58px); }
  .news .section-title { margin-bottom: clamp(26px, 5vw, 38px); }
  .news-slide {
    width: var(--carousel-card-width);
    flex-basis: var(--carousel-card-width);
    aspect-ratio: 1.52 / 1;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    transform: scale(.88);
    transition: transform .25s ease;
  }

  .news-slide.is-carousel-active { z-index: 2; transform: scale(1.04); }
  .news-card { border-radius: clamp(14px, 3vw, 20px); }
  .explore .news-card,
  .explore .news-card:hover,
  .explore .news-card:focus-visible,
  .explore .news-slide:focus-within .news-card { box-shadow: none; }
  .news .news-card img { object-position: center; }
  .news-card h3 {
    min-height: 70px;
    padding: 30px clamp(68px, 18vw, 90px) 14px 18px;
    font-size: clamp(11px, 2.45vw, 15px);
  }

  .news-card h3 span {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    text-overflow: ellipsis;
  }
  .news .pill-button { margin-top: clamp(42px, 8vw, 58px); }

  .site-footer { background: #d6c8b2; -webkit-mask: none; mask: none; }
  .footer-inner {
    width: 100%;
    padding: clamp(52px, 10vw, 72px) 20px clamp(42px, 8vw, 58px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
  }

  .footer-products,
  .footer-contact > h2,
  .footer-address-desktop,
  .footer-contact-desktop { display: none; }
  .footer-brand img { width: clamp(112px, 22vw, 140px); margin: 0 auto 12px; }
  .site-footer .footer-brand h2 { margin-bottom: 10px; font-size: clamp(14px, 3vw, 18px); }
  .site-footer .footer-address-mobile,
  .site-footer .footer-contact-mobile { display: block; font-size: clamp(11px, 2.3vw, 14px); line-height: 1.45; }
  .footer-contact-mobile { margin-top: 18px !important; }
  .footer-contact-mobile span, .footer-contact-mobile i { display: inline; font-style: normal; }
  .footer-contact-mobile span { display: inline-block; }
  .footer-contact-mobile i { margin: 0 4px; }
  .site-footer .social-title { display: block; margin: 26px 0 18px !important; font-size: clamp(14px, 3vw, 18px); }
  .socials { justify-content: center; gap: 10px; }
  .socials a { width: clamp(36px, 7.2vw, 44px); height: clamp(36px, 7.2vw, 44px); border-radius: 50%; background: var(--red); }
  .socials img { width: 100%; height: 100%; }
}

@media (min-width: 768px) {
  .footer-address-mobile,
  .footer-contact-mobile { display: none; }
}

@media (max-width: 767px) {
  .main-nav a[aria-current] {
    color: var(--red);
    font-weight: 600;
  }

  .nav-lang-option {
    min-width: 62px;
    height: 46px;
    padding: 0 18px;
    font-size: 17px;
  }
}

/* Recipe explorer */
.recipe-explorer-page {
  padding-top: 104px;
  background-color: #f2ebda;
  background-image:
    linear-gradient(rgba(242, 235, 218, 0.965), rgba(242, 235, 218, 0.965)),
    var(--recipe-pattern-image);
  background-position: center top;
  background-size: auto, 920px auto;
  color: #171717;
}

.recipe-explorer-shell {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
}

.recipe-explorer-hero {
  position: relative;
  height: clamp(520px, 41vw, 820px);
  overflow: hidden;
  background-color: #f7ead2;
  background-image: var(--recipe-hero-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.recipe-explorer-hero-inner {
  width: min(1350px, calc(100% - 56px));
  height: 100%;
  display: flex;
  align-items: center;
}

.recipe-explorer-hero-copy {
  position: relative;
  z-index: 2;
  width: min(530px, 42%);
  transform: translateY(-1%);
}

.recipe-explorer-kicker {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(13px, 1vw, 17px);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.recipe-category-section > h2,
.recipe-featured-section > h2,
.recipe-list-landing-heading {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(32px, 2.8vw, 44px);
  font-weight: 400;
  line-height: 1.1;
  text-align: center;
}

.recipe-explorer-kicker {
  margin-bottom: 18px;
}

.recipe-explorer-hero h1 {
  max-width: 520px;
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(48px, 4.5vw, 76px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recipe-explorer-intro {
  max-width: 520px;
  margin: 24px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(14px, 1.05vw, 18px);
  font-weight: 400;
  line-height: 1.52;
}

.recipe-search {
  height: 66px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(158, 135, 93, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(92, 70, 39, 0.04);
}

.recipe-search--hero {
  width: min(500px, 100%);
  margin-top: 32px;
}

.recipe-search input {
  min-width: 0;
  height: 100%;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 4px 0 28px;
  background: transparent;
  color: #282520;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
}

.recipe-search input::placeholder {
  color: #aaa59b;
  opacity: 1;
}

.recipe-search button {
  width: 64px;
  height: 100%;
  flex: 0 0 64px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
}

.recipe-search button img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.recipe-search:focus-within {
  outline: 3px solid rgba(237, 31, 50, 0.24);
  outline-offset: 3px;
}

.recipe-hero-label {
  position: absolute;
  z-index: 3;
  min-width: 120px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(155, 17, 35, 0.12);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

@media (min-width: 901px) {
  .recipe-hero-label {
    animation: floatingActionsIdle 1.6s ease-in-out infinite;
  }
}

.recipe-hero-label:focus-visible,
.recipe-category-card:focus-visible,
.recipe-featured-card:focus-visible,
.recipe-list-card:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.72);
  outline-offset: 4px;
}

.recipe-hero-label--opor {
  top: 5%;
  right: 6%;
}

.recipe-hero-label--cenil {
  top: 42%;
  left: 51%;
}

.recipe-hero-label--kembang {
  top: 60%;
  right: 4.5%;
}

.recipe-category-section {
  position: relative;
  padding: 110px 0 132px;
}

.recipe-category-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 24px;
  margin-top: 46px;
}

.recipe-category-card {
  --recipe-category-image-x: 0%;
  --recipe-category-image-y: 0%;
  position: relative;
  width: 100%;
  aspect-ratio: 2.42 / 1;
  overflow: hidden;
  border-radius: 28px;
  padding: 0;
  background: #ac7635;
  text-align: left;
  isolation: isolate;
}

.recipe-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(172, 118, 53, 0.98) 0%, rgba(172, 118, 53, 0.88) 24%, rgba(172, 118, 53, 0.4) 48%, rgba(172, 118, 53, 0) 82%);
}

.recipe-category-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: translate(var(--recipe-category-image-x), var(--recipe-category-image-y)) scale(var(--recipe-category-image-scale, 1));
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.recipe-category-card span {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 38px;
  max-width: 29%;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 1.45vw, 25px);
  font-weight: 600;
  line-height: 1.18;
  transform: translateY(-50%);
}

.recipe-category-card:hover img,
.recipe-category-card:focus-visible img {
  transform: translate(var(--recipe-category-image-x), var(--recipe-category-image-y)) scale(var(--recipe-category-image-hover-scale, 1.045));
}

.recipe-featured-section {
  padding-bottom: 121px;
}

.recipe-featured-grid {
  height: 580px;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 28px 30px;
  margin-top: 36px;
}

.recipe-featured-card,
.recipe-list-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d8c9a8;
  isolation: isolate;
}

.recipe-featured-card {
  border-radius: 28px;
}

.recipe-featured-card--main {
  grid-row: 1 / 3;
}

.recipe-featured-grid.recipe-featured-grid--single {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.recipe-featured-grid.recipe-featured-grid--double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: 1fr;
}

.recipe-featured-grid--single .recipe-featured-card--main,
.recipe-featured-grid--double .recipe-featured-card--main {
  grid-column: auto;
  grid-row: auto;
}

.recipe-featured-card > img,
.recipe-list-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.recipe-featured-card:hover > img,
.recipe-featured-card:focus-visible > img,
.recipe-list-card:hover > img,
.recipe-list-card:focus-visible > img {
  transform: scale(1.035);
}

.recipe-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(22, 17, 12, 0.09) 60%, rgba(19, 15, 12, 0.74) 100%);
  pointer-events: none;
}

.recipe-card-copy {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
  display: grid;
  justify-items: start;
  gap: 9px;
  color: #fff;
  pointer-events: none;
}

.recipe-featured-card--main .recipe-card-copy {
  right: 40px;
  bottom: 34px;
  left: 40px;
}

.recipe-featured-card--cuanki .recipe-card-copy {
  bottom: 46px;
}

.recipe-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.recipe-card-tags > span {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  padding: 2px 11px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: rgba(79, 58, 37, 0.16);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
  backdrop-filter: blur(3px);
}

.recipe-featured-card--cuanki .recipe-card-tags > span {
  min-height: 30px;
  padding: 3px 14px;
  font-size: 14px;
}

.recipe-card-copy strong {
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 1.55vw, 27px);
  font-weight: 600;
  line-height: 1.12;
}

.recipe-featured-card--main .recipe-card-copy strong {
  font-size: clamp(31px, 2.7vw, 46px);
}

.recipe-list-section {
  padding-bottom: 118px;
}

.recipe-list-landing-heading + .recipe-list-toolbar {
  margin-top: 66px;
}

.recipe-list-cta {
  min-width: 186px;
  min-height: 54px;
  margin-top: 38px;
  padding: 0 28px;
  font-size: 16px;
}

.recipe-list-cta img {
  width: 22px;
}

.recipe-list-section--all {
  padding-top: clamp(72px, 7vw, 112px);
}

.recipe-list-heading {
  margin: 0 0 clamp(38px, 4vw, 58px);
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(38px, 3.4vw, 54px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.recipe-all-banner {
  min-height: clamp(220px, 21vw, 300px);
  margin-bottom: clamp(54px, 5vw, 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 28px;
  background-color: #f1e7d2;
  box-shadow: inset 0 -1px 0 #f2ebda;
  background-image:
    linear-gradient(90deg, rgba(241, 231, 210, 0) 28%, rgba(241, 231, 210, 0.78) 62%, #f1e7d2 82%),
    var(--recipe-all-banner-image);
  background-position: center, center 54%;
  background-size: cover;
  background-repeat: no-repeat;
}

.recipe-all-banner-copy {
  position: relative;
  width: min(50%, 610px);
  margin-left: auto;
  padding: 34px 46px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.recipe-all-banner h2 {
  max-width: 390px;
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(25px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.12;
}

.recipe-all-banner-cta {
  min-width: 186px;
  min-height: 50px;
  margin-top: 22px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.recipe-all-banner-cta:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.28);
  outline-offset: 4px;
}

.recipe-list-toolbar {
  display: grid;
  grid-template-columns: auto minmax(240px, 355px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

#daftar-resep-list {
  scroll-margin-top: clamp(90px, 8vw, 128px);
}

.recipe-list-filters {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 20px;
}

.recipe-select {
  position: relative;
  min-width: 220px;
  height: 58px;
  display: block;
}

.recipe-select :is(select, .filter-select-button) {
  width: 100%;
  height: 100%;
  appearance: none;
  border: 0;
  border-radius: 999px;
  outline: 0;
  padding: 0 40px;
  background: rgba(255, 255, 255, 0.96);
  color: #25221e;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  text-align-last: center;
  cursor: pointer;
}

.filter-select-button {
  display: grid;
  place-items: center;
}

.filter-select-label {
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.filter-dialog {
  width: min(90vw, 420px);
  max-height: 88dvh;
  margin: auto;
  padding: 0;
  border: 1px solid #e5d8b9;
  border-radius: 24px;
  background: #fffcf6;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  color-scheme: light;
}

.filter-dialog::backdrop {
  background: rgba(40, 34, 24, 0.32);
}

.filter-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
}

.filter-dialog-header h2 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.filter-dialog-header button {
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: var(--red);
  font: 600 12px "Poppins", sans-serif;
  cursor: pointer;
}

.filter-dialog-options {
  max-height: 65dvh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 12px 12px;
}

.filter-dialog-options button {
  width: 100%;
  min-height: 48px;
  padding: 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  font: 400 15px "Poppins", sans-serif;
  text-align: left;
  cursor: pointer;
}

.filter-dialog-options button:hover,
.filter-dialog-options button[aria-pressed="true"] {
  background: #f2ebdb;
}

.filter-dialog-options button[aria-pressed="true"] {
  color: var(--red);
  font-weight: 600;
}

.recipe-select :is(select, .filter-select-button):focus-visible,
.filter-dialog button:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.24);
  outline-offset: 3px;
}

.recipe-select img {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 12px;
  filter: brightness(0);
  transform: translateY(-50%);
  pointer-events: none;
}

.recipe-search--toolbar {
  width: min(355px, 100%);
  height: 58px;
  justify-self: end;
}

.recipe-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 28px;
  margin-top: 54px;
}

.recipe-list-card {
  aspect-ratio: 1.5 / 1;
  border-radius: 27px;
}

.recipe-list-card[hidden] {
  display: none;
}

.recipe-list-card .recipe-card-copy {
  right: 30px;
  bottom: 24px;
  left: 30px;
  gap: 8px;
}

.recipe-list-card .recipe-card-copy strong {
  font-size: clamp(18px, 1.5vw, 25px);
}

.recipe-list-card--edge-crop > img {
  transform: scale(1.02);
}

.recipe-list-card--edge-crop:hover > img,
.recipe-list-card--edge-crop:focus-visible > img {
  transform: scale(1.055);
}

.recipe-pagination {
  margin-top: clamp(46px, 5vw, 72px);
}

.recipe-pagination nav {
  display: flex;
  justify-content: center;
}

.recipe-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 620px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipe-pagination li > a,
.recipe-pagination li > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #25221e;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.recipe-pagination li.active > span {
  background: var(--red);
  color: #fff;
}

.recipe-pagination li:not(.active):not(.disabled) > a:hover,
.recipe-pagination li:not(.active):not(.disabled) > a:focus-visible {
  background: var(--deep-red);
  color: #fff;
}

.recipe-pagination li > a:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.24);
  outline-offset: 3px;
}

.recipe-pagination li.disabled > span {
  color: #aaa59b;
}

.recipe-list-empty {
  margin: 54px 0 0;
  padding: 36px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.72);
  color: #655e54;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  text-align: center;
}

.recipe-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

@media (min-width: 901px) and (max-width: 1200px) {
  .recipe-explorer-shell.recipe-category-section {
    width: min(814px, calc(100% - 100px));
    margin-left: 7.4%;
    margin-right: auto;
    padding-top: 28px;
    padding-bottom: 37px;
  }

  .recipe-category-cards {
    gap: 15px 17px;
    margin-top: 23px;
  }

  .recipe-category-card {
    aspect-ratio: 2.44 / 1;
    border-radius: 21px;
  }

  .recipe-category-card span {
    left: 24px;
    font-size: 19px;
  }
}

@media (min-width: 901px) {
  .recipe-explorer-shell.recipe-explorer-hero-inner {
    width: min(100%, calc(1350px + 20vw));
    padding-inline: 10vw;
  }

  .recipe-category-card:nth-child(1) {
    --recipe-category-image-scale: 1.87;
    --recipe-category-image-hover-scale: 1.92;
    --recipe-category-image-x: 17.4%;
    --recipe-category-image-y: 5.2%;
  }

  .recipe-category-card:nth-child(2) {
    --recipe-category-image-scale: 2.02;
    --recipe-category-image-hover-scale: 2.07;
    --recipe-category-image-x: 26.5%;
    --recipe-category-image-y: -2.9%;
  }

  .recipe-category-card:nth-child(3) {
    --recipe-category-image-scale: 1.68;
    --recipe-category-image-hover-scale: 1.73;
    --recipe-category-image-x: -2%;
    --recipe-category-image-y: 11.4%;
  }

  .recipe-category-card:nth-child(4) {
    --recipe-category-image-scale: 1.52;
    --recipe-category-image-hover-scale: 1.57;
    --recipe-category-image-x: -7.8%;
    --recipe-category-image-y: 14.1%;
  }

  .recipe-category-card:nth-child(5) {
    --recipe-category-image-scale: 1.45;
    --recipe-category-image-hover-scale: 1.50;
    --recipe-category-image-x: 5.9%;
    --recipe-category-image-y: 8.2%;
  }

  .recipe-category-card:nth-child(6) {
    --recipe-category-image-scale: 1.57;
    --recipe-category-image-hover-scale: 1.62;
    --recipe-category-image-x: 26.2%;
    --recipe-category-image-y: 7.8%;
  }
}

@media (max-width: 1200px) {
  .recipe-explorer-shell {
    width: min(1080px, calc(100% - 64px));
  }

  .recipe-explorer-hero-copy {
    width: min(480px, 44%);
  }

  .recipe-explorer-hero h1 {
    font-size: clamp(46px, 5.2vw, 64px);
  }

  .recipe-hero-label {
    min-height: 46px;
    padding: 0 20px;
    font-size: 14px;
  }

  .recipe-featured-grid {
    height: 540px;
  }

  .recipe-select {
    min-width: 190px;
  }
}

@media (max-width: 1024px) {
  .recipe-explorer-page {
    padding-top: 92px;
  }

  .recipe-explorer-hero {
    background-position: 53% center;
  }

  .recipe-category-section {
    padding-top: 88px;
  }

  .recipe-category-card {
    border-radius: 22px;
  }

  .recipe-category-card span {
    left: 26px;
  }

  .recipe-featured-grid {
    height: 500px;
  }
}

@media (max-width: 900px) {
  .recipe-explorer-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(248, 237, 215, 0.97) 0%, rgba(248, 237, 215, 0.86) 48%, rgba(248, 237, 215, 0.12) 100%);
    pointer-events: none;
  }

  .recipe-explorer-hero-copy {
    width: min(500px, 68%);
  }

  .recipe-hero-label {
    display: none;
  }

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

  .recipe-featured-grid {
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }

  .recipe-featured-card {
    aspect-ratio: 1.5 / 1;
  }

  .recipe-featured-card--main {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .recipe-list-toolbar {
    display: flex;
    align-items: stretch;
    flex-direction: column;
  }

  .recipe-list-filters {
    width: 100%;
  }

  .recipe-select {
    min-width: 0;
    flex: 1;
  }

  .recipe-search--toolbar {
    width: 100%;
  }

  .recipe-all-banner-copy {
    width: 56%;
    padding: 30px 32px;
  }
}

@media (max-width: 767px) {
  .recipe-explorer-page {
    padding-top: 78px;
  }

  .recipe-explorer-page:has(.recipe-explorer-hero) {
    padding-top: 0;
  }

  .recipe-explorer-shell {
    width: min(100% - 36px, 620px);
  }

  .recipe-explorer-hero {
    height: auto;
    min-height: calc(620px + clamp(48px, 12vw, 88px));
    padding-top: calc(clamp(48px, 12vw, 88px) + 30px);
    background-position: 66% center;
  }

  .recipe-explorer-hero::before {
    background: linear-gradient(90deg, rgba(248, 237, 215, 0.98) 0%, rgba(248, 237, 215, 0.91) 58%, rgba(248, 237, 215, 0.26) 100%);
  }

  .recipe-explorer-hero-copy {
    width: min(480px, 88%);
    transform: none;
  }

  .recipe-explorer-hero h1 {
    font-size: clamp(42px, 11vw, 62px);
  }

  .recipe-explorer-intro {
    font-size: 14px;
  }

  .recipe-category-section {
    padding: 72px 0 90px;
  }

  .recipe-featured-section {
    padding-bottom: 90px;
  }

  .recipe-list-section {
    padding-bottom: 86px;
  }

  .recipe-category-card span {
    left: 22px;
    font-size: 18px;
  }

  .recipe-featured-card--cuanki .recipe-card-tags > span {
    min-height: 28px;
    padding: 3px 13px;
    font-size: 13px;
  }

  .recipe-list-cta {
    min-width: 156px;
    min-height: 46px;
    margin: 34px auto 0;
    padding: 0 22px;
    font-size: 14px;
  }

  .recipe-list-cta img {
    width: 18px;
  }

  .recipe-list-section--all {
    padding-top: 40px;
  }

  .recipe-all-banner {
    display: none;
  }

  .recipe-pagination .pagination {
    gap: 7px;
  }

  .recipe-pagination li > a,
  .recipe-pagination li > span {
    width: 38px;
    height: 38px;
    font-size: 13px;
  }

  .recipe-featured-grid {
    gap: 18px;
  }

  .recipe-card-copy,
  .recipe-featured-card--main .recipe-card-copy,
  .recipe-list-card .recipe-card-copy {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .recipe-featured-card--cuanki .recipe-card-copy {
    bottom: 30px;
  }

  .recipe-featured-card--main .recipe-card-copy strong {
    font-size: clamp(27px, 7vw, 40px);
  }

  .recipe-list-grid {
    gap: 20px;
    margin-top: 38px;
  }
}

@media (max-width: 580px) {
  .recipe-explorer-hero {
    min-height: calc(590px + clamp(48px, 12vw, 88px));
    background-position: 61% center;
  }

  .recipe-explorer-hero::before {
    background: rgba(248, 237, 215, 0.76);
  }

  .recipe-explorer-hero-copy {
    width: 100%;
  }

  .recipe-explorer-hero h1 {
    max-width: 410px;
  }

  .recipe-search {
    height: 58px;
  }

  .recipe-category-cards,
  .recipe-featured-grid,
  .recipe-list-grid {
    grid-template-columns: 1fr;
  }

  .recipe-featured-grid.recipe-featured-grid--double {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .recipe-category-card {
    aspect-ratio: 2.25 / 1;
  }

  .recipe-featured-card--main {
    grid-column: auto;
  }

  .recipe-list-filters {
    gap: 12px;
  }

  .recipe-select {
    height: 54px;
  }

  .recipe-select :is(select, .filter-select-button) {
    padding: 0 32px;
    font-size: 12px;
  }

  .recipe-select img {
    right: 18px;
  }
}

.recipe-mobile-copy,
.mobile-recipe-featured {
  display: none;
}

/* Mobile recipe landing: curry-focused banner, featured carousel, and single-column list. */
@media (max-width: 767px) {
  .recipe-explorer-page:not(.recipe-all-page) .recipe-desktop-copy,
  .recipe-explorer-kicker,
  .recipe-category-section,
  .recipe-featured-grid {
    display: none;
  }

  .recipe-mobile-copy,
  .mobile-recipe-featured {
    display: block;
  }

  .recipe-explorer-hero {
    min-height: 0;
    padding: 0;
    background-size: auto 175%;
    background-position: 88% top;
  }

  .recipe-explorer-hero::before {
    background: linear-gradient(90deg, rgba(250, 240, 224, 0.96), rgba(250, 240, 224, 0.9) 36%, rgba(250, 240, 224, 0.35) 50%, transparent 65%);
  }

  .recipe-explorer-hero-inner {
    width: 84%;
    height: auto;
    display: block;
    padding: clamp(68px, 20vw, 154px) 0 clamp(24px, 7vw, 54px);
  }

  .recipe-explorer-hero-copy {
    width: 100%;
  }

  .recipe-explorer-hero h1 {
    width: 48%;
    font-size: clamp(22px, 5.55vw, 42px);
    line-height: 1.2;
    letter-spacing: 0.045em;
  }

  .recipe-explorer-intro.recipe-mobile-copy {
    width: 48%;
    margin-top: 4px;
    font-size: clamp(11px, 2.5vw, 19px);
    line-height: 1.45;
  }

  .recipe-search--hero {
    width: 100%;
    height: clamp(44px, 12.8vw, 98px);
    margin-top: clamp(20px, 7.5vw, 58px);
  }

  .recipe-search--hero input {
    padding-left: 4vw;
    font-size: clamp(12px, 3.3vw, 25px);
  }

  .recipe-search--hero button {
    width: 64px;
    flex-basis: 64px;
  }

  .recipe-search--hero button img {
    width: 25px;
    height: 25px;
  }

  .recipe-featured-section {
    width: 100%;
    padding: clamp(24px, 7.2vw, 55px) 0 clamp(20px, 5.3vw, 41px);
  }

  .recipe-featured-section > h2,
  .recipe-list-landing-heading {
    font-size: clamp(24px, 6vw, 46px);
  }

  .mobile-recipe-featured {
    margin-top: 2.3vw;
  }

  .mobile-recipe-featured-track {
    display: flex;
    gap: 2.4vw;
    padding: 4px 12vw;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mobile-recipe-featured-track::-webkit-scrollbar {
    display: none;
  }

  .mobile-recipe-featured-card {
    position: relative;
    flex: 0 0 76vw;
    aspect-ratio: 1.53;
    overflow: hidden;
    isolation: isolate;
    border-radius: 4.2vw;
    background: #d8c9a8;
    scroll-snap-align: center;
  }

  .mobile-recipe-featured-card > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .mobile-recipe-featured-card--bakpia > img {
    transform: scale(1.3);
    transform-origin: center bottom;
  }

  .mobile-recipe-featured-card .recipe-card-copy {
    inset: auto 5.5vw 3vw;
    gap: 1.3vw;
  }

  .mobile-recipe-featured-card .recipe-card-copy strong {
    font-size: clamp(16px, 4.2vw, 32px);
  }

  .mobile-recipe-featured-card .recipe-card-tags > span {
    min-height: 0;
    padding: 3px 9px;
    font-size: clamp(9px, 1.8vw, 14px);
  }

  .mobile-recipe-featured-dots {
    display: flex;
    justify-content: center;
    margin-top: 2.1vw;
  }

  .mobile-recipe-featured-dots button {
    width: 20px;
    height: 24px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .mobile-recipe-featured-dots span {
    width: clamp(6px, 1.6vw, 12px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: #d7d7d7;
  }

  .mobile-recipe-featured-dots [aria-current="true"] span {
    background: var(--red);
  }

  .mobile-recipe-featured-card:focus-visible,
  .mobile-recipe-featured-dots button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 2px;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-list-section {
    width: 84%;
  }

  .recipe-list-landing-heading + .recipe-list-toolbar {
    gap: 4.4vw;
    margin-top: 5.5vw;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-list-filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3.1vw;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-select {
    height: clamp(40px, 12.2vw, 94px);
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-select :is(select, .filter-select-button) {
    padding: 0 18px;
    font-size: clamp(10px, 2.7vw, 20px);
  }

  .recipe-explorer-page .filter-select-label {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow-wrap: anywhere;
    white-space: normal;
    line-height: 1.25;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-select img {
    right: 7px;
    width: 7px;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-search--toolbar {
    height: clamp(44px, 12.8vw, 98px);
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-search--toolbar input {
    padding-left: 4vw;
    font-size: clamp(12px, 3.3vw, 25px);
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-search--toolbar button {
    width: 64px;
    flex-basis: 64px;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-list-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 4.5vw;
    margin-top: 7.2vw;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-list-card {
    border-radius: 4vw;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-list-card .recipe-card-copy {
    inset: auto 5vw 5vw;
    gap: 8px;
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-list-card .recipe-card-copy strong {
    font-size: clamp(18px, 4.6vw, 35px);
  }

  .recipe-explorer-page:not(.recipe-all-page) .recipe-list-card .recipe-card-tags > span {
    min-height: 0;
    padding: 3px 9px;
    font-size: clamp(10px, 2.5vw, 19px);
    line-height: 1.2;
  }
}

/* Contact page */
.contact-page {
  --contact-header-height: 104px;
  padding: var(--contact-header-height) 0 clamp(120px, 9vw, 180px);
  overflow: hidden;
  background-color: #fbf8f0;
  background-image: var(--contact-background-image);
  background-position: right top var(--contact-header-height);
  background-repeat: no-repeat;
  background-size: min(1687.5px, 112.5vw) auto;
  color: var(--ink);
}

.contact-page,
.contact-page * {
  box-sizing: border-box;
}

.contact-shell {
  width: min(1460px, calc(100% - 56px));
  margin: 0 auto;
}

.contact-intro {
  padding-top: clamp(122px, 8vw, 158px);
}

.contact-intro h1 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(52px, 4vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
}

.contact-intro p {
  margin: clamp(40px, 3vw, 50px) 0 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 400;
  line-height: 1.4;
}

.contact-intro p span,
.contact-info-card p span {
  display: block;
}

.contact-intro p .contact-intro-mobile {
  display: none;
}

.contact-layout {
  margin-top: clamp(58px, 4vw, 70px);
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(420px, 1fr);
  gap: clamp(36px, 3vw, 56px);
  align-items: start;
}

.contact-form-card,
.contact-info-card {
  position: relative;
  background: rgba(239, 232, 218, 0.88);
}

.contact-form-card {
  min-width: 0;
  padding: clamp(52px, 4vw, 68px) clamp(44px, 4vw, 70px) clamp(58px, 4.5vw, 70px);
  border-radius: clamp(48px, 4.5vw, 82px);
}

.contact-card-title,
.contact-info-card h2 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-weight: 400;
  line-height: 1.08;
}

.contact-form-title {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: clamp(34px, 2.35vw, 44px);
}

.contact-send-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
}

.contact-send-icon img {
  width: 30px;
}

.contact-form {
  margin-top: clamp(40px, 2.2vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px clamp(30px, 3vw, 46px);
}

.contact-field {
  min-width: 0;
  display: grid;
  gap: 9px;
  color: #111;
  font-family: "Poppins", sans-serif;
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 600;
}

.contact-field-category {
  grid-column: 1;
}

.contact-field-message {
  grid-column: 1 / -1;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid var(--red);
  background: rgba(255, 253, 248, 0.96);
  color: var(--ink);
  opacity: 1;
}

.contact-field input,
.contact-field select {
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
}

.contact-field select {
  padding-right: 54px;
  appearance: none;
  cursor: pointer;
}

.contact-field select:invalid {
  color: #8a8a8a;
}

.contact-field select option {
  color: var(--ink);
}

.contact-select-control {
  position: relative;
  display: block;
}

.contact-select-control img {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 10px;
  height: auto;
  filter: brightness(0);
  pointer-events: none;
  transform: translateY(-50%);
}

.contact-field textarea {
  min-height: 240px;
  padding: 18px 20px;
  border-radius: 22px;
  resize: none;
}

.contact-message-control {
  min-width: 0;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--red);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.96);
}

.contact-message-control:focus-within {
  outline: 3px solid rgba(237, 31, 50, 0.35);
  outline-offset: 4px;
}

.contact-message-control textarea {
  min-height: 170px;
  flex: 1;
  border: 0;
  background: transparent;
}

.contact-form .contact-message-control textarea:focus-visible {
  outline: none;
}

.contact-attachment-bar {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 0 12px 12px 20px;
}

.contact-attachment-list {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-attachment {
  min-width: 0;
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 400;
}

.contact-attachment-type {
  flex-shrink: 0;
  width: 34px;
  padding: 12px 0 5px;
  border: 1px solid #ddd5c8;
  border-radius: 3px;
  color: var(--red);
  text-align: center;
  font-size: 9px;
  font-weight: 600;
}

.contact-attachment-details {
  min-width: 0;
  max-width: 160px;
  display: grid;
  gap: 3px;
}

.contact-attachment-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-attachment-size {
  color: #777;
  font-size: 11px;
}

.contact-attach,
.contact-attachment-remove {
  position: relative;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.contact-attachment-remove {
  width: 28px;
  font: inherit;
  font-size: 20px;
}

.contact-attach:hover,
.contact-attachment-remove:hover {
  background: rgba(237, 31, 50, 0.06);
}

.contact-attach:focus-within {
  outline: 2px solid var(--red);
}

.contact-attach img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-attachment-note,
.contact-attachment-error {
  margin: 0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.6;
}

.contact-attachment-note {
  color: #666;
}

.contact-attachment-error {
  color: var(--red);
}

.contact-form [data-contact-submit] {
  grid-column: 1 / -1;
  min-width: 202px;
  min-height: 54px;
  justify-self: center;
  margin-top: 16px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
  opacity: 1;
}

.contact-form-feedback {
  grid-column: 1 / -1;
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.contact-form-feedback.is-error {
  color: var(--red);
}

.contact-success-dialog {
  position: fixed;
  inset: 0;
  width: min(420px, 60vw);
  margin: auto;
  padding: 32px 16px 24px;
  border: 0;
  border-radius: 24px;
  background: #fffdf8;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.contact-success-dialog::backdrop {
  background: rgba(0, 0, 0, 0.22);
}

.contact-success-dialog p {
  margin: 0 0 12px;
}

.contact-success-dialog button {
  min-width: 76px;
  min-height: 36px;
  padding: 4px 16px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible,
.contact-socials a:focus-visible,
.contact-info-card a:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.35);
  outline-offset: 4px;
}

.contact-info-stack {
  min-width: 0;
  display: grid;
  gap: clamp(34px, 2.3vw, 44px);
}

.contact-info-card {
  padding: clamp(42px, 3vw, 54px) clamp(42px, 3.2vw, 62px);
  border-radius: clamp(38px, 3vw, 54px);
}

.contact-info-card h2 {
  font-size: clamp(31px, 2vw, 39px);
}

.contact-service-card {
  padding-block: 43px;
}

.contact-office-card {
  padding-block: 37px;
}

.contact-info-row {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.contact-info-icon {
  width: 76px;
  height: 76px;
  margin-left: -8px;
  object-fit: contain;
}

.contact-info-card p {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(16px, 1.12vw, 21px);
  font-weight: 400;
  line-height: 1.55;
}

.contact-info-card a {
  color: inherit;
}

.contact-service-link {
  display: block;
}

.contact-service-link:hover,
.contact-service-link:focus-visible {
  color: var(--red);
  font-weight: 600;
}

.contact-hours {
  margin-top: 22px !important;
}

.contact-office-row {
  grid-template-columns: 66px minmax(0, 1fr);
}

.contact-social-card {
  padding-top: clamp(54px, 3.2vw, 60px);
  padding-bottom: clamp(60px, 3.8vw, 72px);
}

.contact-socials {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.1vw, 19px);
}

.contact-socials a,
.contact-socials img {
  width: clamp(54px, 3.45vw, 67px);
  height: clamp(54px, 3.45vw, 67px);
  display: block;
  border-radius: 50%;
}

.contact-socials a {
  flex: 0 0 auto;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.contact-socials a:hover,
.contact-socials a:focus-visible {
  transform: scale(1.07);
}

.contact-socials img {
  object-fit: cover;
}

.contact-decoration {
  position: absolute;
  z-index: 2;
  max-width: none;
  pointer-events: none;
}

.contact-wheat {
  width: clamp(170px, 12vw, 230px);
  top: -46px;
  right: -52px;
  filter: blur(6px);
}

.contact-leaf-one {
  width: clamp(170px, 11vw, 210px);
  bottom: -22px;
  left: -72px;
  filter: blur(4px);
}

.contact-leaf-two {
  width: clamp(185px, 11.5vw, 220px);
  top: -94px;
  right: -120px;
  filter: blur(7px);
}

@media (max-width: 1200px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.6fr) minmax(360px, 1fr);
    gap: 30px;
  }

  .contact-form-card {
    padding-inline: 44px;
  }

  .contact-info-card {
    padding-inline: 38px;
  }
}

@media (max-width: 1280px) {
  .contact-page {
    --contact-header-height: 92px;
  }
}

@media (max-width: 1024px) {
  .contact-shell {
    width: min(900px, calc(100% - 48px));
  }

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

  .contact-info-card {
    padding-inline: clamp(40px, 7vw, 62px);
  }
}

@media (max-width: 767px) {
  .contact-page {
    --contact-header-height: clamp(48px, 12vw, 88px);
    padding-bottom: 90px;
    background-position: left top var(--contact-header-height);
    background-size: auto 620px;
  }

  .contact-shell {
    width: 84%;
    margin-inline: auto;
  }

  .contact-intro {
    padding-top: 78px;
  }

  .contact-intro h1 {
    font-size: clamp(32px, 9.6vw, 42px);
    letter-spacing: 0.055em;
  }

  .contact-intro p {
    margin-top: 28px;
    font-size: 16px;
  }

  .contact-intro p span {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: break-word;
  }

  .contact-intro p .contact-intro-desktop {
    display: none;
  }

  .contact-intro p .contact-intro-mobile {
    display: block;
  }

  .contact-layout {
    margin-top: 32px;
    gap: 26px;
  }

  .contact-form-card,
  .contact-info-stack,
  .contact-info-card {
    width: 100%;
    max-width: 100%;
    border-radius: 30px;
  }

  .contact-form-card {
    padding: 34px 24px 44px;
  }

  .contact-form-title {
    gap: 12px;
    font-size: 30px;
  }

  .contact-send-icon {
    width: 48px;
    height: 48px;
  }

  .contact-send-icon img {
    width: 25px;
  }

  .contact-form {
    margin-top: 38px;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-field,
  .contact-field-category,
  .contact-field-message,
  .contact-form [data-contact-submit] {
    grid-column: 1;
  }

  .contact-field textarea {
    min-height: 190px;
  }

  .contact-message-control {
    min-height: 190px;
  }

  .contact-message-control textarea {
    min-height: 120px;
  }

  .contact-field {
    font-size: 16px;
  }

  .contact-form [data-contact-submit] {
    font-size: 15px;
  }

  .contact-field input,
  .contact-field select,
  .contact-field textarea {
    max-width: 100%;
  }

  .contact-info-card {
    padding: 34px 26px 38px;
  }

  .contact-info-stack {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-info-card h2 {
    font-size: 31px;
  }

  .contact-info-row,
  .contact-office-row {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .contact-info-icon {
    width: 68px;
    height: 68px;
    margin-left: -8px;
  }

  .contact-info-card p {
    font-size: 15px;
  }

  .contact-socials {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
  }

  .contact-socials a,
  .contact-socials img {
    width: 100%;
    max-width: 52px;
    height: auto;
    aspect-ratio: 1;
  }

  .contact-wheat {
    width: 150px;
    top: -44px;
    right: -55px;
    filter: blur(4px);
  }

  .contact-leaf-one {
    width: 160px;
    bottom: -24px;
    left: -58px;
    filter: blur(3px);
  }

  .contact-leaf-two {
    display: none;
  }
}

/* Article explorer */
.article-mobile-copy {
  display: none;
}

.article-explorer-page {
  --article-header-height: 104px;
  padding-top: var(--article-header-height);
  overflow-x: clip;
  background: #f2ebda;
  color: var(--ink);
}

.article-shell {
  width: min(1400px, calc(100% - 56px));
  margin: 0 auto;
}

.article-hero {
  position: relative;
  isolation: isolate;
  height: calc(100svh - var(--article-header-height));
  overflow: hidden;
  background-color: #efe4cd;
  background-image: var(--article-hero-image);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
}

.article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(248, 241, 224, 0.12);
  pointer-events: none;
}

.article-hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}

.article-hero-copy {
  width: min(720px, 56%);
  margin-left: 42px;
}

.article-hero h1 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(46px, 3vw, 58px);
  font-weight: 400;
  line-height: 1.18;
}

.article-hero h1 span {
  display: block;
}

.article-hero-intro {
  max-width: 620px;
  margin: 14px 0 0;
  color: #4f493f;
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.65;
}

.article-hero-cta,
.article-list-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-hero-cta {
  min-width: 164px;
  min-height: 52px;
  margin-top: 26px;
  padding: 0 32px;
  font-size: 16px;
}

.article-hero-cta:focus-visible,
.article-list-cta:focus-visible,
.article-featured-card:focus-visible,
.article-list-card:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.35);
  outline-offset: 4px;
}

.article-list-section {
  padding: clamp(116px, 9vw, 160px) 0 118px;
  scroll-margin-top: var(--article-header-height);
}

.article-list-section--all {
  padding-top: clamp(150px, 11vw, 205px);
}

.article-page-heading {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(48px, 4.2vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.article-toolbar {
  margin-top: clamp(62px, 5vw, 82px);
}

.article-toolbar .recipe-select img {
  filter: brightness(0) saturate(100%) invert(82%) sepia(13%) saturate(389%) hue-rotate(358deg) brightness(94%) contrast(88%);
}

.article-toolbar .recipe-search button img {
  filter: invert(22%) sepia(97%) saturate(4305%) hue-rotate(346deg) brightness(103%) contrast(92%);
}

.article-featured-heading {
  margin: 0;
  color: var(--red);
  font-family: "Poppins", sans-serif;
  font-size: clamp(24px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
}

.article-featured-slider {
  position: relative;
  min-width: 0;
  margin-top: 36px;
}

.article-featured-track {
  min-width: 0;
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.article-featured-track::-webkit-scrollbar {
  display: none;
}

.article-featured-track:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.35);
  outline-offset: 6px;
}

.article-featured-slide {
  min-width: 0;
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.article-featured-card {
  min-width: 0;
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(300px, 1fr);
  gap: clamp(36px, 3.2vw, 58px);
  align-items: center;
  color: var(--ink);
}

.article-featured-controls-grid {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 2.35fr) minmax(300px, 1fr);
  gap: clamp(36px, 3.2vw, 58px);
  align-items: center;
  pointer-events: none;
}

.article-featured-media-controls {
  position: relative;
  grid-column: 1;
  aspect-ratio: 960 / 505;
}

.article-featured-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(46, 43, 38, 0.36);
  cursor: pointer;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-featured-nav:hover {
  background: rgba(46, 43, 38, 0.58);
  transform: translateY(-50%) scale(1.05);
}

.article-featured-nav:disabled,
.umkm-stories-nav:disabled {
  cursor: default;
  opacity: 0.35;
}

.article-featured-nav:focus-visible,
.article-featured-dot:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.92);
  outline-offset: 3px;
}

.article-featured-nav--previous {
  left: 24px;
}

.article-featured-nav--next {
  right: 24px;
}

.article-featured-nav img {
  width: 25px;
  height: auto;
  filter: brightness(0) invert(1);
}

.article-featured-nav--previous img {
  transform: rotate(180deg);
}

.article-featured-pagination {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  display: grid;
  justify-items: center;
  gap: 0;
  color: #fff;
  font-family: "Poppins", sans-serif;
  pointer-events: none;
}

.article-featured-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  pointer-events: auto;
}

.article-featured-dot {
  position: relative;
  width: 42px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.article-featured-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-featured-dot:hover::before {
  background: rgba(255, 255, 255, 0.72);
}

.article-featured-dot.is-active::before {
  background: var(--red);
  transform: translateY(-50%) scaleX(1.08);
}

.article-featured-status {
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5);
}

.article-featured-image,
.article-list-card-image {
  min-width: 0;
  display: block;
  overflow: hidden;
  border-radius: 28px;
  background: #d8c9a8;
}

.article-featured-image {
  position: relative;
  aspect-ratio: 960 / 505;
}

.article-featured-slider .article-featured-image::after {
  content: "";
  position: absolute;
  inset: 44% 0 0;
  background: linear-gradient(180deg, transparent, rgba(15, 14, 12, 0.62));
  pointer-events: none;
}

.article-featured-image img,
.article-list-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-featured-image img {
  object-fit: contain;
}

.article-list-card:hover .article-list-card-image img,
.article-list-card:focus-visible .article-list-card-image img {
  transform: scale(1.035);
}

.article-featured-copy,
.article-list-card-copy {
  min-width: 0;
  display: grid;
  font-family: "Poppins", sans-serif;
}

.article-featured-copy {
  gap: 20px;
}

.article-featured-copy strong,
.article-list-card-copy strong {
  color: var(--red);
  font-weight: 600;
  text-transform: uppercase;
}

.article-featured-copy strong {
  font-size: clamp(25px, 2vw, 34px);
  line-height: 1.38;
}

.article-featured-excerpt,
.article-list-card-copy > span {
  color: #211f1c;
  font-weight: 400;
}

.article-featured-excerpt {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.article-featured-cta {
  width: fit-content;
  min-width: 180px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 400;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.article-featured-card:hover .article-featured-cta,
.article-featured-card:focus-visible .article-featured-cta {
  background: var(--deep-red);
  transform: translateY(-2px);
}

.article-list-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(58px, 5vw, 84px) clamp(30px, 3vw, 52px);
  margin-top: clamp(82px, 7vw, 112px);
}

.article-list-section--all .article-list-grid {
  margin-top: clamp(64px, 5vw, 82px);
}

.article-list-card {
  min-width: 0;
  display: block;
  color: var(--ink);
}

.article-list-card-image {
  aspect-ratio: 16 / 9;
}

.article-list-card-copy {
  gap: 12px;
  margin-top: 20px;
}

.article-list-card-copy strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(17px, 1.35vw, 22px);
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-list-card-copy > span {
  display: -webkit-box;
  overflow: hidden;
  font-size: clamp(15px, 1.08vw, 18px);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.article-list-cta {
  width: fit-content;
  min-width: 244px;
  display: flex;
  margin: clamp(62px, 6vw, 94px) auto 0;
  padding: 0 30px;
}

.article-pagination {
  margin-top: clamp(72px, 7vw, 105px);
}

.article-explorer-page ~ .site-footer .footer-brand img,
.article-explorer-page ~ .site-footer .socials img {
  filter: saturate(1.18) contrast(1.06);
}

@media (max-width: 1200px) {
  .article-shell {
    width: min(1080px, calc(100% - 64px));
  }

  .article-hero-copy {
    margin-left: 18px;
  }

  .article-featured-card,
  .article-featured-controls-grid {
    grid-template-columns: minmax(0, 1.75fr) minmax(300px, 1fr);
  }
}

@media (max-width: 1280px) {
  .article-explorer-page {
    --article-header-height: 92px;
  }
}

@media (max-width: 1024px) {
  .article-hero {
    background-position: right center;
  }
}

@media (max-width: 900px) {
  .article-hero {
    position: relative;
  }

  .article-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(242, 235, 218, 0.92), rgba(242, 235, 218, 0.64) 54%, rgba(242, 235, 218, 0.05));
    pointer-events: none;
  }

  .article-hero-copy {
    position: relative;
    width: min(500px, 68%);
    margin-left: 0;
  }

  .article-featured-card,
  .article-featured-controls-grid {
    grid-template-columns: 1fr;
  }

  .article-featured-controls-grid {
    align-items: start;
  }

  .article-featured-copy {
    gap: 14px;
  }

  .article-featured-excerpt {
    -webkit-line-clamp: 4;
  }

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

@media (max-width: 767px) {
  .article-explorer-page {
    --article-header-height: clamp(48px, 12vw, 88px);
  }

  .article-explorer-page:has(.article-hero) {
    padding-top: var(--article-header-height);
  }

  .article-shell,
  .article-detail-shell {
    width: 84%;
  }

  .article-hero {
    display: none;
  }

  .article-list-section {
    padding: 72px 0 86px;
  }

  .article-list-section--all {
    padding-top: 68px;
  }

  .article-page-heading {
    font-size: clamp(34px, 9vw, 52px);
    letter-spacing: 0.06em;
  }

  .article-featured-heading {
    margin-top: 0;
    font-size: 22px;
  }

  .article-featured-image,
  .article-list-card-image {
    border-radius: 22px;
  }

  .article-list-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px 24px;
    margin-top: 64px;
  }

  .article-list-section--all .article-list-grid {
    margin-top: 48px;
  }

  .article-explorer-page:not(.article-all-page) .article-list-section {
    padding: 0 0 clamp(48px, 12vw, 88px);
  }

  .article-mobile-copy {
    display: block;
  }

  .article-desktop-copy,
  .article-featured-copy,
  .article-featured-heading {
    display: none;
  }

  .article-featured-heading,
  .article-all-heading {
    margin: 0;
    font-family: var(--brand-font);
    font-size: clamp(26px, 6.6vw, 46px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--red);
    text-align: center;
    text-transform: none;
  }

  .article-featured-slider {
    width: 100vw;
    margin-top: 0;
    margin-inline: calc(50% - 50vw);
  }

  .article-featured-image {
    border-radius: 0;
  }

  .article-featured-slider::after {
    /* Cover fractional pixels along the image edge. */
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    z-index: 2;
    height: 23px;
    border-radius: 22px 22px 0 0;
    background: #f2ebda;
    pointer-events: none;
  }

  .article-featured-card {
    display: block;
  }

  .article-featured-nav {
    background: rgba(46, 43, 38, 0.36);
  }

  .article-all-heading {
    margin-top: clamp(68px, 19.5vw, 100px);
  }

  .article-explorer-page:not(.article-all-page) .article-toolbar {
    margin-top: clamp(28px, 9vw, 64px);
  }

  .article-explorer-page:not(.article-all-page) .article-list-grid {
    margin-top: clamp(36px, 12vw, 86px);
  }

  .article-explorer-page:not(.article-all-page) .article-list-card:nth-child(n + 6) {
    display: none;
  }

  .article-list-card-copy strong {
    display: block;
    -webkit-line-clamp: unset;
  }
}

@media (max-width: 580px) {
  .article-hero::before {
    background: rgba(242, 235, 218, 0.72);
  }

  .article-hero-copy {
    width: 100%;
  }

  .article-hero h1 {
    max-width: 380px;
    font-size: clamp(38px, 10.5vw, 50px);
  }

  .article-hero h1 span {
    display: inline;
  }

  .article-featured-nav {
    width: 40px;
    height: 40px;
  }

  .article-featured-nav--previous {
    left: 14px;
  }

  .article-featured-nav--next {
    right: 14px;
  }

  .article-featured-nav img {
    width: 21px;
  }

  .article-featured-pagination {
    right: 14px;
    bottom: 12px;
    left: 14px;
    gap: 0;
  }

  .article-featured-dots {
    gap: 5px;
  }

  .article-featured-dot {
    width: 28px;
    height: 24px;
  }

  .article-featured-dot::before {
    height: 4px;
  }

  .article-featured-status {
    font-size: 12px;
  }

  .article-hero h1 span + span::before {
    content: " ";
  }

  .article-list-card-copy strong {
    font-size: 19px;
  }

  .article-list-card-copy > span {
    font-size: 16px;
  }

  .article-list-cta {
    min-width: 210px;
  }
}

@media (max-width: 767px) {
  .article-featured-pagination {
    display: contents;
  }

  .article-featured-status {
    position: absolute;
    top: calc(100% + 2px);
    right: 14px;
    bottom: auto;
    left: 14px;
    color: #80796e;
    text-align: center;
    text-shadow: none;
  }

  .article-featured-dots {
    position: absolute;
    top: calc(100% + 22px);
    right: 0;
    left: 0;
    gap: 0;
  }

  .article-featured-dot {
    width: 24px;
    height: 44px;
  }

  .article-featured-dot::before {
    right: auto;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #aaa;
    transform: translate(-50%, -50%);
  }

  .article-featured-dot.is-active::before {
    transform: translate(-50%, -50%);
  }

  .article-featured-dot:focus-visible {
    outline-color: var(--red);
  }
}

@media (prefers-reduced-motion: reduce) {
  .article-featured-track {
    scroll-behavior: auto;
  }

  .article-featured-nav,
  .article-featured-dot::before,
  .article-featured-image img {
    transition: none;
  }
}

/* Recipe detail */
.recipe-detail-mobile-cover {
  display: none;
}

.recipe-detail-page {
  background: #fffdf8;
  color: var(--ink);
}

.recipe-detail-shell {
  width: min(1320px, calc(100% - 56px));
  margin: 0 auto;
}

.recipe-detail-hero {
  padding: 160px 24px 60px;
  background: #f3ecdc;
  text-align: center;
}

.recipe-detail-hero h1 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(54px, 4.6vw, 74px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.recipe-detail-hero p {
  max-width: 820px;
  margin: 4px auto 0;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
}

.recipe-detail-content {
  padding-top: 64px;
}

.recipe-detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 370px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.recipe-detail-media {
  min-width: 0;
}

.recipe-detail-image {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #f4e7dc;
}

.recipe-detail-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.recipe-detail-products {
  margin-top: 20px;
  padding: 0 12px;
}

.recipe-detail-products h2,
.recipe-detail-instructions h2 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
}

.recipe-detail-products ul,
.recipe-detail-lines {
  margin: 11px 0 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.recipe-detail-products ul {
  gap: 8px;
}

.recipe-detail-products li {
  min-height: 34px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  line-height: 1.35;
}

.recipe-product-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
}

.recipe-product-icon img {
  width: 105%;
  max-width: none;
  height: auto;
  display: block;
}

.recipe-detail-instructions {
  display: grid;
  gap: 46px;
}

.recipe-detail-lines {
  gap: 6px;
}

.recipe-detail-lines li {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: -0.08px;
}

.recipe-detail-lines li.is-subheading {
  margin-top: 12px;
  font-weight: 600;
}

.recipe-detail-button {
  min-width: 194px;
  min-height: 54px;
  padding: 0 30px;
  font-size: 16px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.recipe-detail-share-menu {
  position: relative;
  width: fit-content;
  margin: 94px auto 0;
}

.recipe-detail-share {
  margin: 0;
}

.recipe-detail-share-popover {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: calc(100% + 16px);
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(2, 44px);
  gap: 8px;
  border: 1px solid rgba(190, 151, 93, 0.24);
  border-radius: 18px;
  background: #fffaf2;
  box-shadow: 0 12px 28px rgba(68, 45, 19, 0.18);
  transform: translateY(-50%);
}

.recipe-detail-share-popover[hidden] {
  display: none;
}

.recipe-detail-share-option {
  width: 44px;
  height: 44px;
  padding: 5px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--red);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.recipe-detail-share-option:hover,
.recipe-detail-share-option:focus-visible {
  background: var(--deep-red);
  transform: scale(1.08);
}

.recipe-detail-share-option:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.3);
  outline-offset: 3px;
}

.recipe-detail-share-option img {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
}

.recipe-detail-share-status {
  grid-column: 1 / -1;
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
}

.recipe-detail-share-status:empty {
  display: none;
}

.recipe-detail-button:focus-visible,
.recipe-related-card:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.28);
  outline-offset: 4px;
}

.recipe-detail-related {
  padding: 100px 0 78px;
}

.recipe-detail-related > h2 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(38px, 3vw, 48px);
  font-weight: 400;
  line-height: 1.05;
}

.recipe-related-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.recipe-related-card {
  aspect-ratio: 1.5 / 1;
}

.recipe-related-card .recipe-card-copy strong {
  font-size: clamp(18px, 1.35vw, 23px);
}

.recipe-detail-view-all {
  margin-top: 56px;
}

@media (max-width: 1200px) {
  .recipe-detail-shell {
    width: min(1080px, calc(100% - 64px));
  }

  .recipe-detail-grid {
    grid-template-columns: minmax(280px, 330px) minmax(0, 1fr);
    gap: 48px;
  }

  .recipe-detail-lines li,
  .recipe-detail-products li {
    font-size: 15px;
  }
}

@media (max-width: 1024px) {
  .recipe-detail-hero {
    padding-top: 146px;
  }
}

@media (max-width: 900px) {
  .recipe-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .recipe-detail-media {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .recipe-detail-instructions {
    width: min(680px, 100%);
    margin: 0 auto;
  }

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

  .recipe-related-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 14px);
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .recipe-detail-page {
    padding-top: clamp(48px, 12vw, 88px);
  }

  .recipe-detail-mobile-cover {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    margin: 0;
    overflow: hidden;
  }

  .recipe-detail-mobile-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .recipe-detail-shell {
    width: 82%;
  }

  .recipe-detail-hero {
    position: relative;
    padding: clamp(32px, 8.5vw, 64px) 0 0;
    background: #fffdf8;
    border-radius: 9vw 9vw 0 0;
  }

  .recipe-detail-mobile-cover + .recipe-detail-hero {
    margin-top: -9vw;
  }

  .recipe-detail-hero h1 {
    font-size: clamp(38px, 10.8vw, 74px);
    overflow-wrap: anywhere;
  }

  .recipe-detail-hero p {
    margin-top: 6px;
    font-size: clamp(12px, 2.5vw, 18px);
  }

  .recipe-detail-content {
    padding-top: clamp(18px, 5vw, 38px);
  }

  .recipe-detail-media,
  .recipe-detail-related .recipe-desktop-copy,
  .recipe-detail-lines [data-recipe-ingredient-label] {
    display: none;
  }

  .recipe-detail-share-menu {
    margin-top: clamp(30px, 8vw, 52px);
  }

  .recipe-detail-share,
  .recipe-detail-view-all {
    width: 160px;
    min-width: 160px;
    min-height: 44px;
    padding: 0 18px;
    font-size: 13px;
  }

  .recipe-detail-share-popover {
    left: calc(100% + 6px);
    grid-template-columns: 44px;
  }

  body.recipe-share-open .floating-actions,
  body.recipe-share-open .ai-chat-widget {
    display: none;
  }

  .recipe-detail-instructions {
    width: 100%;
    gap: clamp(20px, 5.5vw, 42px);
    text-align: center;
  }

  .recipe-detail-instructions h2 {
    font-size: clamp(16px, 3.7vw, 26px);
  }

  .recipe-detail-lines {
    margin-top: 6px;
    gap: 4px;
  }

  .recipe-detail-lines li {
    font-size: clamp(12px, 2.5vw, 18px);
    line-height: 1.65;
  }

  .recipe-detail-steps {
    text-align: left;
  }

  .recipe-detail-related {
    padding: clamp(40px, 12vw, 80px) 0 clamp(32px, 9vw, 64px);
  }

  .recipe-detail-related > h2 {
    font-size: clamp(24px, 6vw, 42px);
  }

  .recipe-related-grid {
    display: flex;
    width: calc(100% + 9vw);
    gap: 4vw;
    margin-top: clamp(20px, 6vw, 42px);
    padding: 4px 9vw 8px 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .recipe-related-grid::-webkit-scrollbar {
    display: none;
  }

  .recipe-related-card,
  .recipe-related-card:last-child {
    width: auto;
    flex: 0 0 58vw;
    border-radius: 5vw;
    scroll-snap-align: start;
  }

  .recipe-detail-related .recipe-card-copy {
    inset: auto 5vw 3.5vw;
    gap: 5px;
  }

  .recipe-related-card .recipe-card-copy strong {
    font-size: clamp(14px, 3.8vw, 24px);
  }

  .recipe-related-card .recipe-card-tags > span {
    min-height: 0;
    padding: 3px 8px;
    font-size: clamp(9px, 2.2vw, 15px);
  }

  .recipe-detail-view-all {
    margin: clamp(26px, 7vw, 50px) auto 0;
  }

  .recipe-related-grid:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
  }
}

@media (max-width: 360px) {
  .recipe-detail-share-menu {
    transform: translateX(-8px);
  }

  .recipe-detail-share-popover {
    left: calc(100% + 2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .recipe-detail-share-option {
    transition: none;
  }

  .recipe-all-banner-cta {
    transition: none;
  }

  .recipe-hero-label,
  .recipe-category-card img,
  .recipe-featured-card > img,
  .recipe-list-card > img {
    animation: none;
    transition: none;
  }
}

/* Header search */
.header-search-panel {
  position: absolute;
  z-index: 100;
  top: 100%;
  right: clamp(24px, 3vw, 58px);
  width: min(760px, calc(100vw - 48px));
  max-height: calc(100vh - 128px);
  overflow-y: auto;
  border: 1px solid rgba(190, 151, 93, 0.32);
  border-radius: 24px;
  background: #fffaf2;
  box-shadow: 0 22px 44px rgba(68, 45, 19, 0.18);
  overscroll-behavior: contain;
}

.header-search-panel[hidden] {
  display: none;
}

.header-search-shell {
  padding: 22px 24px 26px;
}

.header-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 14px 0 18px;
  border: 1.5px solid #d6b884;
  border-radius: 999px;
  background: #fff;
}

.header-search-form:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(237, 31, 50, 0.13);
}

.header-search-form > img {
  width: 24px;
  flex: 0 0 auto;
}

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

.header-search-form input {
  min-width: 0;
  height: 52px;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 16px;
}

.header-search-form input::-webkit-search-cancel-button {
  cursor: pointer;
}

.header-search-close {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #f5ead9;
  color: var(--red);
  font-size: 25px;
  line-height: 1;
}

.header-search-close:hover,
.header-search-close:focus-visible {
  background: var(--red);
  color: #fff;
}

.header-search-close:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.3);
  outline-offset: 2px;
}

.header-search-status {
  margin: 14px 4px 0;
  color: #65584a;
  font-size: 14px;
  line-height: 1.5;
}

.header-search-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 18px;
}

.header-search-results:empty {
  display: none;
}

.header-search-results h2 {
  margin: 0 0 7px;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: 21px;
  font-weight: 400;
}

.header-search-results ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.header-search-results li + li {
  border-top: 1px solid #eadbc4;
}

.header-search-results a {
  display: grid;
  gap: 4px;
  padding: 10px 4px;
  border-radius: 8px;
}

.header-search-results a:hover,
.header-search-results a:focus-visible {
  color: var(--red);
}

.header-search-results a:focus-visible {
  outline: 2px solid rgba(237, 31, 50, 0.42);
  outline-offset: 2px;
}

.header-search-results strong {
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.header-search-results span {
  display: -webkit-box;
  overflow: hidden;
  color: #65584a;
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.header-search-open .floating-actions,
body.header-search-open .ai-chat-widget {
  display: none;
}

body.header-search-open:not(.menu-open) .site-header.is-over-hero:not(:has(.main-nav.open)) {
  background: rgba(234, 216, 173, 0.98);
  backdrop-filter: blur(10px);
}

@media (max-width: 767px) {
  .header-search-panel {
    position: fixed;
    top: clamp(48px, 12vw, 88px);
    right: 10px;
    left: 10px;
    width: auto;
    max-height: calc(100dvh - clamp(58px, 12vw, 98px));
    border-radius: 20px;
  }

  .header-search-shell {
    padding: 16px 14px 20px;
  }

  .header-search-form {
    min-height: 50px;
    padding-left: 15px;
  }

  .header-search-form input {
    height: 48px;
    font-size: 14px;
  }

  .header-search-results {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-search-form,
  .header-search-close,
  .header-search-results a {
    transition: none;
  }
}

/* FAQ */
.faq-page {
  --faq-header-height: 104px;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  padding-top: var(--faq-header-height);
  overflow: hidden;
  background-color: #fbf4ec;
  background-image: var(--faq-background-image);
  background-position: right var(--faq-header-height);
  background-size: min(71vw, 1363px) auto;
  background-repeat: no-repeat;
  color: var(--ink);
}

.faq-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(255, 248, 235, 0.14);
  pointer-events: none;
}

.faq-shell {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100% - 64px));
  margin: 0 auto;
}

.faq-intro {
  padding: clamp(96px, 9vw, 172px) 0 clamp(48px, 3.75vw, 72px);
}

.faq-intro h1 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(58px, 4.3vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.faq-intro p {
  max-width: 760px;
  margin: 32px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 400;
  line-height: 1.55;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(390px, 510px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(34px, 2.6vw, 48px);
  padding-bottom: clamp(112px, 8vw, 150px);
}

.faq-sidebar {
  display: grid;
  gap: 46px;
}

.faq-category-card,
.faq-help-card {
  border-radius: 60px;
  background: #f2ebdb;
}

.faq-category-card {
  padding: 52px 64px 58px;
}

.faq-category-card h2,
.faq-help-card h2 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(24px, 1.7vw, 32px);
  font-weight: 400;
  line-height: 1.22;
}

.faq-category-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.faq-category-select {
  display: none;
}

.faq-category-button {
  min-height: 56px;
  padding: 9px 24px;
  border: 1.5px solid var(--red);
  border-radius: 999px;
  background: #fff;
  color: #211f1c;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-category-button.is-active {
  background: var(--red);
  color: #fff;
}

.faq-category-button:not(.is-active):hover {
  background: #fff;
  color: var(--red);
}

.faq-category-button > span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.faq-category-button:hover > span {
  transform: scale(1.08);
}

.faq-category-button:focus-visible,
.faq-help-card a:focus-visible,
.faq-item summary:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.42);
  outline-offset: 4px;
}

.faq-help-card {
  position: relative;
  padding: 44px 62px 42px;
}

.faq-help-card h2 {
  font-size: clamp(20px, 1.4vw, 26px);
  white-space: nowrap;
}

.faq-help-card p {
  margin: 14px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 1.5;
}

.faq-help-card a {
  min-width: 160px;
  min-height: 52px;
  margin-top: 22px;
  padding: 10px 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.faq-list-panel {
  min-width: 0;
  display: grid;
  gap: 26px;
  padding: 48px 60px;
  border: 1.5px solid #dcbb98;
  border-radius: 60px;
  background: rgba(253, 246, 240, 0.94);
}

.faq-item {
  overflow: hidden;
  border: 1.5px solid #e0c29e;
  border-radius: 20px;
  background: #fff;
}

.faq-item[hidden] {
  display: none;
}

.faq-item summary {
  min-height: 70px;
  padding: 12px 24px 12px 26px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 16px;
  color: #211f1c;
  font-family: "Poppins", sans-serif;
  font-size: clamp(14px, 0.95vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item-number {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 15px;
  line-height: 1;
}

.faq-item-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(18%) sepia(96%) saturate(4877%) hue-rotate(347deg) brightness(99%) contrast(91%);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-item-icon {
  transform: rotate(90deg);
}

.faq-item-answer {
  padding: 0 28px 26px 80px;
}

.faq-item-answer p {
  margin: 0;
  color: #554d44;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
}

.faq-page-link {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.faq-page-link:hover,
.faq-page-link:focus-visible {
  color: var(--red);
  font-weight: 600;
}

.faq-page-link:focus-visible {
  outline: 2px solid rgba(237, 31, 50, 0.42);
  outline-offset: 2px;
}

.faq-decoration {
  position: absolute;
  z-index: 1;
  height: auto;
  opacity: 0.62;
  filter: blur(2px);
  pointer-events: none;
  user-select: none;
}

.faq-decoration--left {
  top: auto;
  bottom: clamp(-28px, -1.5vw, -18px);
  left: clamp(-76px, -4vw, -52px);
  width: clamp(130px, 9vw, 175px);
  opacity: 0.78;
  filter: none;
  transform: rotate(13deg);
}

.faq-decoration--middle {
  z-index: 3;
  top: clamp(365px, 23vw, 440px);
  left: 48%;
  width: clamp(130px, 10vw, 190px);
  opacity: 0.9;
  filter: none;
  transform: translateY(-20%);
}

.faq-decoration--right {
  top: clamp(1000px, 76vw, 1460px);
  right: -70px;
  width: 220px;
  filter: blur(4px);
  transform: rotate(0deg);
}

@media (max-width: 1280px) {
  .faq-page {
    --faq-header-height: 92px;
  }

  .faq-shell {
    width: min(1120px, calc(100% - 56px));
  }

  .faq-layout {
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 30px;
  }

  .faq-category-card,
  .faq-help-card {
    border-radius: 46px;
  }

  .faq-category-card,
  .faq-help-card {
    padding-right: 44px;
    padding-left: 44px;
  }

  .faq-list-panel {
    padding: 38px;
    border-radius: 48px;
  }
}

@media (max-width: 900px) {
  .faq-page {
    background-size: 780px auto;
  }

  .faq-page::before {
    background: rgba(255, 248, 235, 0.24);
  }

  .faq-intro {
    padding-bottom: 64px;
  }

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

  .faq-sidebar {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
    gap: 28px;
  }

  .faq-category-card,
  .faq-help-card {
    height: 100%;
  }

  .faq-decoration--middle {
    display: none;
  }
}

@media (max-width: 767px) {
  .faq-page {
    --faq-header-height: clamp(48px, 12vw, 88px);
    background-position: right bottom max(-150px, -30vw);
    background-size: min(100%, 500px) auto;
  }

  .faq-shell {
    width: 84%;
  }

  .faq-layout {
    padding-bottom: clamp(64px, 16vw, 100px);
  }

  .faq-intro {
    padding: 78px 0 22px;
  }

  .faq-intro h1 {
    font-size: clamp(45px, 14vw, 62px);
  }

  .faq-intro p {
    max-width: 82%;
    margin-top: 22px;
    font-size: 15px;
  }

  .faq-sidebar {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .faq-category-card,
  .faq-help-card,
  .faq-list-panel {
    border-radius: 32px;
  }

  .faq-help-card {
    padding: 24px;
    background: rgba(242, 235, 219, 0.6);
  }

  .faq-category-card {
    padding: 0;
    background: none;
  }

  .faq-category-card h2,
  .faq-category-list {
    display: none;
  }

  .faq-category-select {
    display: block;
  }

  .faq-help-card h2 {
    white-space: normal;
  }

  .faq-help-card p {
    font-size: 15px;
  }

  .faq-help-card a {
    min-width: 140px;
    min-height: 44px;
    margin-top: 18px;
    font-size: 14px;
  }

  .faq-list-panel {
    gap: 16px;
    padding: 22px 16px;
  }

  .faq-item {
    border-radius: 16px;
  }

  .faq-item summary {
    min-height: 64px;
    padding: 10px 14px;
    grid-template-columns: 32px minmax(0, 1fr) 22px;
    gap: 10px;
    font-size: 13px;
  }

  .faq-item-number {
    width: 31px;
    font-size: 12px;
  }

  .faq-item-icon {
    width: 20px;
    height: 20px;
  }

  .faq-item-answer {
    padding: 0 16px 20px 56px;
  }

  .faq-item-answer p {
    font-size: 13px;
    line-height: 1.6;
  }

  .faq-decoration--left {
    top: auto;
    bottom: -16px;
    left: -28px;
    width: 100px;
  }

  .faq-decoration--right {
    width: 135px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-category-button,
  .faq-category-button > span,
  .faq-help-card a,
  .faq-item-icon {
    transition: none;
  }
}

/* Cerita UMKM landing page */
.umkm-stories-page,
.umkm-stories-page * {
  box-sizing: border-box;
}

.umkm-stories-page {
  padding-top: 104px;
  overflow: hidden;
  background: #fbf4e6;
  color: #171717;
}

.umkm-stories-hero {
  position: relative;
  min-height: max(clamp(500px, 44vw, 640px), calc(100dvh - 104px));
  display: grid;
  isolation: isolate;
  overflow: hidden;
}

.umkm-stories-hero::before,
.umkm-stories-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.umkm-stories-hero::before {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.18) 47%, rgba(0, 0, 0, 0) 70%);
}

.umkm-stories-hero::after {
  top: auto;
  height: clamp(120px, 14vw, 210px);
  background: linear-gradient(180deg, rgba(251, 244, 230, 0) 0%, #fbf4e6 92%);
}

.umkm-stories-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.umkm-stories-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1000px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 42px 0 98px;
}

.umkm-stories-hero-copy {
  width: min(520px, 52%);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.umkm-stories-eyebrow {
  margin: 0 0 18px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(11px, 0.88vw, 14px);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.umkm-stories-hero h1 {
  margin: 0;
  font-family: "Acme", sans-serif;
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.umkm-stories-location {
  margin: 10px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 400;
}

.umkm-stories-description {
  max-width: 60ch;
  margin: 20px 0 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(11px, 0.92vw, 14px);
  font-weight: 400;
  line-height: 1.5;
}

.umkm-stories-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 24px;
}

.umkm-stories-button {
  min-width: 132px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.umkm-stories-button--secondary:hover,
.umkm-stories-button--secondary:focus-visible {
  transform: translateY(-2px);
}

.umkm-stories-button:focus-visible,
.umkm-story-card:focus-visible,
.umkm-stories-nav:focus-visible,
.umkm-stories-dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.umkm-stories-button--primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 10px 24px rgba(237, 31, 50, 0.22);
}

.umkm-stories-button--secondary {
  background: #fff7e5;
  color: #29231d;
}

.umkm-stories-list {
  scroll-margin-top: 104px;
  padding: clamp(52px, 5vw, 78px) 0 clamp(56px, 6vw, 88px);
  background: #fbf4e6;
}

.umkm-stories-shell {
  width: min(1080px, calc(100% - 48px));
  margin: 0 auto;
}

.umkm-stories-list h2 {
  margin: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.umkm-stories-carousel {
  margin-top: 44px;
}

.umkm-stories-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
}

.umkm-stories-viewport.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.umkm-stories-viewport .umkm-story-card {
  cursor: inherit;
}

.umkm-stories-viewport .umkm-story-card[href] {
  cursor: pointer;
  text-decoration: none;
}

.umkm-stories-viewport::-webkit-scrollbar {
  display: none;
}

.umkm-stories-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
}

.umkm-story-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: clamp(22px, 2.6vw, 32px);
  background: #272727;
  color: #fff;
  scroll-snap-align: start;
  text-align: left;
}

.umkm-story-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.01) 42%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.umkm-story-card > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.umkm-story-card:hover > img,
.umkm-story-card:focus-visible > img {
  transform: scale(1.035);
}

.umkm-story-card.is-active {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.75);
}

.umkm-story-card-play {
  width: clamp(48px, 4.5vw, 60px);
}

.umkm-story-card-play::before {
  border-top-width: 8px;
  border-bottom-width: 8px;
  border-left-width: 13px;
}

.umkm-story-card-copy {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 20px;
  left: 30px;
  display: block;
  font-family: "Poppins", sans-serif;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.umkm-story-card-copy strong,
.umkm-story-card-copy > span {
  display: block;
}

.umkm-story-card-copy strong {
  overflow: hidden;
  font-size: clamp(11px, 0.9vw, 14px);
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.umkm-story-card-copy > span {
  margin-top: 3px;
  font-size: clamp(10px, 0.8vw, 13px);
  font-weight: 400;
}

.umkm-stories-controls {
  display: grid;
  grid-template-columns: 52px auto 52px;
  align-items: start;
  justify-content: center;
  gap: 22px;
  margin-top: 34px;
}

.umkm-stories-nav {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  background: rgba(222, 207, 176, 0.48);
}

.umkm-stories-nav:hover {
  background: rgba(222, 207, 176, 0.76);
}

.umkm-stories-nav img {
  width: 14px;
  height: 20px;
  object-fit: fill;
}

.umkm-stories-nav--previous img {
  transform: rotate(180deg);
}

.umkm-stories-nav:focus-visible,
.umkm-stories-dot:focus-visible,
.umkm-story-card:focus-visible {
  outline-color: var(--red);
}

.umkm-stories-page-status {
  min-width: 270px;
  display: grid;
  justify-items: center;
  gap: 8px;
}

.umkm-stories-pagination {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.umkm-stories-dot {
  position: relative;
  width: 39px;
  height: 20px;
  padding: 0;
  background: transparent;
}

.umkm-stories-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 999px;
  background: rgba(206, 190, 157, 0.38);
  transform: translateY(-50%);
}

.umkm-stories-dot.is-active::before {
  background: var(--red);
}

.umkm-stories-status {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 400;
}

.umkm-stories-tagline {
  margin: clamp(52px, 5.5vw, 78px) 0 0;
  font-family: "Acme", sans-serif;
  text-align: center;
}

.umkm-stories-tagline strong,
.umkm-stories-tagline span {
  display: block;
  font-weight: 400;
}

.umkm-stories-tagline strong {
  color: var(--red);
  font-size: clamp(25px, 2.8vw, 42px);
  letter-spacing: 0.15em;
}

.umkm-stories-tagline span {
  margin-top: 8px;
  color: var(--green);
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: 0.13em;
}

@media (max-width: 1024px) {
  .umkm-stories-page {
    padding-top: 92px;
  }

  .umkm-stories-list {
    scroll-margin-top: 92px;
  }

  .umkm-stories-hero {
    min-height: max(clamp(500px, 44vw, 640px), calc(100dvh - 92px));
  }

  .umkm-stories-hero-inner,
  .umkm-stories-shell {
    width: min(100% - 40px, 900px);
  }

  .umkm-stories-hero-copy {
    width: min(500px, 58%);
  }

  .umkm-stories-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .umkm-story-card--clone-extra {
    display: none;
  }
}

@media (max-width: 767px) {
  .umkm-stories-page {
    padding-top: clamp(48px, 12vw, 88px);
  }

  .umkm-stories-list {
    scroll-margin-top: clamp(48px, 12vw, 88px);
    position: relative;
    z-index: 2;
    margin-top: -4px;
  }

  .umkm-stories-hero {
    min-height: max(620px, calc(100dvh - clamp(48px, 12vw, 88px)));
  }

  .umkm-stories-hero::before {
    background: rgba(0, 0, 0, 0.42);
  }

  .umkm-stories-hero::after {
    height: 150px;
  }

  .umkm-stories-hero-image {
    object-position: 74% center;
  }

  .umkm-stories-hero-inner {
    width: min(100% - 36px, 620px);
    align-items: flex-end;
    padding: 80px 0 100px;
  }

  .umkm-stories-hero-copy {
    width: 100%;
  }

  .umkm-stories-eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .umkm-stories-hero h1 {
    font-size: clamp(36px, 10vw, 48px);
  }

  .umkm-stories-description {
    max-width: 48ch;
    font-size: 12px;
  }

  .umkm-stories-actions {
    gap: 12px;
  }

  .umkm-stories-button {
    min-width: 0;
    min-height: 42px;
    padding-inline: 18px;
    font-size: 11px;
  }

  .umkm-stories-list {
    padding-top: 52px;
  }

  .umkm-stories-shell {
    width: calc(100% - 36px);
  }

  .umkm-stories-list h2 {
    max-width: 100%;
    font-size: clamp(25px, 7vw, 32px);
    line-height: 1.12;
    letter-spacing: 0.04em;
    white-space: normal;
  }

  .umkm-stories-carousel {
    margin-top: 32px;
  }

  .umkm-stories-viewport {
    width: 100%;
    touch-action: pan-y pinch-zoom;
  }

  .umkm-stories-track {
    grid-auto-columns: 100%;
    gap: 18px;
  }

  .umkm-story-card--clone {
    display: none;
  }

  .umkm-story-card-copy {
    right: 18px;
    bottom: 16px;
    left: 22px;
  }

  .umkm-story-card-copy strong {
    font-size: 12px;
  }

  .umkm-story-card-copy > span {
    font-size: 10px;
  }

  .umkm-story-card-play {
    width: 48px;
  }

  .umkm-stories-controls {
    grid-template-columns: 44px minmax(150px, auto) 44px;
    gap: 10px;
    margin-top: 24px;
  }

  .umkm-stories-nav {
    width: 44px;
    height: 44px;
  }

  .umkm-stories-page-status {
    min-width: 150px;
    gap: 4px;
  }

  .umkm-stories-dot {
    width: clamp(22px, 7vw, 30px);
    height: 18px;
  }

  .umkm-stories-dot::before {
    height: 4px;
  }

  .umkm-stories-status {
    font-size: 11px;
  }

  .umkm-stories-tagline {
    margin-top: 62px;
  }

  .umkm-stories-tagline strong {
    font-size: clamp(21px, 6.3vw, 30px);
    letter-spacing: 0.08em;
  }

  .umkm-stories-tagline span {
    font-size: clamp(15px, 4.5vw, 22px);
    letter-spacing: 0.07em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .umkm-stories-viewport {
    scroll-behavior: auto;
  }

  .umkm-story-card > img,
  .umkm-stories-button {
    transition: none;
  }
}

/* Floating marketplace tab */
.floating-actions {
  top: max(12px, min(21vh, calc(100dvh - 190px)));
  right: 0;
  bottom: auto;
  width: 54px;
  gap: 0;
  border-radius: 28px 0 0 28px;
  background: var(--red);
}

.floating-action-button {
  width: 54px;
  height: 58px;
  border-radius: 0;
  background: transparent;
  transition: background-color 0.2s ease;
}

.floating-marketplace-toggle {
  border-radius: 28px 0 0;
}

.floating-chat-toggle {
  border-radius: 0 0 0 28px;
}

.floating-action-button img,
.floating-social-toggle img {
  width: 32px;
  height: 32px;
  max-height: 32px;
  object-fit: contain;
}

.floating-action-button:hover,
.floating-action-button:focus-visible {
  background: var(--deep-red);
}

.floating-action-button:focus-visible {
  outline: 3px solid #fff8e9;
  outline-offset: -5px;
}

.floating-marketplace-link:focus-visible {
  border-radius: 12px;
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.floating-marketplace {
  position: relative;
}

.floating-marketplace-popover {
  position: absolute;
  top: 50%;
  right: calc(100% + 14px);
  display: grid;
  grid-template-columns: repeat(2, 42px);
  gap: 10px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 16px 34px rgba(22, 83, 72, 0.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(10px, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.floating-marketplace.is-open .floating-marketplace-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(0, -50%);
}

.floating-marketplace-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.floating-marketplace-link:hover,
.floating-marketplace-link:focus-visible {
  background: #a90016;
}

.floating-marketplace-link img {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.ai-chat-widget {
  --ai-chat-top: max(12px, min(21vh, calc(100dvh - 190px)));
  --ai-chat-red: #c5162a;
  position: fixed;
  z-index: 71;
  top: var(--ai-chat-top);
  right: 66px;
  width: min(360px, calc(100vw - 78px));
  height: min(510px, calc(100dvh - var(--ai-chat-top) - 12px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  overflow: hidden;
  border: 1px solid rgba(93, 70, 27, 0.12);
  border-radius: 22px;
  background: #fffdf8;
  box-shadow: 0 20px 50px rgba(70, 45, 15, 0.2);
  color: #171717;
  font-family: "Poppins", sans-serif;
}

.ai-chat-widget[hidden] {
  display: none;
}

.ai-chat-header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 10px;
  padding: 14px 14px 14px 16px;
  background: var(--ai-chat-red);
  color: #fff;
}

.ai-chat-header > img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.ai-chat-header h2,
.ai-chat-header p,
.ai-chat-message,
.ai-chat-notice {
  margin: 0;
}

.ai-chat-header h2 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
}

.ai-chat-header p {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 11px;
}

.ai-chat-header p span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d9ffd5;
}

.ai-chat-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font: 400 26px/1 "Poppins", sans-serif;
  cursor: pointer;
}

.ai-chat-close:hover,
.ai-chat-close:focus-visible {
  background: rgba(148, 0, 15, 0.24);
}

.ai-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
  background: #fffaf0;
  overscroll-behavior: contain;
}

.ai-chat-message {
  max-width: 88%;
  align-self: flex-start;
  padding: 10px 12px;
  border-radius: 4px 14px 14px;
  background: #f1e2bd;
  font-size: 13px;
  line-height: 1.45;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}

.ai-chat-message--user {
  align-self: flex-end;
  border-radius: 14px 4px 14px 14px;
  background: var(--ai-chat-red);
  color: #fff;
}

.ai-chat-message--pending {
  opacity: 0.65;
}

.ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eadfc8;
  background: #fffdf8;
}

.ai-chat-form input {
  min-width: 0;
  border: 1px solid #d8c7a5;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  color: #171717;
  font: 400 13px/1.4 "Poppins", sans-serif;
}

.ai-chat-form button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--ai-chat-red);
  color: #fff;
  font: 600 12px/1 "Poppins", sans-serif;
  cursor: pointer;
}

.ai-chat-form button:disabled {
  cursor: wait;
  opacity: 0.55;
}

.ai-chat-form input:focus-visible,
.ai-chat-form button:focus-visible {
  outline: 2px solid #126b5d;
  outline-offset: 2px;
}

.ai-chat-close:focus-visible {
  outline: 3px solid #fff8e9;
  outline-offset: 2px;
}

.ai-chat-notice {
  padding: 0 14px 12px;
  background: #fffdf8;
  color: #675f50;
  font-size: 9px;
  line-height: 1.4;
  text-align: center;
}

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

@media (max-width: 1024px) and (min-width: 768px) {
  .floating-actions {
    top: max(12px, min(21vh, calc(100dvh - 168px)));
    width: 52px;
  }

  .floating-action-button {
    width: 52px;
    height: 52px;
  }

  .ai-chat-widget {
    --ai-chat-top: max(12px, min(21vh, calc(100dvh - 168px)));
    right: 64px;
    width: min(340px, calc(100vw - 72px));
  }
}

@media (max-width: 767px) {
  .floating-actions {
    --floating-links-top: calc(50dvh - 52px);
    top: 0;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: auto;
    width: 52px;
    display: block;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: translateY(10px);
  }

  .floating-actions.is-visible {
    pointer-events: none;
    transform: translateY(0);
  }

  .floating-marketplace,
  .floating-social {
    position: absolute;
    right: -40px;
    display: block;
    width: 52px;
    pointer-events: auto;
    transition: opacity 0.25s ease, visibility 0.25s;
  }

  .home-page .floating-actions:not(.is-links-visible) .floating-marketplace,
  .home-page .floating-actions:not(.is-links-visible) .floating-social {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .floating-actions:has(.is-open, :focus-visible) .floating-marketplace,
  .floating-actions:has(.is-open, :focus-visible) .floating-social {
    right: -14px;
  }

  .floating-marketplace { top: var(--floating-links-top); }
  .floating-social { top: calc(var(--floating-links-top) + 52px); }

  .floating-action-button {
    width: 52px;
    height: 52px;
    background: var(--red);
    pointer-events: auto;
  }

  .floating-social-toggle { border-radius: 0 0 0 28px; }

  .floating-social-popover {
    top: 50%;
    right: calc(100% + 14px);
    bottom: auto;
    left: auto;
    transform: translate(10px, -50%);
  }

  .floating-social.is-open .floating-social-popover {
    transform: translate(0, -50%);
  }

  .floating-chat-toggle {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    box-shadow: 0 14px 32px rgba(22, 83, 72, 0.18);
  }

  .ai-chat-widget {
    top: auto;
    right: 12px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    width: calc(100vw - 24px);
    height: min(560px, calc(100dvh - 102px - env(safe-area-inset-bottom)));
    border-radius: 20px;
  }

  .ai-chat-widget[hidden] {
    display: none !important;
  }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
  .floating-marketplace,
  .floating-social {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-action-button,
  .floating-marketplace-popover {
    transition: none;
  }
}

/* Homepage recipe carousel — circular layout from the approved reference. */
#resep[data-recipe-carousel] {
  box-sizing: border-box;
  position: relative;
  isolation: isolate;
  min-height: calc(100svh - 104px);
  padding: clamp(70px, 7.5svh, 80px) 32px clamp(58px, 6svh, 70px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  overflow: hidden;
  background: #fefaef !important;
}

#resep[data-recipe-carousel]::before,
#resep[data-recipe-carousel]::after {
  display: none;
}

#resep[data-recipe-carousel] .recipe-intro {
  position: relative;
  z-index: 2;
  width: min(100%, 920px);
  align-self: auto;
  display: grid;
  justify-items: center;
  text-align: center;
  transform: none;
}

#resep[data-recipe-carousel] .recipe-intro .section-title {
  max-width: none;
  padding: 0;
  color: var(--red);
  font-family: "Acme", sans-serif;
  font-size: clamp(44px, 3vw, 52px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-align: center;
  text-wrap: balance;
}

#resep[data-recipe-carousel] .recipe-intro > p {
  max-width: 780px;
  margin: 14px 0 0;
  color: #16120f;
  font-family: "Poppins", sans-serif;
  font-size: clamp(16px, 1vw, 18px);
  font-weight: 400;
  line-height: 1.55;
}

#resep[data-recipe-carousel] .recipe-showcase {
  position: relative;
  z-index: 1;
  width: min(1340px, calc(100% - 24px));
  max-width: 1340px;
  height: 478px;
  min-width: 0;
  margin-top: 28px;
  transform: none;
}

#resep[data-recipe-carousel] .recipe-stack {
  position: relative;
  width: 100%;
  height: 100%;
  touch-action: pan-y;
  user-select: none;
}

#resep[data-recipe-carousel] .home-recipe-card {
  --recipe-size: 396px;
  --recipe-x: 0px;
  --recipe-y: 0px;
  --recipe-opacity: 1;
  --recipe-events: auto;
  position: absolute;
  top: 0;
  left: 50%;
  z-index: var(--recipe-z, 1);
  width: var(--recipe-size);
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #0f0d0b;
  font-family: "Poppins", sans-serif;
  text-align: center;
  opacity: var(--recipe-opacity);
  pointer-events: var(--recipe-events);
  transform: translate3d(calc(-50% + var(--recipe-x)), var(--recipe-y), 0);
  transform-origin: center top;
  transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease;
  backface-visibility: hidden;
  will-change: width, transform;
}

#resep[data-recipe-carousel] .home-recipe-card:hover,
#resep[data-recipe-carousel] .home-recipe-card:focus-visible {
  box-shadow: none;
}

#resep[data-recipe-carousel] .home-recipe-card:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 7px;
  border-radius: 8px;
}

#resep[data-recipe-carousel] .home-recipe-card-image {
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 50%;
  background: #fefaef;
  transition: padding 0.55s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, transform 0.25s ease;
}

#resep[data-recipe-carousel] .home-recipe-card:focus-visible .home-recipe-card-image {
  transform: scale(1.04);
}

#resep[data-recipe-carousel] .home-recipe-card:focus-visible .home-recipe-card-image img {
  transform: scale(1.12);
}

@media (hover: hover) and (pointer: fine) {
  #resep[data-recipe-carousel] .home-recipe-card:hover .home-recipe-card-image {
    transform: scale(1.04);
  }

  #resep[data-recipe-carousel] .home-recipe-card:hover .home-recipe-card-image img {
    transform: scale(1.12);
  }
}

#resep[data-recipe-carousel] .home-recipe-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

#resep[data-recipe-carousel] .home-recipe-card[data-slug="bakpia-pathok"] .home-recipe-card-image img {
  object-position: left center;
}

#resep[data-recipe-carousel] .home-recipe-card > strong {
  width: 100%;
  margin-top: 22px;
  overflow: hidden;
  font-size: clamp(19px, 1.12vw, 22px);
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#resep[data-recipe-carousel] .home-recipe-card-cta {
  min-height: 0;
  margin: 3px 0 0;
  padding: 0;
  display: inline;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--red);
  font-size: clamp(16px, 0.95vw, 18px);
  font-weight: 400;
  line-height: 1.35;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}

#resep[data-recipe-carousel] .home-recipe-card[data-offset="0"] {
  --recipe-size: 396px;
  --recipe-x: 0px;
  --recipe-y: 0px;
  --recipe-z: 3;
}

#resep[data-recipe-carousel] .home-recipe-card[data-offset="0"] .home-recipe-card-image {
  padding: 12px;
  border-color: var(--red);
}

#resep[data-recipe-carousel] .home-recipe-card[data-offset="-1"] {
  --recipe-size: 306px;
  --recipe-x: -404px;
  --recipe-y: 48px;
  --recipe-z: 2;
}

#resep[data-recipe-carousel] .home-recipe-card[data-offset="1"] {
  --recipe-size: 306px;
  --recipe-x: 404px;
  --recipe-y: 48px;
  --recipe-z: 2;
}

#resep[data-recipe-carousel] .home-recipe-card[data-offset="hidden"] {
  --recipe-opacity: 0;
  --recipe-events: none;
  --recipe-size: 260px;
  --recipe-x: 0px;
  --recipe-y: 86px;
  --recipe-z: 0;
}

#resep[data-recipe-carousel] .recipe-controls {
  position: absolute;
  top: 169px;
  right: 0;
  bottom: auto;
  left: 0;
  z-index: 5;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
}

#resep[data-recipe-carousel] .recipe-nav {
  width: 52px;
  height: 52px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;
}

#resep[data-recipe-carousel] .recipe-nav:focus-visible {
  outline: 3px solid rgba(237, 31, 50, 0.3);
  outline-offset: 4px;
}

#resep[data-recipe-carousel] .recipe-nav img {
  width: 22px;
  height: auto;
  filter: brightness(0) invert(1);
}

#resep[data-recipe-carousel] .recipe-prev img {
  filter: brightness(0) invert(1);
  transform: rotate(180deg);
}

#resep[data-recipe-carousel] .recipe-next {
  background: var(--red);
}

#resep[data-recipe-carousel] .recipe-all-cta {
  position: static;
  width: max-content;
  min-width: 234px;
  min-height: 56px;
  margin: 24px auto 0;
  padding: 0 24px;
  gap: 10px;
  font-size: 16px;
}

#resep[data-recipe-carousel] .recipe-all-cta img {
  width: 23px;
}

@media (max-width: 1100px) and (min-width: 768px) {
  #resep[data-recipe-carousel] {
    min-height: 650px;
    padding: 64px 24px 54px;
  }

  #resep[data-recipe-carousel] .recipe-intro .section-title {
    font-size: clamp(40px, 5.2vw, 48px);
  }

  #resep[data-recipe-carousel] .recipe-intro > p {
    font-size: 15px;
  }

  #resep[data-recipe-carousel] .recipe-showcase {
    width: min(900px, calc(100% - 8px));
    height: 408px;
    margin-top: 24px;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="0"] {
    --recipe-size: 320px;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="-1"] {
    --recipe-size: 232px;
    --recipe-x: -278px;
    --recipe-y: 42px;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="1"] {
    --recipe-size: 232px;
    --recipe-x: 278px;
    --recipe-y: 42px;
  }

  #resep[data-recipe-carousel] .home-recipe-card > strong {
    margin-top: 18px;
    font-size: 18px;
  }

  #resep[data-recipe-carousel] .home-recipe-card-cta {
    font-size: 15px;
  }

  #resep[data-recipe-carousel] .recipe-controls {
    top: 136px;
  }

  #resep[data-recipe-carousel] .recipe-nav {
    width: 48px;
    height: 48px;
  }

  #resep[data-recipe-carousel] .recipe-all-cta {
    min-height: 52px;
    margin-top: 5px;
  }
}

@media (max-width: 767px) {
  #resep[data-recipe-carousel] {
    min-height: 0;
    padding: clamp(70px, 17vw, 92px) 0 clamp(54px, 13vw, 72px);
  }

  #resep[data-recipe-carousel] .recipe-intro {
    width: min(100%, 520px);
    padding: 0 22px;
  }

  #resep[data-recipe-carousel] .recipe-intro .section-title {
    font-size: clamp(34px, 9.5vw, 43px);
    line-height: 1.06;
    letter-spacing: 0.07em;
  }

  #resep[data-recipe-carousel] .recipe-intro > p {
    max-width: 410px;
    margin-top: 16px;
    font-size: clamp(13px, 3.6vw, 15px);
    line-height: 1.55;
  }

  #resep[data-recipe-carousel] .recipe-showcase {
    width: 100%;
    height: clamp(350px, 102vw, 410px);
    margin-top: 28px;
    overflow: hidden;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="0"] {
    --recipe-size: min(70vw, 280px);
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="-1"] {
    --recipe-size: min(48vw, 190px);
    --recipe-x: -59vw;
    --recipe-y: 42px;
    --recipe-opacity: 0.48;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="1"] {
    --recipe-size: min(48vw, 190px);
    --recipe-x: 59vw;
    --recipe-y: 42px;
    --recipe-opacity: 0.48;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="0"] .home-recipe-card-image {
    padding: 8px;
  }

  #resep[data-recipe-carousel] .home-recipe-card > strong {
    max-width: calc(100vw - 140px);
    margin-top: 18px;
    font-size: clamp(18px, 5vw, 21px);
  }

  #resep[data-recipe-carousel] .home-recipe-card-cta {
    font-size: clamp(15px, 4.1vw, 17px);
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="-1"] > strong,
  #resep[data-recipe-carousel] .home-recipe-card[data-offset="-1"] > .home-recipe-card-cta,
  #resep[data-recipe-carousel] .home-recipe-card[data-offset="1"] > strong,
  #resep[data-recipe-carousel] .home-recipe-card[data-offset="1"] > .home-recipe-card-cta {
    visibility: hidden;
  }

  #resep[data-recipe-carousel] .recipe-controls {
    top: calc(min(70vw, 280px) + 18px);
    right: 14px;
    bottom: auto;
    left: 14px;
    height: calc(clamp(18px, 5vw, 21px) * 1.25);
  }

  #resep[data-recipe-carousel] .recipe-nav {
    width: 44px;
    height: 44px;
    border: 4px solid transparent;
    background-clip: padding-box;
  }

  #resep[data-recipe-carousel] .recipe-nav img {
    width: 16px;
  }

  #resep[data-recipe-carousel] .recipe-all-cta {
    min-width: 218px;
    min-height: 50px;
    margin-top: 12px;
    padding-inline: 22px;
    font-size: 14px;
  }
}

@media (max-height: 420px) and (min-width: 560px) {
  #resep[data-recipe-carousel] {
    height: auto;
    min-height: 0;
    padding: 32px 20px 36px;
  }

  #resep[data-recipe-carousel] .recipe-intro .section-title {
    font-size: 30px;
  }

  #resep[data-recipe-carousel] .recipe-intro > p {
    margin-top: 8px;
    font-size: 12px;
  }

  #resep[data-recipe-carousel] .recipe-showcase {
    width: min(760px, calc(100% - 8px));
    height: 260px;
    margin-top: 18px;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="0"] {
    --recipe-size: 180px;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="-1"] {
    --recipe-size: 140px;
    --recipe-x: -190px;
    --recipe-y: 25px;
    --recipe-opacity: 1;
  }

  #resep[data-recipe-carousel] .home-recipe-card[data-offset="1"] {
    --recipe-size: 140px;
    --recipe-x: 190px;
    --recipe-y: 25px;
    --recipe-opacity: 1;
  }

  #resep[data-recipe-carousel] .home-recipe-card > strong {
    margin-top: 10px;
    font-size: 14px;
  }

  #resep[data-recipe-carousel] .home-recipe-card-cta {
    font-size: 12px;
  }

  #resep[data-recipe-carousel] .recipe-controls {
    top: 67px;
  }

  #resep[data-recipe-carousel] .recipe-all-cta {
    min-width: 190px;
    min-height: 42px;
    margin-top: 2px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #resep[data-recipe-carousel] .home-recipe-card,
  #resep[data-recipe-carousel] .home-recipe-card-image,
  #resep[data-recipe-carousel] .home-recipe-card-image img,
  #resep[data-recipe-carousel] .recipe-nav {
    transition: none;
  }
}

.floating-actions.is-visible {
  transform-origin: right center;
  animation-name: floatingActionsEnter, floatingActionsIdle;
  animation-duration: 560ms, 1s;
  animation-delay: 0ms, 680ms;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-iteration-count: 1, infinite;
  animation-fill-mode: both, none;
}

.floating-actions.is-visible:has(:focus-visible) {
  animation-play-state: paused;
}

@media (max-width: 767px) {
  .floating-actions.is-visible {
    animation: none;
    transform: none;
  }
}

@keyframes floatingActionsEnter {
  0% { transform: translateX(100%); }
  100% { transform: translateX(0); }
}

@keyframes floatingActionsIdle {
  0%, 100% { transform: translateY(0) scale(1); }
  42% { transform: translateY(-7px) scale(1.012); }
  62% { transform: translateY(2px) scale(0.997); }
  76% { transform: translateY(-2px) scale(1.004); }
}

@media (prefers-reduced-motion: reduce) {
  .floating-actions.is-visible {
    animation: none;
  }
}

/* Shared motion for solid red actions. */
.red-action {
  scale: 1;
  transform-origin: center;
  transition: background-color 0.2s ease, scale 0.2s ease;
}

.red-action:focus-visible:not(:disabled):not([aria-disabled="true"]) {
  background-color: var(--deep-red) !important;
  outline: 3px solid rgba(237, 31, 50, 0.35);
  outline-offset: 4px;
  scale: 1.04;
}

@media (hover: hover) and (pointer: fine) {
  .red-action:hover:not(:disabled):not([aria-disabled="true"]) {
    background-color: var(--deep-red) !important;
    scale: 1.04;
  }
}

@media (prefers-reduced-motion: reduce) {
  .red-action {
    transition: none;
  }

  .red-action:hover:not(:disabled):not([aria-disabled="true"]),
  .red-action:focus-visible:not(:disabled):not([aria-disabled="true"]) {
    scale: 1;
  }
}
