/* =========================================================
   大畝 MiLK — Theme C「海報章節切換」Poster Chapters
   ========================================================= */

:root {
  --mustard: #DD8A00;
  --ink: #231816;
  --cream: #F8F4EC;
  --white: #FFFFFF;
  --peach: #FDC690;
  --carton: #FEA92F;
  --orange: #FE8421;
  --grass: #9BBF6A;
  --sky: #A8D5E8;
  --pink: #E8578A;
  --error: #B3261E;

  --font-tc: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  --font-round: "Fredoka", "Noto Sans TC", system-ui, sans-serif;

  --hdr: 76px;
  --band-h: 56px;
  --gutter: clamp(16px, 4vw, 56px);
  --dots-w: 0px;
  --maxw: 1240px;
  --radius: 28px;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);

  /* default tone (mustard) */
  --bg: var(--mustard);
  --fg: var(--ink);
  --hi: var(--white);
  --soft: rgba(35, 24, 22, .74);
  --focus: var(--ink);
}

/* ---------- tones ---------- */
.tone-mustard { --bg: var(--mustard); --fg: var(--ink); --hi: var(--white); --soft: rgba(35, 24, 22, .78); --focus: var(--ink); --card: var(--cream); }
.tone-cream   { --bg: var(--cream);   --fg: var(--ink); --hi: var(--mustard); --soft: rgba(35, 24, 22, .72); --focus: var(--ink); --card: var(--white); }
.tone-peach   { --bg: var(--peach);   --fg: var(--ink); --hi: var(--orange); --soft: rgba(35, 24, 22, .74); --focus: var(--ink); --card: var(--cream); }
.tone-ink     { --bg: var(--ink);     --fg: var(--cream); --hi: var(--mustard); --soft: rgba(248, 244, 236, .74); --focus: var(--mustard); --card: var(--cream); }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-tc);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
svg { fill: currentColor; }
button { font: inherit; color: inherit; }
a { color: inherit; }
p, h1, h2, h3 { margin: 0; }
main { display: block; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.chapter:focus, .chapter:focus-visible { outline: none; }

.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--cream); padding: 10px 16px; border-radius: 12px;
  font-weight: 700; text-decoration: none; transition: transform .3s var(--ease-out);
}
.skip:focus { transform: translateY(76px); }

/* ---------- progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 90; pointer-events: none; }
.progress__bar {
  display: block; height: 100%; width: 100%;
  background: var(--ink);
  transform-origin: 0 50%;
  transform: scaleX(0);
  transition: transform .9s var(--ease-io), background-color .4s;
}
.is-native .progress__bar { transition: background-color .4s; }
body[data-tone="ink"] .progress__bar { background: var(--mustard); }

/* ---------- header ---------- */
.site-header {
  --hfg: var(--ink);
  --hbg: var(--mustard);
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  height: var(--hdr);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--gutter);
  color: var(--hfg);
  transition: color .2s, background-color .35s;
}
body[data-tone="cream"] .site-header { --hbg: var(--cream); }
body[data-tone="peach"] .site-header { --hbg: var(--peach); }
body[data-tone="ink"] .site-header { --hfg: var(--cream); --hbg: var(--ink); --focus: var(--mustard); }
body.menu-open .site-header { --hfg: var(--ink); --hbg: var(--mustard); --focus: var(--ink); }
.is-native .site-header { background: var(--hbg); }

.brand { position: relative; display: block; width: 92px; aspect-ratio: 347 / 193; flex: none; border-radius: 8px; }
.brand__logo { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .25s; }
.brand__logo--poster, .brand__logo--white { opacity: 0; }
body[data-tone="mustard"] .brand__logo--color,
body.menu-open .brand__logo--color { opacity: 0; }
body[data-tone="mustard"] .brand__logo--poster,
body.menu-open .brand__logo--poster { opacity: 1; }
body.menu-open .brand__logo--white { opacity: 0; }
body[data-tone="ink"]:not(.menu-open) .brand__logo--color { opacity: 0; }
body[data-tone="ink"]:not(.menu-open) .brand__logo--white { opacity: 1; }

.gnav { margin-left: auto; }
.gnav ul { display: flex; gap: clamp(14px, 2vw, 30px); list-style: none; margin: 0; padding: 0; }
.gnav a, .hlogin {
  position: relative; display: inline-block; padding: 6px 2px;
  font-weight: 700; font-size: 15px; letter-spacing: .12em; text-decoration: none;
}
.gnav a::after, .hlogin::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: currentColor; transform: scaleX(0); transform-origin: 100% 50%;
  transition: transform .45s var(--ease-out);
}
.gnav a:hover::after, .gnav a.is-current::after, .hlogin:hover::after { transform: scaleX(1); transform-origin: 0 50%; }
.hactions { display: flex; align-items: center; gap: 14px; }
.hlogin { margin-left: 6px; padding-left: 18px; border-left: 2px solid currentColor; border-left-color: color-mix(in srgb, currentColor 30%, transparent); }

.cart {
  position: relative; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid currentColor; text-decoration: none;
  transition: transform .3s var(--ease-out);
}
.cart:hover { transform: rotate(-8deg) scale(1.06); }
.cart__icon { width: 22px; height: 22px; }
.cart__badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  display: grid; place-items: center;
  background: var(--pink); color: var(--white);
  font: 700 12px/1 var(--font-round);
  border: 2px solid var(--ink);
}
.cart__badge.is-empty { background: var(--cream); color: var(--ink); }

