/* Amart landing — phone-first. Brand: red #DF2E26, orange #EC9418, black #21201E, off-white #F7F3F0 */
@font-face { font-family: "Onest"; src: url("../fonts/onest-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --red: #DF2E26; --red-deep: #B81F19; --orange: #EC9418; --ink: #21201E; --cream: #F7F3F0;
  --ink-2: #5B5753; --gutter: 16px; --max: 1240px; --radius: 22px; --hdr: 60px;
  --display: "Onest", system-ui, sans-serif; --body: "Inter", system-ui, sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; --hdr: 72px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--hdr); }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.55 var(--body); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.display { font-family: var(--display); font-feature-settings: "ss02" 1; font-weight: 800; letter-spacing: -0.035em; line-height: .95; }
.h2 { font-size: clamp(36px, 10vw, 84px); }
.lead { font-size: 17px; color: var(--ink-2); max-width: 34ch; }
.label { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--red-deep); display: flex; gap: .45em; align-items: center; }
.label span:first-child { font-family: var(--display); font-feature-settings: "ss02" 1, "tnum" 1; letter-spacing: .04em; }
.label--light { color: var(--orange); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px/1 var(--body); text-decoration: none; transition: transform .2s ease, background-color .2s ease; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(223, 46, 38, .8); }
.btn--red:hover { background: var(--red-deep); }
.btn--ghost { background: rgba(33, 32, 30, .06); color: var(--ink); }
.btn--ghost:hover { background: rgba(33, 32, 30, .11); }
.btn--line { border: 1.5px solid rgba(33, 32, 30, .2); color: var(--ink); }

