/* Fafa Sukses Makmur: product catalogue site
   Layout and styling follow the green "seafood" template used on the Fafa draft site:
   photo hero with dark overlay, two-column story, pale-green product band, dark-green footer. */

:root {
  --text: #213c25;       /* page text */
  --leaf: #4a8331;       /* buttons and accents */
  --leaf-dark: #3b6a27;  /* button hover */
  --forest: #1f3815;     /* footer */
  --mist: #eff7ee;       /* pale green section */
  --white: #ffffff;
  --line: rgb(33 60 37 / .14);

  --heading: "Baloo 2", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --pad-x: clamp(1.25rem, 6vw, 6.5rem);
  --content: 1140px;
  --radius: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, ul { margin: 0; }
ul { padding: 0; list-style: none; }

h1, h2, h3 { font-family: var(--heading); font-weight: 700; text-wrap: balance; letter-spacing: .005em; }

:focus-visible { outline: 3px solid var(--leaf); outline-offset: 3px; }

/* Language switching: English by default, Indonesian when chosen */
html[data-lang="en"] .l-id { display: none; }
html[data-lang="id"] .l-en { display: none; }

.wrap { width: min(var(--content), 100%); margin-inline: auto; padding-inline: 0; }

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 30;
  background: var(--leaf); color: #fff; padding: .6rem 1rem; border-radius: 50px;
}
.skip:focus { top: 1rem; }