.burger {
  display: none; position: relative; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid currentColor; background: transparent; cursor: pointer; padding: 0;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease-out), opacity .25s;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; right: 17px; }
.burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { transform: scaleX(0); opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- poster menu (mobile) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 65;
  display: flex; flex-direction: column;
  background: var(--mustard); color: var(--ink);
  clip-path: circle(0px at var(--mx, calc(100% - 40px)) var(--my, 38px));
  visibility: hidden;
  transition: clip-path .75s var(--ease-io), visibility 0s linear .75s;
}
.menu.is-open {
  clip-path: circle(150% at var(--mx, calc(100% - 40px)) var(--my, 38px));
  visibility: visible;
  transition: clip-path .75s var(--ease-io), visibility 0s;
}
.menu__inner { position: relative; flex: 1; overflow-y: auto; padding: calc(var(--hdr) + 12px) var(--gutter) 24px; }
.menu__list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.menu__list a, .menu__foot {
  opacity: 0; transform: translateY(36px);
  transition: opacity .35s, transform .6s var(--ease-out);
}
.menu.is-open .menu__list a, .menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition-delay: calc(var(--i) * 55ms + 220ms);
}
.menu__list a {
  display: flex; align-items: baseline; gap: 14px;
  padding: 4px 0; text-decoration: none;
  font-size: clamp(34px, 9.5vw, 56px); font-weight: 900; line-height: 1.25; letter-spacing: .06em;
}
.menu__list a:hover, .menu__list a:focus-visible { color: var(--white); }
.menu__no { font: 600 15px/1 var(--font-round); letter-spacing: .1em; transform: translateY(-.9em); }
.menu__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 22px; position: relative; z-index: 1; }
.menu__tel { font: 700 20px/1 var(--font-round); letter-spacing: .08em; text-decoration: none; }
.menu__cow {
  position: absolute; right: -6vw; bottom: 0; width: min(58vw, 300px); height: auto;
  mix-blend-mode: multiply; opacity: .9; pointer-events: none;
}
.band--menu { flex: none; }
html.menu-lock, html.menu-lock body { overflow: hidden; }

/* ---------- dots nav ---------- */
.dots {
  position: fixed; right: 22px; top: 50%; z-index: 60;
  transform: translateY(-50%);
  display: none; flex-direction: column; align-items: flex-end; gap: 18px;
  color: var(--ink); transition: color .2s;
}
.dots[data-tone="ink"] { color: var(--cream); --focus: var(--mustard); }
.dots ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.dots__dot { position: relative; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; }
.dots__dot::after {
  content: ""; width: 10px; height: 10px; border-radius: 6px;
  background: currentColor; opacity: .35;
  transition: transform .5s var(--ease-out), opacity .3s;
}
.dots__dot:hover::after { opacity: .7; transform: scale(1.25); }
.dots__dot.is-active::after { opacity: 1; transform: scaleY(2.4); }
.dots__label {
  position: absolute; right: 36px; top: 50%;
  white-space: nowrap; padding: 6px 12px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-size: 13px; font-weight: 700; letter-spacing: .12em;
  opacity: 0; transform: translate(10px, -50%); pointer-events: none;
  transition: opacity .25s, transform .4s var(--ease-out);
}
.dots[data-tone="ink"] .dots__label { background: var(--mustard); color: var(--ink); }
.dots__label b { font-family: var(--font-round); font-weight: 600; margin-right: 8px; }
.dots__dot:hover .dots__label, .dots__dot:focus-visible .dots__label { opacity: 1; transform: translate(0, -50%); }
.dots__count { font: 600 13px/1 var(--font-round); letter-spacing: .08em; display: flex; align-items: center; gap: 4px; margin-right: 2px; }
.dots__cur { display: inline-block; overflow: hidden; height: 1.1em; font-size: 18px; line-height: 1.1; }
.dots__cur span { display: block; }
.dots__count i { font-style: normal; opacity: .5; }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--band-h) + 22px); z-index: 95;
  display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 12px 22px 12px 16px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 700; letter-spacing: .06em;
  box-shadow: 0 6px 0 rgba(35, 24, 22, .22);
  transform: translate(-50%, 160%); opacity: 0; pointer-events: none;
  transition: transform .55s var(--ease-out), opacity .3s;
}
.toast svg { width: 20px; height: 20px; color: var(--pink); flex: none; }
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }
.toast.is-error svg { color: var(--carton); }

/* ---------- particles ---------- */
.particle { position: fixed; left: 0; top: 0; z-index: 96; width: 18px; height: 18px; pointer-events: none; will-change: transform, opacity; }
.particle svg { width: 100%; height: 100%; }
.flyer {
  position: fixed; left: 0; top: 0; z-index: 96; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border-radius: 50%; background: var(--mustard); border: 3px solid var(--ink);
  display: grid; place-items: center; color: var(--white); pointer-events: none; will-change: transform;
}
.flyer svg { width: 14px; height: 14px; }

/* =========================================================
   Chapters (shared)
   ========================================================= */
.chapter {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: var(--bg); color: var(--fg);
  overflow: hidden;
}
.chapter__inner {
  flex: 1; display: flex; flex-direction: column;
  padding: calc(var(--hdr) + 18px) var(--gutter) 40px;
}
.chapter__content { width: 100%; max-width: var(--maxw); margin: auto; }