/* ---------- header: solid, themed per section, shadow only after scrolling ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--hdr); display: flex; align-items: center; gap: 16px; padding: 0 var(--gutter); background: var(--cream); color: var(--ink); transition: background-color .35s ease, color .35s ease, box-shadow .35s ease; }
.top.is-scrolled { box-shadow: 0 1px 0 rgba(33, 32, 30, .06), 0 8px 24px -14px rgba(33, 32, 30, .35); }
.top[data-theme="red"] { background: var(--red); color: #fff; }
.top[data-theme="dark"] { background: var(--ink); color: #fff; }
.brand { position: relative; display: block; }
.logo { width: 96px; height: auto; transition: opacity .35s ease; }
.logo--light { position: absolute; inset: 0; opacity: 0; }
.top[data-theme="red"] .logo--dark, .top[data-theme="dark"] .logo--dark { opacity: 0; }
.top[data-theme="red"] .logo--light, .top[data-theme="dark"] .logo--light { opacity: 1; }
.nav { display: none; margin-left: auto; gap: 28px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; }
.lang { margin-left: auto; display: flex; background: rgba(33, 32, 30, .07); border-radius: 999px; padding: 3px; transition: background-color .35s ease; }
.top[data-theme="red"] .lang, .top[data-theme="dark"] .lang { background: rgba(255, 255, 255, .16); }
.lang button { border: 0; background: none; min-width: 40px; min-height: 36px; border-radius: 999px; font: 600 13px/1 var(--body); letter-spacing: .04em; cursor: pointer; color: inherit; opacity: .75; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; opacity: 1; }
.top[data-theme="red"] .lang button[aria-pressed="true"], .top[data-theme="dark"] .lang button[aria-pressed="true"] { background: #fff; color: var(--ink); }
@media (min-width: 900px) { .nav { display: flex; } .lang { margin-left: 8px; } .logo { width: 112px; } }

/* ---------- story: static layout (no JS / reduced motion) ---------- */
.story { position: relative; padding-top: var(--hdr); }
.scene { position: relative; }
.bg, .stage, .mega-outline { display: none; }
.ch { position: relative; padding: 40px var(--gutter) 48px; overflow: clip; }
.ch-twirl { background: var(--red); color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #2BB24C; box-shadow: 0 0 0 4px rgba(43, 178, 76, .18); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(43, 178, 76, 0); } }
.hero__title { margin-top: 18px; font-size: clamp(38px, 11.2vw, 150px); }
.hero__title span { display: block; }
.hero__title .l2 { color: var(--red); }
.hero__lead { margin-top: 16px; }
.ctas { margin-top: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.scrollhint { display: none; }
.mega { font-family: var(--display); font-feature-settings: "ss02" 1; font-weight: 900; letter-spacing: -0.05em; line-height: .86; font-size: clamp(64px, 20vw, 300px); white-space: nowrap; color: #fff; }
.mega--dark { color: var(--ink); }
.ch .label { position: relative; }
.ch-twirl .label { color: #fff; }
.caption { max-width: 30ch; font-size: 17px; line-height: 1.45; margin-top: 14px; }
.ch-twirl .caption { color: #fff; }
.ch-bowl .caption { color: var(--ink-2); }
.ch .mega { margin-top: 12px; }
.still { display: block; pointer-events: none; }
.still img { width: 100%; }
.still--hero { width: min(56vw, 360px); margin: 8px -8px -48px auto; }
.still--round { width: min(86vw, 560px); margin: 16px auto 0; }
.h2s { font-size: clamp(32px, 8.6vw, 72px); margin-top: 14px; max-width: 14ch; }
.stats { margin-top: 14px; font: 600 15px/1.3 var(--body); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.stats b { font: 800 28px/1 var(--display); font-feature-settings: "ss02" 1, "tnum" 1; color: var(--red); letter-spacing: -0.03em; }
.stats i { font-style: normal; opacity: .5; margin: 0 4px; }
.grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 6px; }
.grid li { display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 0; }
.grid .pimg { width: 100%; aspect-ratio: 1; display: grid; place-items: center; }
.grid img { width: 92%; height: 92%; object-fit: contain; }
.grid span { margin-top: 2px; font: 600 12px/1.2 var(--body); color: var(--ink-2); max-width: 13ch; }

/* ---------- story: motion mode (one pinned scene, backgrounds change around one object) ---------- */
.motion .scene { position: sticky; top: var(--hdr); height: calc(100vh - var(--hdr)); height: calc(100svh - var(--hdr)); overflow: hidden; background: var(--cream); contain: layout paint; }
.motion .story { background: var(--cream); }
.motion .ch { position: absolute; inset: 0; padding: 20px var(--gutter) 24px; overflow: visible; background: none; }
.motion .still { display: none; }
.motion .bg, .motion .stage { display: block; }
.bg { position: absolute; pointer-events: none; will-change: transform; }
.bg-red { left: 50%; top: 50%; width: 60vmax; height: 60vmax; margin: -30vmax 0 0 -30vmax; border-radius: 50%; background: var(--red); z-index: 0; }
.bg-cream { left: -10%; right: -10%; top: 0; height: 150%; border-radius: 50% 50% 0 0 / 9% 9% 0 0; background: var(--cream); z-index: 0; }
.stage { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.lay { position: absolute; inset: 0; }
.o, .ing { position: absolute; left: 50%; top: 50%; will-change: transform, opacity; backface-visibility: hidden; }
.g .spin { position: relative; width: 100%; will-change: transform; }
.g img { width: 100%; height: auto; }
.g .blur { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; will-change: opacity; }
.g picture { display: block; }
.g .sharp { will-change: opacity; }
.bp img, .bp picture { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bp { aspect-ratio: 1 / 1; }
.seqc { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
.fill-mask { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; will-change: transform; }
.fill-in { position: absolute; inset: 0; will-change: transform; }
.ing { width: var(--iw, 18vw); max-width: 170px; opacity: 0; }
.i-egg { --iw: 22vw; max-width: 200px; }
.i-nori { --iw: 22vw; max-width: 210px; }
.i-nori2 { --iw: 15vw; }
.i-chili3, .i-chili4 { --iw: 13vw; }
.i-flakes { --iw: 19vw; }
.mega-outline { position: absolute; inset: 0; z-index: 30; pointer-events: none; }

/* chapter copy inside the scene */
.motion .ch-hero { z-index: auto; }
.motion .hero-copy { position: relative; z-index: 20; }
.motion .hero__lead { max-width: 34ch; }
.motion .scrollhint { position: absolute; left: var(--gutter); bottom: 18px; z-index: 20; font: 600 11px/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scrollhint i { width: 1.5px; height: 28px; background: linear-gradient(var(--ink-2), transparent); animation: hint 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.motion .ch-twirl .label, .motion .ch-twirl .caption, .motion .bowl-copy, .motion .shelf-copy, .motion .grid { position: relative; z-index: 20; }
.motion .ch-twirl .label, .motion .ch-twirl .caption, .motion .ch-twirl .mega, .motion .bowl-copy, .motion .shelf-copy, .motion .grid li { opacity: 0; }
.motion .ch-twirl .mega { position: absolute; z-index: 1; left: 0; right: 0; top: 56px; margin: 0; text-align: center; line-height: .9; }
.motion .ch-twirl .caption { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px; margin: 0; }
.motion .ch-shelf { display: flex; flex-direction: column; }
.motion .grid { flex: 1; min-height: 0; margin-top: 14px; grid-template-rows: repeat(4, minmax(0, 1fr)); gap: 4px 6px; }
.motion .grid .pimg { aspect-ratio: auto; flex: 1; min-height: 0; width: 100%; }
.motion .grid img { width: auto; height: 100%; max-width: 100%; max-height: 100%; }
.motion .grid li { will-change: transform, opacity; }
.motion .ch-shelf .h2s { font-size: clamp(28px, 7.6vw, 72px); }
.mega-outline span { position: absolute; left: 0; right: 0; top: 50%; text-align: center; transform: translateY(-50%); font-family: var(--display); font-feature-settings: "ss02" 1; font-weight: 900; letter-spacing: -0.05em; line-height: .9; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .9); }

/* ---------- shelf continuation ---------- */
.shelf-more { background: var(--cream); padding: 28px 0 72px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 9px 14px; border-radius: 999px; background: #fff; font: 600 14px/1.1 var(--body); box-shadow: 0 1px 0 rgba(33, 32, 30, .06); }
.chips li:nth-child(4n+1) { background: var(--red); color: #fff; }
.shelf-more .btn { margin-top: 24px; }

/* ---------- cashback ---------- */
.cash { background: var(--ink); color: #fff; padding: 64px 0 56px; overflow: clip; position: relative; }
.cash::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; bottom: -420px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(223, 46, 38, .42), rgba(236, 148, 24, .1) 60%, rgba(33, 32, 30, 0)); pointer-events: none; }
.cash__in { position: relative; display: grid; gap: 36px; }
.cash .h2 { margin-top: 14px; max-width: 11ch; }
.steps { margin-top: 26px; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: center; font-size: 17px; line-height: 1.35; }
.steps b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--red), var(--orange)); font: 800 18px/1 var(--display); }
.note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .66); }
.stores { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff; min-height: 56px; cursor: default; }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { display: flex; flex-direction: column; font: 600 17px/1.1 var(--body); }
.store small { font: 600 11px/1.2 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.phones { position: relative; height: calc(min(46vw, 290px) * 2.164 + 24px); margin: 0 calc(var(--gutter) * -1); }
.phone { position: absolute; top: 0; left: 50%; width: min(46vw, 290px); aspect-ratio: 1170 / 2532; }
.phone__in { width: 100%; height: 100%; border-radius: 30px; padding: 6px; background: #0d0c0b; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .8), inset 0 0 0 1.5px rgba(255, 255, 255, .14); will-change: transform; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 24px; background: #f4f1ee; }
.phone--c { transform: translateX(-50%); z-index: 2; }
.phone--l { width: min(36vw, 230px); top: 22px; transform: translateX(-127%) rotate(-7deg); }
.phone--r { width: min(36vw, 230px); top: 22px; transform: translateX(27%) rotate(7deg); }
@media (min-width: 960px) {
  .cash { padding: 96px 0; }
  .cash__in { grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; }
  .phones { margin: 0; }
  .phone--l { transform: translateX(-118%) rotate(-7deg); }
  .phone--r { transform: translateX(18%) rotate(7deg); }
}

/* ---------- store ---------- */
.store-sec { background: var(--red); color: #fff; padding: 64px 0 64px; overflow: clip; }
.store-sec .label { color: #fff; }
.store-sec .h2 { margin-top: 14px; max-width: 10ch; }
.big247 { display: block; font: 900 clamp(110px, 34vw, 300px)/.82 var(--display); font-feature-settings: "ss02" 1, "tnum" 1; letter-spacing: -0.06em; color: var(--orange); margin: 18px 0 24px -0.04em; white-space: nowrap; }
.big247 span { display: inline-block; }
.card { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 22px; box-shadow: 0 30px 60px -30px rgba(80, 10, 5, .6); }
.card dl { display: grid; gap: 16px; }
.card dt { font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.card dd { margin-top: 6px; font: 700 20px/1.25 var(--display); font-feature-settings: "ss02" 1; letter-spacing: -0.01em; }
.card dd a { text-decoration: none; }
.card__btns { margin-top: 22px; display: grid; gap: 10px; }
.social { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #fff; text-decoration: none; min-height: 56px; }
.social svg { width: 26px; height: 26px; fill: var(--red); flex: none; }
.social span { display: flex; flex-direction: column; font: 600 15px/1.2 var(--body); }
.social small { font-size: 12px; color: var(--ink-2); font-weight: 400; }
@media (min-width: 900px) {
  .store-sec { padding: 104px 0; }
  .store__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); column-gap: 64px; align-items: center; }
  .store__in > .label, .store__in > .h2, .store__in > .big247 { grid-column: 1; }
  .big247 { font-size: min(17vw, 250px); margin-bottom: 0; }
  .card { grid-column: 2; grid-row: 1 / span 3; padding: 32px; }
  .card__btns { grid-template-columns: 1fr 1fr; }
}

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 44px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot__in { display: grid; gap: 14px; }
.foot img { width: 104px; }
.foot__meta a { color: #fff; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .lead { font-size: 19px; }
  .ch { padding: 64px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .ctas { flex-direction: row; }
  .hero__title { font-size: min(7.2vw, 124px); max-width: 68%; }
  .still--hero { position: absolute; right: 4%; top: 40px; width: 30vw; margin: 0; }
  .motion .ch { padding: 32px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
  .motion .ch-hero { display: flex; flex-direction: column; justify-content: center; }
  .motion .hero__lead { max-width: 30ch; }
  .motion .scrollhint { left: 50%; transform: translateX(-50%); }
  .motion .ch-twirl .mega { top: 50%; transform: translateY(-50%); }
  .motion .ch-twirl .caption { left: auto; right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); max-width: 26ch; text-align: right; font-size: 19px; }
  .motion .ch-bowl { display: flex; align-items: center; }
  .bowl-copy { max-width: 40%; }
  .ch-bowl .mega { font-size: clamp(110px, 11vw, 190px); }
  .ch-bowl .caption { font-size: 19px; max-width: 24ch; }
  .motion .grid { grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px 18px; margin-top: 28px; }
  .grid span { font-size: 13px; }
  .motion .ch-shelf .h2s { font-size: clamp(40px, 4.6vw, 72px); max-width: 18ch; }
  .ing { --iw: 9vw; max-width: 170px; }
  .i-egg { --iw: 10.5vw; max-width: 200px; }
  .i-nori { --iw: 11vw; max-width: 220px; }
  .i-nori2 { --iw: 7vw; } .i-chili3, .i-chili4 { --iw: 6.5vw; } .i-flakes { --iw: 9vw; }
}
@media (min-width: 720px) and (max-width: 899px) { .grid { grid-template-columns: repeat(4, 1fr); } .motion .grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