/* ---------- Buttons: pill shaped ---------- */
.pill {
  display: inline-block; text-align: center; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 500; font-size: 1rem; line-height: 1.2;
  border: 2px solid transparent; border-radius: 50px;
  padding: 1.25rem 2.8rem;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pill--solid { background: var(--leaf); color: #fff; border-color: var(--leaf); }
.pill--solid:hover { background: var(--leaf-dark); border-color: var(--leaf-dark); }
.pill--ghost { background: transparent; color: #fff; border-color: #fff; }
.pill--ghost:hover { background: #fff; color: var(--text); }
.pill--outline { background: transparent; color: var(--text); border-color: var(--text); padding: .75rem 1.5rem; }
.pill--outline:hover { background: var(--text); color: #fff; }
.pill--lg { padding: 1.1rem 2.4rem; }
.pill--small { padding: .6rem 1.25rem; font-size: .95rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header__row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem 1.5rem; min-height: 5.5rem; padding-inline: var(--pad-x); width: 100%;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 2.5rem; width: auto; }
.brand__name { font-family: var(--heading); font-weight: 700; font-size: 1.25rem; }

.site-nav { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 2rem; }
.site-nav a { text-decoration: none; padding-block: .25rem; border-bottom: 2px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--leaf); }

.lang { display: inline-flex; border: 2px solid var(--text); border-radius: 50px; overflow: hidden; }
.lang button {
  font: 700 .85rem/1 var(--body); background: transparent; color: var(--text);
  border: 0; padding: .5rem .8rem; cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--text); color: #fff; }

/* ---------- Hero: photo background with dark overlay ---------- */
.hero {
  position: relative; isolation: isolate;
  min-height: 700px; display: grid; place-items: center;
  padding: 4rem var(--pad-x); color: #fff; text-align: center;
  background: #1b2a1b;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #000; opacity: .5; }
.hero__slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 1.5rem; display: flex; justify-content: center; gap: .6rem; }
.hero__dot { width: .8rem; height: .8rem; padding: 0; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; }
.hero__dot.is-active { background: #fff; }
.hero__dot:focus-visible { outline-color: #fff; }
.hero__inner { max-width: 760px; display: grid; justify-items: center; gap: 1.5rem; }
.hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.5rem); line-height: 1.2; }
.hero__lead { font-size: 1.15rem; max-width: 40rem; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.25rem; margin-top: .5rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) var(--pad-x); }
.section--mist { background: var(--mist); }
.section h2 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); line-height: 1.15; }

/* Story: text left, photo right */
.story { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.story__copy { display: grid; gap: 1.25rem; justify-items: start; }
.story__copy p { max-width: 36rem; }
.story__photo { margin: 0; display: grid; gap: .6rem; }
.story__photo a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.story__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.story__photo figcaption { font-size: .9rem; }

/* Home product carousel: three cards in view */
.carousel { margin-top: 2rem; }
.carousel__bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.carousel__count { font-weight: 700; font-variant-numeric: tabular-nums; }
.carousel__btns { display: flex; gap: .6rem; }
.car-btn {
  width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer;
  border: 2px solid var(--text); background: transparent; color: var(--text);
  font: 700 1.25rem/1 var(--body); transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.car-btn:hover:not(:disabled) { background: var(--text); color: #fff; }
.car-btn:disabled { opacity: .3; cursor: default; }
.carousel .cards {
  margin-top: 0; display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding-bottom: 1rem; scrollbar-width: thin;
}
.carousel .cards > .card { flex: 0 0 calc((100% - 3rem) / 3); scroll-snap-align: start; }
.products__more { margin-top: 2.5rem; text-align: center; }

/* About page */
.about-hero { background: var(--mist); padding: clamp(2rem, 5vw, 3.5rem) var(--pad-x); }
.about-hero__grid--solo { grid-template-columns: minmax(0, 1fr) !important; justify-items: center; text-align: center; }
.about-hero__grid--solo .about-hero__copy { justify-items: center; }
.about-hero__grid--solo .about-hero__copy p { margin-inline: auto; }
.about-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-hero__copy { display: grid; gap: 1.25rem; }
.about-hero h1 { font-size: clamp(2.4rem, 5.6vw, 3.75rem); line-height: 1.12; }
.about-hero__copy p { font-size: 1.2rem; max-width: 34rem; }
.about-hero__press { margin: 0; display: grid; gap: .6rem; }
.about-hero__press a:first-child { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 30px rgb(33 60 37 / .12); }
.about-hero__press img { width: 100%; height: auto; aspect-ratio: 1452 / 1100; }
.about-hero__press figcaption { font-size: .9rem; }
.about-hero__press figcaption a { text-decoration: underline; text-underline-offset: 3px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0 0 4rem; padding: 2rem 0; border-block: 1px solid var(--line); }
.facts > div { display: flex; flex-direction: column; align-items: center; gap: .4rem; padding: 0 1.25rem; text-align: center; }
.facts > div + div { border-left: 1px solid var(--line); }
.facts dt { order: 1; font-size: .95rem; font-weight: 700; color: var(--text); }
.facts dd { order: 2; display: flex; flex-direction: column; align-items: center; gap: .3rem; margin: 0; }
.facts dd strong { font-family: var(--heading); font-weight: 700; font-size: 2.2rem; line-height: 1.1; color: var(--leaf-dark); white-space: nowrap; }
.facts dd > span { font-size: .95rem; line-height: 1.45; max-width: 15rem; color: var(--text); opacity: .8; }

/* Timeline: period on the left, dot on the line, story on the right */
.timeline { padding: 0; margin: 0; list-style: none; --mark: 11rem; --gutter: 2.5rem; position: relative; display: grid; gap: 3.5rem; }
.timeline::before { content: ""; position: absolute; top: .9rem; bottom: .6rem; left: calc(var(--mark) + var(--gutter) / 2 - 1px); width: 2px; background: rgb(74 131 49 / .35); }
.tl { display: grid; grid-template-rows: auto 1fr; grid-template-columns: var(--mark) var(--gutter) minmax(0, 40rem); column-gap: 0; align-items: start; }
.tl__mark { grid-column: 1; grid-row: 1; }
.tl__dot { grid-column: 2; grid-row: 1; }
.tl__body { grid-column: 3; grid-row: 1 / span 2; }
.tl__figs { grid-column: 1; grid-row: 2; align-self: start; margin: .85rem 0 0; padding-right: .25rem; }
.tl__art { width: 100%; height: auto; display: block; border-radius: 16px; overflow: hidden; }
.tl__fig { margin: 0; display: grid; gap: .5rem; }
.tl__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.tl__fig figcaption { font-size: .9rem; }
.tl__mark { text-align: right; font-weight: 700; font-size: 1rem; line-height: 1.3; color: var(--leaf-dark); padding-top: .55rem; padding-right: .25rem; }
.tl__dot { position: relative; z-index: 1; justify-self: center; margin-top: .6rem; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #fff; border: 4px solid var(--leaf); box-shadow: 0 0 0 5px #fff; }
.tl__body { display: grid; gap: .75rem; }
.tl__body h2 { font-size: clamp(1.5rem, 2.8vw, 1.9rem); line-height: 1.2; }
.tl__body p { max-width: 38rem; text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }
.about__source a { text-decoration: underline; text-underline-offset: 3px; }
.about__source { margin-top: 3rem; font-size: .95rem; max-width: 40rem; }
.about-cta { display: grid; gap: 1rem; justify-items: center; text-align: center; }
.about-cta p { max-width: 36rem; }


/* Values */
.section--forest { background: var(--forest); color: #fff; }
.values__head { display: grid; gap: 1rem; max-width: 40rem; }
.values__grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.value { display: grid; gap: .75rem; align-content: start; }
.value__art { width: 100%; height: auto; display: block; margin-bottom: .5rem; border-radius: 16px; overflow: hidden; }
.value h3 { font-size: 1.5rem; line-height: 1.2; }
.values__benefit { margin-top: 3rem; padding: 1.5rem; border-radius: var(--radius); background: rgb(255 255 255 / .1); font-size: 1.1rem; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.75rem; align-items: center; }
.values__mangrove { width: 100%; height: auto; display: block; border-radius: 16px; overflow: hidden; }
.values__benefit strong { display: block; margin-bottom: .25rem; font-family: var(--heading); font-size: 1.25rem; }

/* Products page */
.page-banner { background: #2a2a1c; }
.page-banner__img { width: 100%; height: clamp(13rem, 34vw, 27rem); object-fit: cover; object-position: center; }
.products__head h1 { font-size: clamp(2.1rem, 4.4vw, 2.9rem); line-height: 1.15; }

/* Home: link to the products page */
.teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.teaser__copy { display: grid; gap: 1.25rem; justify-items: start; }
.teaser__copy p { max-width: 34rem; }
.teaser__photo { display: block; }
.teaser__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Products */
.products__head { display: grid; gap: 1rem; max-width: 44rem; }
.products__head p { font-size: 1.05rem; }
.cards {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.5rem;
}
.card { display: flex; flex-direction: column; gap: .9rem; }
.card__img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }
.gal { position: relative; }
.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: var(--radius); }
.gal__track::-webkit-scrollbar { display: none; }
.gal__track .card__img { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
.gal__btn { position: absolute; top: 50%; transform: translateY(-50%); width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0; cursor: pointer; background: rgb(255 255 255 / .92); color: var(--text); font: 700 1.5rem/1 var(--body); padding: 0 0 .2rem; box-shadow: 0 2px 8px rgb(0 0 0 / .25); transition: opacity .2s ease; }
.gal__btn:hover:not(:disabled) { background: #fff; }
.gal__btn:disabled { opacity: 0; pointer-events: none; }
.gal__prev { left: .6rem; }
.gal__next { right: .6rem; }
.gal__dots { position: absolute; left: 0; right: 0; bottom: .7rem; display: flex; justify-content: center; gap: .4rem; pointer-events: none; }
.gal__dot { width: .55rem; height: .55rem; border-radius: 50%; background: rgb(255 255 255 / .6); box-shadow: 0 0 0 1px rgb(0 0 0 / .25); }
.gal__dot.is-active { background: #fff; box-shadow: 0 0 0 1px rgb(0 0 0 / .45); }
.card h3 { font-size: 1.5rem; line-height: 1.2; }
.card__sub { display: block; margin-top: .15rem; font-family: var(--body); font-weight: 400; font-size: 1rem; }
.card__tagline { font-weight: 700; }
.card__ing { font-size: .95rem; }
.card__ing strong { font-weight: 700; }
.card__foot {
  margin-top: auto; padding-top: .75rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem;
}
.price { display: grid; line-height: 1.25; }
.price__amount { font-family: var(--heading); font-weight: 700; font-size: 1.35rem; }
.price__size { font-size: .9rem; }

/* Products page groups */
.chips { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .5rem; }
.group-h { margin-top: 2.75rem; font-size: clamp(1.5rem, 2.6vw, 1.85rem); line-height: 1.2; }
.group-h--first { margin-top: 0; }
.cards--two, .cards--one { margin-top: 1.5rem; gap: 3rem 2rem; }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--one { grid-template-columns: minmax(0, 1fr); }
.cards--two .card, .cards--one .card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto auto auto 1fr; column-gap: 1.5rem; row-gap: .6rem; align-content: stretch; }
.cards--two .card > :first-child, .cards--one .card > :first-child { grid-column: 1; grid-row: 1 / -1; align-self: start; }
.cards--two .card > :not(:first-child), .cards--one .card > :not(:first-child) { grid-column: 2; }
.cards--two .card__foot, .cards--one .card__foot { align-self: end; margin-top: 0; }
.cards--one { max-width: 44rem; }
.sambal__photo { margin: 1.5rem 0 0; border-radius: var(--radius); overflow: hidden; }
.sambal__photo img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; object-position: center 62%; }
.sambal__grid { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.sambal__copy { display: grid; gap: 1rem; justify-items: start; }
.sambal__copy p { max-width: 34rem; }
.sambal__buy { display: grid; gap: 1.25rem; justify-items: start; padding: 1.5rem; border-radius: var(--radius); background: var(--mist); }

/* Company information */
.info__grid { margin-top: 2rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
.info__row {
  display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem;
  padding-block: .9rem; border-bottom: 1px solid var(--line);
}
.info dt { font-weight: 700; }
.info dd { overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: #fff; padding: 3.5rem var(--pad-x) 2rem; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 2.5rem; }
.site-footer h3 { font-size: 1.125rem; margin-bottom: 1rem; }
.site-footer ul { display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; max-width: 22rem; }
.site-footer :focus-visible { outline-color: #fff; }
.footer__logo { height: 2.25rem; width: auto; margin-bottom: 1rem; }
.footer__small { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .2); font-size: .95rem; }

/* ---------- Small screens ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards--two { grid-template-columns: minmax(0, 1fr); }
  .cards--two .card, .cards--one .card { display: flex; flex-direction: column; gap: .9rem; }
  .sambal__grid { margin-top: 2rem; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
  .story, .teaser { grid-template-columns: minmax(0, 1fr); }
  .values__grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .about-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 1.75rem; padding: 1.5rem 0; }
  .facts > div { padding: 0 .75rem; }
  .facts > div + div { border-left: 0; }
  .facts > div:nth-child(even) { border-left: 1px solid var(--line); }
  .facts dd strong { white-space: normal; font-size: 1.5rem; }
  .timeline { --mark: 0rem; --gutter: 1.75rem; }
  .timeline::before { left: calc(.5rem - 1px); }
  .tl { grid-template-columns: var(--gutter) minmax(0, 1fr); grid-template-areas: "dot mark" "dot body"; row-gap: .35rem; }
  .tl__dot { grid-area: dot; justify-self: start; }
  .tl__mark { grid-area: mark; text-align: left; padding: 0; }
  .tl__body { grid-area: body; }
  .tl { grid-template-areas: "dot mark" "dot body" "dot figs"; }
  .tl__figs { grid-area: figs; margin: 1rem 0 0; padding-left: 0; }
  .values__benefit { grid-template-columns: minmax(0, 1fr); }
  .carousel .cards > .card { flex-basis: calc((100% - 1.5rem) / 2); }
  .info__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .hero { min-height: 600px; }
  .site-header__row { flex-wrap: nowrap; min-height: 4rem; gap: .5rem; }
  .brand img { height: 2rem; }
  .site-nav { flex-wrap: nowrap; gap: .75rem; font-size: .95rem; }
  .nav-home { display: none; }
  .site-nav a { white-space: nowrap; }
  .lang button { padding: .4rem .6rem; font-size: .8rem; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .sambal__photo img { aspect-ratio: 16 / 10; object-position: center 60%; }
  .carousel .cards > .card { flex-basis: 86%; }
  .pill { padding: 1rem 2rem; }
  .brand__name { display: none; }
  .info__row { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html, .carousel .cards { scroll-behavior: auto; }
  .pill, .car-btn, .hero__slide, .gal__btn { transition: none; }
  .gal__track { scroll-behavior: auto; }
}

/* Product card refinement */
.cards > .card { gap: .5rem; }
.cards > .card > .card__img, .cards > .card > .gal { margin-bottom: .4rem; }
.cards > .card .card__img { background: #f6f3ec; }
.cards > .card h3 { font-size: 1.35rem; }
.cards > .card .card__sub { font-size: .92rem; color: var(--leaf-dark); }
.cards > .card .card__tagline { font-size: 1rem; color: var(--forest); margin-top: .25rem; }
.cards > .card > p:not(.card__tagline):not(.card__ing) { font-size: .95rem; line-height: 1.55; }
.cards > .card .card__ing { margin-top: auto; padding-top: .6rem; font-size: .88rem; color: #4d6450; }
.cards > .card .card__foot { margin-top: .5rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.cards > .card .gal__btn { width: 2rem; height: 2rem; font-size: 1.2rem; opacity: .85; }
.cards > .card .gal__dots { bottom: .55rem; }
.cards > .card .gal__dot { width: .45rem; height: .45rem; }

/* ---------- Motion (apple.com style): only active when script.js adds .motion ---------- */
.site-header { transition: background-color .35s ease, box-shadow .35s ease; }
.site-header.is-scrolled { background: rgb(255 255 255 / .78); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); box-shadow: 0 1px 0 var(--line); }

.motion [data-reveal] {
  opacity: 0; transform: translate3d(0, 34px, 0);
  transition: opacity 1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms), transform 1.1s cubic-bezier(.16, 1, .3, 1) var(--d, 0ms);
  will-change: opacity, transform;
}
.motion [data-reveal].is-in { opacity: 1; transform: none; }

/* Images and the banner settle in from slightly larger, like a camera pulling back */
.motion .page-banner[data-reveal], .motion .story__photo[data-reveal], .motion .sambal__photo[data-reveal] { transform: scale(.96); }
.motion .page-banner[data-reveal].is-in, .motion .story__photo[data-reveal].is-in, .motion .sambal__photo[data-reveal].is-in { transform: none; }
.motion .page-banner[data-reveal] { transform: none; }

/* The hero text rises in on load, one line after another */
.motion .hero__inner > [data-reveal] { transform: translate3d(0, 24px, 0); transition-duration: 1.2s; }
.hero__slides { will-change: transform; transform-origin: center; }

/* Product cards lift slightly on hover */
.card { transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.cards > .card:hover, .carousel .card:hover { transform: translateY(-4px); }
.card__img { transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.pill { transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.pill:hover { transform: scale(1.03); }

@media (prefers-reduced-motion: reduce) {
  .motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card, .card__img, .pill { transition: none; }
  .pill:hover, .card:hover { transform: none; }
}

.hero { overflow: hidden; }
.motion .hero__slides { inset: -16% 0; }