/* poster band */
.band {
  flex: none; position: relative; z-index: 2;
  min-height: var(--band-h);
  display: flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--white);
  overflow: hidden;
}
.band > span {
  display: block; font-weight: 700; white-space: nowrap;
  font-size: clamp(13px, 1.25vw, 18px);
  letter-spacing: .9em; padding-left: .9em;
}
.tone-ink .band { background: var(--mustard); color: var(--ink); }

/* kicker + display type */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 900; letter-spacing: .3em; line-height: 1.2;
}
.kicker__no {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--fg); color: var(--bg);
  font: 600 15px/1 var(--font-round); letter-spacing: 0;
}
.display {
  font-weight: 900; line-height: 1.06; letter-spacing: .03em;
  font-size: clamp(40px, min(5.2vw, 9vh), 92px);
}
.d-line { display: block; }
.ch { display: inline-block; will-change: transform; }

.sticker {
  display: inline-block; align-self: flex-start;
  padding: 8px 16px; border-radius: 999px;
  background: var(--white); color: var(--ink);
  border: 2.5px solid var(--ink);
  font-weight: 900; letter-spacing: .14em; font-size: 15px;
  transform: rotate(-3deg);
  box-shadow: 4px 4px 0 var(--ink);
}

/* buttons */
.btn {
  --shadow: rgba(35, 24, 22, .28);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font-weight: 900; font-size: 16px; letter-spacing: .14em; text-decoration: none;
  border: 3px solid var(--ink); cursor: pointer; user-select: none;
  box-shadow: 0 5px 0 var(--shadow);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), background-color .25s, color .25s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--shadow); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--shadow); transition-duration: .08s; }
.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { color: var(--white); }
.tone-ink .btn--ink { background: var(--cream); color: var(--ink); border-color: var(--cream); --shadow: rgba(0, 0, 0, .45); }
.btn--line { background: transparent; color: var(--ink); --shadow: var(--ink); }
.btn--line:hover { background: var(--white); }
.btn__ico { width: 20px; height: 20px; transition: transform .35s var(--ease-out); }
.btn:hover .btn__ico { transform: translateX(4px); }
.btn__ico--bag { width: 20px; height: 20px; }
.btn:hover .btn__ico--bag { transform: rotate(-10deg); }

/* =========================================================
   01 Hero
   ========================================================= */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(8px, 1.5vh, 18px); position: relative; overflow: clip; padding-bottom: 12px; }
.hero__kicker { font-weight: 900; font-size: clamp(13px, 1.6vh, 16px); letter-spacing: .5em; padding-left: .5em; }
.hero__kicker i { font-style: normal; opacity: .6; margin: 0 .2em; }
.hero__stage {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(10px, 3vw, 56px); width: 100%;
}
.hero__v {
  writing-mode: vertical-rl; text-orientation: upright;
  font-weight: 900; line-height: 1; letter-spacing: .14em;
  font-size: clamp(30px, min(6.2vh, 4.6vw), 74px);
  justify-self: end;
}
.hero__v--r { justify-self: start; color: var(--white); text-shadow: 3px 3px 0 var(--ink); }
.hero__v--l { color: var(--ink); }
.hero__art {
  position: relative;
  height: clamp(190px, 36vh, 420px);
  aspect-ratio: 620 / 522;
}
.hero__rays {
  position: absolute; left: 50%; top: 50%; width: 175%; aspect-ratio: 1; margin: -87.5% 0 0 -87.5%;
  z-index: 0; color: rgba(255, 255, 255, .2);
  -webkit-mask-image: radial-gradient(circle, #000 18%, transparent 66%);
  mask-image: radial-gradient(circle, #000 18%, transparent 66%);
}
.hero__rays svg { width: 100%; height: 100%; animation: spin 90s linear infinite; }
.hero__mascot { position: relative; z-index: 2; height: 100%; }
.hero__mascot > div { height: 100%; }
.hero__mascot img { height: 100%; width: auto; margin: 0 auto; }
.hero__hearts { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.fh { position: absolute; width: 28px; height: 28px; animation: floaty 5.5s ease-in-out infinite; }
.fh--1 { left: 0; top: 10%; color: var(--pink); width: 34px; height: 34px; }
.fh--2 { right: 2%; top: -2%; color: var(--white); animation-delay: -1.4s; }
.fh--3 { right: -3%; top: 72%; color: var(--ink); width: 22px; height: 22px; animation-delay: -2.6s; }
.fh--4 { left: 4%; top: 68%; color: var(--white); width: 20px; height: 20px; animation-delay: -3.3s; }
.fh--5 { left: 38%; top: 0; color: var(--pink); width: 18px; height: 18px; animation-delay: -.7s; }
.hero__title { line-height: 0; }
.hero__title img { height: clamp(70px, 11.6vh, 128px); width: auto; margin: 0 auto; }
.hero__tagline { font-weight: 900; font-size: clamp(17px, 2.5vh, 24px); letter-spacing: .32em; padding-left: .32em; }
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 4px; }
.hero__hint {
  position: absolute; left: 0; bottom: 0;
  display: none; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .3em; text-decoration: none;
}
.hero__mouse { position: relative; width: 22px; height: 34px; border: 2.5px solid currentColor; border-radius: 12px; }
.hero__mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px;
  border-radius: 2px; background: currentColor; animation: wheel 1.8s var(--ease-out) infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-8deg); }
  50% { transform: translate3d(0, -14px, 0) rotate(8deg); }
}
@keyframes wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(10px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* =========================================================
   02 Story
   ========================================================= */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 30%); gap: clamp(20px, 4vw, 64px); align-items: center; }
.story__text { display: flex; flex-direction: column; gap: clamp(12px, 2.4vh, 26px); }
.story__lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(0px, .6vh, 8px); }
.sline { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 20px); font-weight: 900; line-height: 1.12; }
.sline__no {
  flex: none; font: 600 13px/1 var(--font-round); letter-spacing: .06em;
  width: 34px; height: 22px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 999px;
}
.line { display: block; overflow: hidden; padding: .06em .08em .12em 0; margin-bottom: -.06em; }
.line__inner { display: inline-block; will-change: transform; }
.sline--1 .line { font-size: clamp(26px, min(4.6vw, 7vh), 66px); }
.sline--2 .line { font-size: clamp(52px, min(9vw, 13.5vh), 140px); color: var(--mustard); text-shadow: .04em .04em 0 var(--ink); letter-spacing: .04em; }
.sline--3 .line { font-size: clamp(19px, min(3.4vw, 5.2vh), 50px); }
.sline--4 .line { font-size: clamp(24px, min(4.4vw, 6.4vh), 62px); }
.sline--5 .line {
  font-size: clamp(36px, min(6.4vw, 9.4vh), 96px);
  color: var(--ink); text-shadow: .045em .045em 0 var(--carton); letter-spacing: .06em;
}
.sline--6 .line { font-size: clamp(24px, min(4.4vw, 6.4vh), 62px); }
.sline--6 .line__inner {
  background: linear-gradient(transparent 58%, var(--carton) 58%, var(--carton) 92%, transparent 92%);
  padding: 0 .1em;
}
.sline:nth-child(even) { padding-left: clamp(0px, 4vw, 64px); }

.story__art { position: relative; display: grid; place-items: center; }
.story__mascot { width: 100%; display: grid; place-items: center; }
.story__mascot img { height: clamp(220px, 54vh, 540px); width: auto; }
.story__badge {
  position: absolute; left: -6%; top: 2%; z-index: 2;
  width: clamp(104px, 16vh, 156px); aspect-ratio: 1;
}
.story__badge svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.story__badge-bg { fill: var(--mustard); stroke: var(--ink); stroke-width: 3; }
.story__badge text { font-family: var(--font-tc); font-weight: 900; font-size: 15px; fill: var(--ink); letter-spacing: 2px; }
.story__badge-heart { fill: var(--white); }

/* =========================================================
   03 Plans
   ========================================================= */
.plans { display: grid; grid-template-columns: minmax(200px, 25%) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 56px); align-items: center; }
.plans__aside { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 20px); }
.plans .display { font-size: clamp(38px, min(4.4vw, 8.4vh), 80px); }
.plans__mascot { align-self: center; }
.plans__mascot img { height: clamp(150px, 27vh, 280px); width: auto; }

.slider { min-width: 0; }
.slider__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: clamp(10px, 2vh, 18px); flex-wrap: wrap; }
.slider__tabs {
  position: relative; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  padding: 4px; border-radius: 999px; border: 2.5px solid var(--ink); background: rgba(255, 255, 255, .55);
}
.slider__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px;
  width: calc((100% - 8px) / var(--n));
  border-radius: 999px; background: var(--ink);
  transform: translateX(calc(var(--i, 0) * 100%));
  transition: transform .6s var(--ease-out);
}
.slider__tab {
  position: relative; z-index: 1; border: 0; background: none; cursor: pointer;
  padding: 8px 18px; border-radius: 999px; white-space: nowrap;
  font-weight: 900; font-size: 15px; letter-spacing: .1em; color: var(--ink);
  transition: color .35s;
}
.slider__tab[aria-current="true"] { color: var(--cream); }
.slider__ctrl { display: flex; align-items: center; gap: 10px; }
.slider__count { font: 600 15px/1 var(--font-round); letter-spacing: .06em; margin-right: 6px; }
.slider__count b { font-size: 22px; font-weight: 700; display: inline-block; }
.arrow {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  border: 2.5px solid var(--ink); background: var(--cream); color: var(--ink); cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out), opacity .3s, background-color .25s;
}
.arrow svg { width: 22px; height: 22px; }
.arrow--prev svg { transform: scaleX(-1); }
.arrow:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); background: var(--white); }
.arrow:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }
.arrow:disabled { opacity: .35; cursor: default; transform: none; box-shadow: 0 4px 0 var(--ink); }

.slider__viewport {
  overflow: hidden; border-radius: calc(var(--radius) + 4px);
  touch-action: pan-y; cursor: grab; outline-offset: 6px;
  user-select: none; -webkit-user-select: none;
}
.slider.is-dragging .slider__viewport { cursor: grabbing; }
.slider__track { display: flex; list-style: none; margin: 0; padding: 0; will-change: transform; }
.no-gsap .slider__track { transition: transform .6s var(--ease-out); }
.slider.is-dragging .slider__track { transition: none; }
.slide { flex: 0 0 100%; min-width: 0; padding: 0 10px 12px 0; }

.plan {
  display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  background: var(--cream); color: var(--ink);
  border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 9px 9px 0 var(--ink);
  overflow: hidden; min-height: clamp(380px, 58vh, 540px);
}
.plan__photo { position: relative; margin: 0; overflow: hidden; background: var(--mustard); border-right: 3px solid var(--ink); }
.plan__photo-in { position: absolute; inset: 0; will-change: transform; }
.plan__photo img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: var(--pos, 50% 50%);
  transform: scale(var(--zoom, 1)); transform-origin: var(--pos, 50% 50%);
  pointer-events: none;
}
.plan__flag {
  position: absolute; left: 16px; top: 16px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--pink); color: var(--white); border: 2.5px solid var(--ink);
  font-weight: 900; letter-spacing: .2em; font-size: 14px; transform: rotate(-6deg);
}
.plan__info { display: flex; flex-direction: column; justify-content: center; gap: clamp(6px, 1.3vh, 14px); padding: clamp(18px, 3.2vh, 40px) clamp(18px, 2.6vw, 44px); min-width: 0; }
.plan__no { font: 600 13px/1 var(--font-round); letter-spacing: .24em; color: var(--mustard); }
.plan__name { font-size: clamp(24px, min(2.5vw, 4.4vh), 40px); font-weight: 900; line-height: 1.15; letter-spacing: .04em; }
.plan__spec { align-self: flex-start; padding: 3px 12px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.plan__desc { color: var(--soft); font-size: 15px; line-height: 1.7; }
.plan__price { display: flex; align-items: flex-end; gap: 6px; font-family: var(--font-round); font-weight: 700; line-height: 1; margin-top: 2px; }
.plan__cur { font-size: 22px; padding-bottom: .5em; }
.plan__unit { font-family: var(--font-tc); font-size: 18px; font-weight: 900; padding-bottom: .55em; }
.odo { display: inline-flex; font-size: clamp(54px, min(5.8vw, 10vh), 104px); line-height: 1; height: 1em; overflow: hidden; color: var(--ink); }
.odo__d { display: block; width: .6em; height: 1em; overflow: hidden; text-align: center; }
.odo__col { display: block; will-change: transform; }
.odo__col span { display: block; height: 1em; line-height: 1; }
.odo__s { display: block; height: 1em; }

.plan__buy { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; }
.stepper { display: inline-flex; align-items: center; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--white); overflow: hidden; }
.stepper button {
  width: 42px; height: 42px; border: 0; background: none; cursor: pointer;
  font: 700 22px/1 var(--font-round); color: var(--ink);
  transition: background-color .2s, transform .2s;
}
.stepper button:hover { background: var(--peach); }
.stepper button:active { transform: scale(.88); }
.stepper input {
  width: 46px; height: 42px; border: 0; text-align: center; background: transparent;
  font: 700 20px/1 var(--font-round); color: var(--ink);
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus-visible { outline-offset: -3px; }
.plan__sub { font-weight: 700; color: var(--soft); letter-spacing: .06em; }
.plan__sub span { font-family: var(--font-round); }
.plan__sub b { font: 700 22px/1 var(--font-round); color: var(--ink); display: inline-block; }
.btn--cart { align-self: flex-start; }
.btn--cart.is-added { background: var(--mustard); color: var(--ink); }
.plan__bulk { display: flex; align-items: center; gap: 10px; font-size: clamp(20px, 2.8vh, 26px); font-weight: 900; letter-spacing: .08em; }
.plan__bulk svg { width: 28px; height: 28px; color: var(--pink); flex: none; }
.plan--bulk .btn { align-self: flex-start; }

/* =========================================================
   04 About
   ========================================================= */
.about { display: flex; flex-direction: column; gap: clamp(18px, 4vh, 48px); }
.about__top { display: grid; grid-template-columns: minmax(0, 1.1fr) auto minmax(260px, .9fr); gap: clamp(16px, 2.6vw, 44px); align-items: center; }
.about__head { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 20px); align-items: flex-start; }
.about__slogan { font-weight: 900; font-size: clamp(38px, min(5.4vw, 9vh), 100px); line-height: 1.08; letter-spacing: .03em; }
.about__slogan .d-line--hi { color: var(--white); text-shadow: .045em .045em 0 var(--ink); }
.about__note {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--ink); color: var(--cream);
  font-weight: 700; letter-spacing: .14em; font-size: 15px;
}
.about__note svg { width: 18px; height: 18px; color: var(--pink); }
.about__mascot img { height: clamp(150px, 27vh, 280px); width: auto; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--cream); }
.fact { padding: clamp(10px, 2vh, 20px) 12px; text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.fact:nth-child(odd) { border-right: 3px solid var(--ink); }
.fact:nth-child(-n+2) { border-bottom: 3px solid var(--ink); }
.fact strong { font: 700 clamp(34px, min(3.6vw, 6.4vh), 60px)/1 var(--font-round); color: var(--ink); font-variant-numeric: tabular-nums; }
.fact:nth-child(2) strong, .fact:nth-child(3) strong { color: var(--mustard); text-shadow: 2px 2px 0 var(--ink); }
.fact span { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--soft); }

.tl { position: relative; }
.tl__line { position: absolute; overflow: visible; pointer-events: none; }
.tl__line--h { left: 12.5%; width: 75%; top: 0; height: 36px; }
.tl__line--v { display: none; }
.tl__path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; }
.tl__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; position: relative; }
.tl__step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.tl__dot {
  position: relative; z-index: 1;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream); border: 3px solid var(--ink);
  font: 700 16px/1 var(--font-round);
}
.tl__step:last-child .tl__dot { background: var(--ink); color: var(--mustard); }
.tl__body { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tl__label { padding: 2px 12px; border-radius: 999px; background: var(--ink); color: var(--mustard); font-size: 13px; font-weight: 700; letter-spacing: .2em; }
.tl__title { font-size: clamp(17px, 2.5vh, 22px); font-weight: 900; letter-spacing: .06em; }
.tl__text { font-size: 14px; color: var(--soft); line-height: 1.6; max-width: 22em; }

/* =========================================================
   05 Partners
   ========================================================= */
.partners { display: grid; grid-template-columns: minmax(220px, 28%) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.partners__head { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 20px); align-items: flex-start; position: relative; }
.partners__head .kicker__no { background: var(--mustard); color: var(--ink); }
.partners__lead { color: var(--soft); font-size: 15px; letter-spacing: .06em; }
.partners__sticker {
  width: clamp(140px, 26vh, 240px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mustard); border: 3px solid var(--cream);
  box-shadow: 8px 8px 0 rgba(248, 244, 236, .16);
}
.partners__sticker img { width: 82%; height: auto; }

.pcards { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; height: clamp(360px, 60vh, 520px); container-type: inline-size; }
.pcard {
  position: relative; flex: 1 1 0; min-width: 0;
  border-radius: var(--radius); overflow: hidden;
  border: 3px solid var(--cream); color: var(--ink);
  transition: flex-grow .8s var(--ease-out);
}
.pcard--1 { background: var(--mustard); }
.pcard--2 { background: var(--peach); }
.pcard--3 { background: var(--carton); }
.pcard.is-active { flex-grow: 2.8; }
.pcard__toggle {
  position: absolute; inset: 0; z-index: 1; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
  padding: 22px; border: 0; background: none; cursor: pointer; text-align: left; color: inherit;
  border-radius: inherit;
}
.pcard__toggle:focus-visible { outline-offset: -8px; }
.pcard__no { font: 700 clamp(44px, 7vh, 64px)/1 var(--font-round); letter-spacing: .02em; }
.pcard__vname {
  writing-mode: vertical-rl; align-self: flex-end;
  font-weight: 900; font-size: clamp(22px, 3.4vh, 32px); letter-spacing: .16em; line-height: 1.1;
  transition: opacity .3s, transform .6s var(--ease-out);
}
.pcard.is-active .pcard__vname { opacity: 0; transform: translateY(24px); }
.pcard__plus {
  position: absolute; left: 20px; bottom: 22px; width: 38px; height: 38px; border-radius: 50%;
  border: 2.5px solid var(--ink); transition: transform .5s var(--ease-out), opacity .3s;
}
.pcard__plus::before, .pcard__plus::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; background: currentColor; border-radius: 2px;
}
.pcard__plus::after { transform: rotate(90deg); }
.pcard:hover .pcard__plus { transform: rotate(90deg); }
.pcard.is-active .pcard__plus { opacity: 0; transform: rotate(135deg) scale(.6); }
.pcard__detail {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  width: max(290px, calc((100cqw - 28px) * 2.8 / 4.8));
  padding: clamp(18px, 3vh, 30px);
  display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 1.6vh, 14px);
  opacity: 0; transform: translateY(26px); pointer-events: none; visibility: hidden;
  transition: opacity .3s, transform .6s var(--ease-out), visibility 0s linear .3s;
}
.pcard.is-active .pcard__detail {
  opacity: 1; transform: none; pointer-events: auto; visibility: visible;
  transition: opacity .45s .22s, transform .7s .18s var(--ease-out), visibility 0s;
}
.pcard__no--m { display: none; }
.pcard__name { font-size: clamp(24px, 3.8vh, 36px); font-weight: 900; letter-spacing: .06em; line-height: 1.2; }
.pcard__points { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pcard__points li { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; font-size: 15px; }
.pcard__points svg { width: 16px; height: 16px; flex: none; color: var(--ink); }
.pcard__points li:first-child svg { color: var(--pink); }
.pcard .btn--ink { background: var(--ink); color: var(--cream); border-color: var(--ink); --shadow: rgba(35, 24, 22, .35); }

/* =========================================================
   06 Contact
   ========================================================= */
.contact { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(20px, 4vw, 64px); align-items: center; }
.contact__info { display: flex; flex-direction: column; gap: clamp(10px, 2vh, 20px); align-items: flex-start; position: relative; }
.contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.contact__list li { display: grid; grid-template-columns: 22px auto; column-gap: 10px; align-items: center; }
.contact__list svg { width: 22px; height: 22px; grid-row: span 2; color: var(--mustard); }
.contact__k { font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--soft); }
.contact__list a {
  font: 700 clamp(20px, 3vh, 28px)/1.3 var(--font-round); letter-spacing: .02em; text-decoration: none;
  background: linear-gradient(var(--peach), var(--peach)) 0 88% / 100% .32em no-repeat;
  word-break: break-all;
  transition: background-size .35s var(--ease-out);
}
.contact__list a:hover { background-size: 100% .9em; }
.contact__list li:nth-child(2) a { font-size: clamp(16px, 2.3vh, 22px); }
.contact__mascot { align-self: center; }
.contact__mascot img { height: clamp(130px, 24vh, 250px); width: auto; }

.cform {
  background: var(--white); color: var(--ink);
  border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: 10px 10px 0 var(--mustard);
  padding: clamp(16px, 3vh, 32px) clamp(16px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: clamp(8px, 1.4vh, 14px);
}
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 0; border: 2.5px solid var(--ink); border-radius: 999px; background: var(--cream); }
.seg__pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--ink);
  transition: transform .55s var(--ease-out);
}
.cform[data-type="cooperation"] .seg__pill { transform: translateX(100%); }
.seg__opt { position: relative; z-index: 1; cursor: pointer; }
.seg__opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.seg__opt span { display: block; text-align: center; padding: 10px 8px; border-radius: 999px; font-weight: 900; letter-spacing: .16em; transition: color .35s; }
.seg__opt input:checked + span { color: var(--cream); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(8px, 1.4vh, 14px) 14px; }
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.field[hidden] { display: none; }
.field label { font-size: 14px; font-weight: 700; letter-spacing: .1em; }
.field label em { color: var(--orange); font-style: normal; }
.field label small { font-weight: 500; color: var(--soft); letter-spacing: 0; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 16px/1.4 var(--font-tc); color: var(--ink);
  padding: 10px 14px; border-radius: 14px;
  border: 2px solid var(--ink); background: var(--cream);
  transition: box-shadow .25s, border-color .25s, background-color .25s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--white); box-shadow: 0 0 0 4px rgba(221, 138, 0, .5); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--error); box-shadow: 0 0 0 3px rgba(179, 38, 30, .18); }
.field__err { font-size: 13px; font-weight: 700; color: var(--error); min-height: 0; }
.field__err:empty { display: none; }
.btn--submit { align-self: stretch; margin-top: 4px; }
.shake { animation: shake .45s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }

/* footer band */
.band--footer { padding: 10px var(--gutter); }
.band--footer p {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 0;
  font-size: 13px; font-weight: 700; letter-spacing: .24em; text-align: center;
}
.band--footer a { text-decoration: none; font-family: var(--font-round); letter-spacing: .08em; }
.band--footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.band__sep { margin: 0 .8em; opacity: .5; }
.band--footer :focus-visible { outline-color: var(--mustard); }

/* =========================================================
   Pre-animation states (only when JS animations will run)
   ========================================================= */
.anim [data-reveal],
.anim [data-mascot],
.anim [data-stamp] { opacity: 0; }
.anim [data-split]:not(.is-split) { opacity: 0; }
.anim .line__inner { transform: translateY(110%); }

/* =========================================================
   Desktop full-page chapter mode (set by JS)
   ========================================================= */
html.is-fullpage, html.is-fullpage body { height: 100%; overflow: hidden; overscroll-behavior: none; }
html.is-fullpage { scroll-behavior: auto; }
.is-fullpage .chapter {
  position: fixed; inset: 0; min-height: 0;
  visibility: hidden; z-index: 1;
}
.is-fullpage .chapter.is-active { visibility: visible; z-index: 2; }
.is-fullpage .chapter.is-entering { visibility: visible; z-index: 3; will-change: clip-path; }
.is-fullpage .chapter__inner {
  position: absolute; inset: 0 0 var(--band-h) 0;
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: calc(var(--hdr) + 10px) calc(var(--gutter) + var(--dots-w)) 26px var(--gutter);
  scrollbar-width: thin; scrollbar-color: rgba(35, 24, 22, .35) transparent;
  transform-origin: 50% 40%;
}
.is-fullpage .chapter.is-scrollable .chapter__inner {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--hdr) - 4px), #000 calc(100% - 22px), transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 calc(var(--hdr) - 4px), #000 calc(100% - 22px), transparent 100%);
}
.is-fullpage .band { position: absolute; left: 0; right: 0; bottom: 0; height: var(--band-h); min-height: 0; }
.is-fullpage .band--footer { padding-top: 0; padding-bottom: 0; }
.is-fullpage .hero__hint { display: inline-flex; }

/* =========================================================
   Responsive
   ========================================================= */
/* short laptop screens: keep chapters inside one viewport where possible */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero { gap: 6px; }
  .cform { gap: 6px; padding-top: 14px; padding-bottom: 16px; }
  .grid2 { row-gap: 6px; }
  .field input, .field select, .field textarea { padding-top: 7px; padding-bottom: 7px; }
  .field textarea { min-height: 58px; }
  .seg__opt span { padding: 7px 8px; }
  .btn { min-height: 48px; }
  .contact__mascot img { height: clamp(110px, 20vh, 200px); }
  .plan { min-height: 0; }
}
@media (min-width: 1024px) {
  :root { --dots-w: 52px; }
  .dots { display: flex; }
}

@media (max-width: 1279px) and (min-width: 1024px) {
  .gnav a, .hlogin { font-size: 14px; letter-spacing: .08em; }
  .about__top { grid-template-columns: minmax(0, 1fr) auto minmax(230px, .9fr); }
}

@media (max-width: 1023px) {
  :root { --hdr: 66px; --band-h: 50px; }
  .gnav, .hlogin { display: none; }
  .hactions { margin-left: auto; gap: 10px; }
  .burger { display: inline-block; }
  .brand { width: 80px; }

  .chapter__inner { padding-top: calc(var(--hdr) + 28px); padding-bottom: 48px; }
  .band > span { letter-spacing: .5em; padding-left: .5em; font-size: 14px; }

  .story, .plans, .partners, .contact { grid-template-columns: minmax(0, 1fr); }
  .story__art { order: -1; justify-items: center; }
  .story__mascot img { height: clamp(200px, 34vh, 320px); }
  .story__badge { left: 4%; top: 0; width: 110px; }

  .plans__aside { align-items: flex-start; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
  .plans__aside > .kicker, .plans__aside > .display, .plans__aside > .sticker { grid-column: 1; justify-self: start; }
  .plans__mascot { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
  .plans__mascot img { height: clamp(130px, 22vw, 200px); }

  .about__top { grid-template-columns: minmax(0, 1fr) auto; }
  .facts { grid-column: 1 / -1; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact:nth-child(-n+2) { border-bottom: 0; }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:not(:last-child) { border-right: 3px solid var(--ink); }

  .partners__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; align-items: center; }
  .partners__head > :not(.partners__sticker) { grid-column: 1; }
  .partners__sticker { grid-column: 2; grid-row: 1 / span 3; width: clamp(120px, 24vw, 190px); }
  .pcards { flex-direction: column; height: auto; container-type: normal; }
  .pcard { flex: none; }
  .pcard__toggle { display: none; }
  .pcard__detail {
    position: relative; width: auto; opacity: 1; transform: none; pointer-events: auto; visibility: visible;
    padding: 22px;
  }
  .pcard__no--m { display: block; font-size: 40px; }
  .pcard__name { font-size: 26px; }

  .contact__mascot { position: absolute; right: 0; top: 0; }
  .contact__mascot img { height: clamp(110px, 22vw, 180px); }

  .band--footer p { letter-spacing: .12em; }
  .toast { bottom: 24px; }
}

@media (max-width: 767px) {
  .hero__rays { width: 150%; margin: -75% 0 0 -75%; }
  .hero__stage { gap: 8px; }
  .hero__art { height: auto; width: min(64vw, 300px); }
  .hero__mascot img { width: 100%; height: auto; }
  .hero__v { font-size: clamp(26px, 7.6vw, 40px); }
  .hero__title img { height: clamp(70px, 20vw, 96px); }
  .hero__tagline { letter-spacing: .2em; padding-left: .2em; }
  .hero__kicker { letter-spacing: .3em; }
  .hero__cta { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }

  .sline__no { display: none; }
  .sline:nth-child(even) { padding-left: 0; }
  .sline--1 .line { font-size: clamp(22px, 7vw, 34px); }
  .sline--2 .line { font-size: clamp(48px, 15vw, 80px); }
  .sline--3 .line { font-size: clamp(17px, 5.1vw, 26px); }
  .sline--4 .line { font-size: clamp(21px, 6.4vw, 32px); }
  .sline--5 .line { font-size: clamp(34px, 10.4vw, 52px); }
  .sline--6 .line { font-size: clamp(21px, 6.4vw, 32px); }

  .slider__bar { flex-direction: column; align-items: stretch; }
  .slider__ctrl { justify-content: space-between; }
  .slider__tab { padding: 8px 6px; font-size: 14px; letter-spacing: .04em; }
  .plan { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .plan__photo { aspect-ratio: 4 / 3; border-right: 0; border-bottom: 3px solid var(--ink); }
  .slide { padding: 0 8px 12px 0; }
  .plan { box-shadow: 6px 6px 0 var(--ink); }
  .btn--cart, .plan--bulk .btn { align-self: stretch; }

  .about__slogan { font-size: clamp(36px, 11vw, 56px); }
  .about__top { grid-template-columns: minmax(0, 1fr); }
  .about__mascot { position: absolute; right: -8px; top: -10px; }
  .about__head { position: relative; }
  .about__top { position: relative; }
  .about__mascot { top: -22px; }
  .about__mascot img { height: 100px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:not(:last-child) { border-right: 0; }
  .fact:nth-child(odd) { border-right: 3px solid var(--ink); }
  .fact:nth-child(-n+2) { border-bottom: 3px solid var(--ink); }

  .tl__line--h { display: none; }
  .tl__line--v { display: block; left: 0; top: 18px; width: 36px; height: calc(100% - 36px); }
  .tl__steps { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .tl__step { flex-direction: row; align-items: flex-start; text-align: left; gap: 14px; }
  .tl__body { align-items: flex-start; }

  .partners__head { grid-template-columns: minmax(0, 1fr); }
  .partners__sticker { grid-column: 1; grid-row: auto; position: absolute; right: 0; top: -6px; width: 112px; }
  .partners__head .display { padding-right: 0; }

  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .contact__mascot img { height: 110px; }
  .cform { box-shadow: 6px 6px 0 var(--mustard); }
  .band--footer p { flex-direction: column; letter-spacing: .1em; }
  .band__sep { display: none; }
}

@media (max-width: 380px) {
  .hero__v { font-size: 24px; }
  .band > span { letter-spacing: .36em; padding-left: .36em; font-size: 13px; }
}

/* reduced motion: no looping decoration */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
}
