/* NOKI v0.1 — 공통 스타일 (내부 검토용) */
:root {
  --cream: #F4E9D6;
  --berry: #8C2232;
  --ink: #333333;
  --omija: #B32638;
  --yuja: #E3A823;
  --grain: #C99A66;
  --sesame: #2B2826;
  --ssuk: #5E7444;
  --bloom: #E8A3AE;
  --refresh: #F2C230;
  --roast: #8A5A3C;
  --warm: #A5402D;
  --paper: #FBF6EC;
  --fg: var(--ink);
  --sans: "Inter", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --kr: "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--kr);
  font-size: 16px;
  line-height: 1.6;
  word-break: keep-all;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--yuja); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 워드마크: noki + 색을 바꿀 수 있는 마침표 (02 Soft Serif: Fraunces 800, SOFT 100, WONK 1) */
.wm {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 800;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
  letter-spacing: -0.03em;
  line-height: .8;
  white-space: nowrap;
}
.wm .wm-i { margin-left: .03em; } /* k와 i의 받침이 닿지 않게 */
.wm .dot {
  display: inline-block;
  width: .17em; height: .17em;
  margin-left: .04em;
  border-radius: 50%;
  background: var(--dot, currentColor);
  vertical-align: baseline;
}

.en {
  font-family: "Inter", var(--sans);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: .86;
  text-transform: uppercase;
}
.kicker {
  font-family: "Inter", var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px; font-weight: 500; line-height: 1.4;
  white-space: nowrap;
}
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* 헤더 */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  padding: 18px var(--pad);
  color: var(--fg);
  transition: color .4s var(--ease);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.top .wm { font-size: 28px; text-decoration: none; }
.top nav { margin-left: auto; display: flex; gap: clamp(14px, 2.4vw, 32px); align-items: center; }
.top nav a {
  font-family: "Inter", var(--sans);
  font-size: 14px; font-weight: 600;
  text-decoration: none;
}
.top nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.top .tag { font-size: 11px; }
body[data-tone="dark"] { --fg: var(--cream); }
.top::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(251, 246, 236, .86);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transition: opacity .35s var(--ease);
}
body[data-tone="dark"] .top::before { background: rgba(43, 40, 38, .86); }
body.bar .top::before { opacity: 1; }
@media (max-width: 600px) {
  .top { gap: 12px; padding: 14px var(--pad); }
  .top .wm { font-size: 24px; }
  .top nav a.opt { display: none; }
}

/* 스크롤 고정 장면 공통 */
.scene { position: relative; }
.pin {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
}

/* 등장 효과 */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px 16px 22px;
  border-radius: 999px;
  background: var(--cream); color: var(--sesame);
  font-weight: 700; font-size: 16px;
  text-decoration: none;
  transition: transform .4s var(--ease), background .3s;
}
.btn::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--berry); transition: transform .4s var(--ease); }
.btn:hover { transform: translateX(4px); }
.btn:hover::before { transform: scale(1.6); }

/* 바닥글 */
.foot {
  display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: flex-end; justify-content: space-between;
  padding: 48px var(--pad) 36px;
  background: var(--sesame); color: rgba(244, 233, 214, .72);
  font-size: 13px;
}
.foot .wm { font-size: 40px; color: var(--cream); }
.foot p { max-width: 520px; }

/* ===================== 브랜드 페이지 ===================== */

/* 1. 시작 */
.hero { height: 250vh; background: var(--cream); }
.hero .pin { display: grid; place-items: center; text-align: center; }
.hero__inner { display: grid; justify-items: center; gap: clamp(20px, 3vw, 36px); padding: 0 var(--pad); }
.hero .wm--hero { font-size: min(30vw, 360px); color: var(--ink); --dot: var(--berry); }
/* 첫 화면 noki. 애니메이션 */
.wm--hero .ltr { display: inline-block; transform-origin: 50% 100%; }
.wm--hero .ltr:nth-child(3) { margin-right: .03em; } /* k와 i의 받침이 닿지 않게 */

/* 3D 로고: 같은 글자를 뒤로 겹겹이 쌓아 두께를 만들고 통째로 회전한다 (home.js가 .ext 층을 만든다) */
.wm--hero { perspective: 1800px; }
.l3d { position: relative; display: inline-block; transform-style: preserve-3d; will-change: transform; }
.l3d .face { position: relative; display: inline-block; transform-style: preserve-3d; }
.l3d .face.ext { position: absolute; left: 0; top: 0; color: #1c1a19; transform: translateZ(calc(var(--z) * -0.0055em)); pointer-events: none; }
.l3d .face.ext:last-child { color: #121110; }
.l3d .face.ext .dot { visibility: hidden; }
/* 앞면은 조금 밝게, 마침표는 광택 있는 구슬 */
.l3d .face:not(.ext) { color: #3a3836; }
.l3d .face:not(.ext) .dot {
  background:
    radial-gradient(circle at 34% 30%, rgba(255, 255, 255, .7) 0 7%, rgba(255, 255, 255, 0) 32%),
    radial-gradient(circle at 50% 45%, var(--dot) 48%, color-mix(in srgb, var(--dot) 55%, #000) 100%);
  box-shadow: .01em .03em .05em rgba(0, 0, 0, .22);
}
.rm .l3d { transform: none !important; }
.wm--hero .dot { transition: background-color .5s var(--ease); transform-origin: 50% 100%; }
body:not(.rm) .hero:not(.is-in) .ltr,
body:not(.rm) .hero:not(.is-in) .wm--hero .dot { opacity: 0; }
.hero.is-in .ltr { animation: ltrIn 1s cubic-bezier(.34, 1.56, .64, 1) both; animation-delay: calc(var(--i) * 80ms); }
.hero.is-in .wm--hero .dot { animation: dotDrop 1.1s cubic-bezier(.3, 0, .3, 1) .45s both; }
.hero.is-idle .ltr { animation: wave 6s var(--ease) infinite; animation-delay: calc(var(--i) * 90ms); }
.hero.is-idle .wm--hero .dot { animation: none; }
.wm--hero .dot.pop { animation: pop .55s cubic-bezier(.34, 1.56, .64, 1) !important; }
@keyframes ltrIn {
  0% { opacity: 0; transform: translateY(.55em) rotate(10deg) scale(.9); }
  100% { opacity: 1; transform: none; }
}
@keyframes dotDrop {
  0% { opacity: 0; transform: translateY(-1.5em) scale(.9, 1.15); }
  10% { opacity: 1; }
  45% { transform: translateY(0) scale(1.35, .7); }
  60% { transform: translateY(-.38em) scale(.92, 1.1); }
  75% { transform: translateY(0) scale(1.15, .85); }
  86% { transform: translateY(-.1em) scale(.98, 1.03); }
  100% { opacity: 1; transform: none; }
}
@keyframes wave {
  0%, 14%, 100% { transform: none; }
  6% { transform: translateY(-.07em) rotate(-3deg); }
}
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.hero__now {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(51, 51, 51, .06);
  font-size: 13px; font-weight: 700; color: #5a5148;
}
.hero__now i { width: 9px; height: 9px; border-radius: 50%; background: var(--now, var(--berry)); transition: background-color .5s var(--ease); }
.hero__now span { display: inline-block; min-width: 4.5em; }
.hero__now span.swap { animation: swap .5s var(--ease); }
@keyframes swap { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.rm .hero__now { display: none; }

.hero__flood { position: absolute; inset: 0; z-index: 2; background: var(--berry); clip-path: circle(0 at 50% 50%); pointer-events: none; }
.hero__sub { font-size: clamp(15px, 1.4vw, 19px); color: #5a5148; }
.hero__after {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 22px;
  padding: 0 var(--pad);
  color: var(--cream); text-align: center;
  opacity: 0; visibility: hidden;
}
.hero__after .en { font-size: min(13vw, 190px); }
.hero__after p { font-size: clamp(15px, 1.4vw, 19px); }
.hero__hint {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: grid; justify-items: center; gap: 8px;
  font-family: "Inter", var(--sans); font-size: 11px; letter-spacing: .2em; color: #8a7f72;
}
.hero__hint::after { content: ""; width: 1px; height: 36px; background: currentColor; animation: hint 1.8s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* 2. NOT JUST ___. */
.nj { height: 400vh; }
.nj .pin {
  background: var(--c, var(--omija)); color: var(--t, var(--cream));
  transition: background-color .7s var(--ease), color .7s var(--ease);
  display: grid; grid-template-columns: 1.3fr 1fr; align-items: center;
  gap: 2vw; padding: 90px var(--pad) 60px;
}
.nj__title { font-size: min(12.5vw, 200px); }
.nj__title > span { display: block; }
.nj__word { display: inline-grid !important; overflow: hidden; padding-bottom: .06em; }
.nj__w {
  grid-area: 1 / 1;
  transform: translateY(105%);
  transition: transform .75s var(--ease);
}
.nj__w.is-on { transform: none; }
.nj__w.is-past { transform: translateY(-105%); }
.nj__meta { margin-top: clamp(24px, 4vh, 48px); display: flex; gap: 20px; align-items: baseline; flex-wrap: wrap; }
.nj__ko { font-size: clamp(22px, 2.6vw, 36px); font-weight: 900; }
.nj__line { font-size: clamp(15px, 1.4vw, 19px); opacity: .85; }
.nj__cup { justify-self: center; width: min(32vw, 380px); }
.nj__cup svg { width: 100%; height: auto; transition: transform .8s var(--ease); }
.nj__dots { position: absolute; right: var(--pad); bottom: 36px; display: flex; gap: 10px; }
.nj__dots li { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .4s; }
.nj__dots li.is-on { background: currentColor; }
.nj__count { position: absolute; left: var(--pad); bottom: 30px; font-family: "Inter", var(--sans); font-weight: 600; font-size: 13px; letter-spacing: .12em; }

/* 3. 음료 */
.dr { background: var(--paper); }
.dr .pin { position: relative; height: auto; overflow: visible; padding: 120px 0 80px; }
.dr__track {
  display: flex; gap: 20px; padding: 0 var(--pad);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.dr__track::-webkit-scrollbar { display: none; }
.dr__intro { flex: 0 0 min(80vw, 420px); scroll-snap-align: start; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 8px 0; }
.dr__intro .en { font-size: clamp(56px, 7vw, 112px); }
.dr__intro p { max-width: 320px; color: #5a5148; }
.card {
  flex: 0 0 min(80vw, 400px);
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  min-height: min(76vh, 640px);
  padding: 26px;
  border-radius: 28px;
  background: var(--c); color: var(--t, var(--cream));
  transition: transform .5s var(--ease);
}
.card:hover { transform: translateY(-8px) rotate(-.6deg); }
.card__cup { flex: 1; display: grid; place-items: center; padding: 18px 0; }
.card__cup svg { width: 62%; height: auto; max-height: 340px; transition: transform .7s var(--ease); }
.card:hover .card__cup svg { transform: rotate(6deg) translateY(-6px); }
.card h3 { font-family: "Inter", var(--sans); font-weight: 800; font-size: clamp(30px, 2.8vw, 40px); letter-spacing: -0.04em; line-height: 1; }
.card__ko { margin-top: 6px; font-weight: 700; }
.card__d { margin-top: 10px; font-size: 15px; opacity: .85; }
.card__head { display: flex; justify-content: space-between; align-items: center; font-family: "Inter", var(--sans); font-size: 13px; font-weight: 600; }
.dr__hint { padding: 22px var(--pad) 0; font-size: 13px; color: #8a7f72; }

/* 넓은 화면: 세로 스크롤을 가로 이동으로 */
.dr.is-h .pin { position: sticky; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 80px 0 40px; }
.dr.is-h .dr__track { overflow: visible; width: max-content; will-change: transform; }
.dr.is-h .dr__hint { display: none; }

/* 4. 시즌 */
.ss { background: var(--paper); padding: 120px 0 0; }
.ss__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding: 0 var(--pad) 32px; }
.ss__head .en { font-size: clamp(44px, 6vw, 96px); }
.ss__rows { display: flex; flex-direction: column; }
.row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: clamp(18px, 3vw, 34px) var(--pad);
  background: var(--c); color: var(--t, var(--cream));
  transition: padding .6s var(--ease);
}
.row .en { font-size: clamp(56px, 11vw, 176px); transition: letter-spacing .6s var(--ease); }
.row__kr { text-align: right; font-weight: 700; font-size: clamp(14px, 1.5vw, 20px); }
.row__kr small { display: block; font-family: "Inter", var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .16em; opacity: .75; }
@media (hover: hover) {
  .row:hover { padding-top: clamp(30px, 5vw, 64px); padding-bottom: clamp(30px, 5vw, 64px); }
  .row:hover .en { letter-spacing: 0; }
}
.marquee { overflow: hidden; background: var(--sesame); color: var(--cream); padding: 18px 0; }
.marquee__in { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__in span { font-family: "Inter", var(--sans); font-weight: 800; font-size: clamp(22px, 2.6vw, 36px); letter-spacing: -0.03em; padding-right: 1.2em; white-space: nowrap; }
.marquee__in i { display: inline-block; width: .32em; height: .32em; border-radius: 50%; background: var(--omija); margin: 0 .7em .12em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* 5. 가맹 연결 */
.st {
  background: var(--sesame); color: var(--cream);
  min-height: 100vh; min-height: 100svh;
  display: grid; align-content: center; gap: clamp(28px, 4vw, 48px);
  padding: 120px var(--pad);
}
.st .en { font-size: min(14vw, 230px); }
.st .en .dot { display: inline-block; width: .18em; height: .18em; border-radius: 50%; background: var(--omija); margin-left: .02em; }
.st p { max-width: 560px; font-size: clamp(16px, 1.5vw, 20px); color: rgba(244, 233, 214, .82); }

@media (max-width: 899px) {
  .nj .pin { grid-template-columns: 1fr; align-content: center; gap: 24px; padding-top: 90px; }
  .nj__cup { width: min(46vw, 220px); grid-row: 1; justify-self: start; }
  .nj__title { font-size: 17vw; }
}

/* ===================== 가맹 페이지 ===================== */
.fx-hero {
  min-height: 100vh; min-height: 100svh;
  display: grid; align-content: end; gap: 28px;
  padding: 120px var(--pad) 64px;
  background: var(--sesame); color: var(--cream);
}
.fx-hero .en { font-size: min(14vw, 230px); }
.fx-hero .en .dot { display: inline-block; width: .18em; height: .18em; border-radius: 50%; background: var(--omija); margin-left: .02em; }
.fx-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.fx-hero__row p { max-width: 560px; font-size: clamp(16px, 1.5vw, 20px); color: rgba(244, 233, 214, .82); }

.fx { padding: clamp(80px, 12vw, 160px) var(--pad); }
.fx__label { display: flex; gap: 14px; align-items: center; margin-bottom: clamp(36px, 5vw, 64px); }
.fx__label .kicker { color: var(--berry); }
.fx__label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--berry); }
.fx h2 { font-size: clamp(32px, 4.6vw, 68px); font-weight: 900; line-height: 1.15; letter-spacing: -0.03em; max-width: 980px; }

.why { display: grid; gap: 0; border-top: 1.5px solid var(--ink); margin-top: clamp(40px, 5vw, 72px); }
.why li { display: grid; grid-template-columns: 120px 1fr 1fr; gap: 24px; align-items: baseline; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1.5px solid var(--ink); }
.why__n { font-family: "Inter", var(--sans); font-weight: 800; font-size: 15px; color: var(--berry); }
.why h3 { font-size: clamp(24px, 2.8vw, 40px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.why p { color: #5a5148; }

.formats { background: var(--cream); }
.fmt { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; margin-top: clamp(40px, 5vw, 72px); }
.fmt__box { display: grid; gap: 18px; }
.fmt__shape { border-radius: 22px; background: var(--c); width: var(--w); aspect-ratio: 1; display: grid; place-items: center; color: var(--cream); }
.fmt__shape .wm { font-size: clamp(26px, 3vw, 44px); }
.fmt__name { font-family: "Inter", var(--sans); font-weight: 800; font-size: clamp(28px, 3vw, 44px); letter-spacing: -0.04em; }
.fmt__info { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.fmt__info b { font-size: 18px; }
.fmt__box p { color: #5a5148; max-width: 380px; }

.steps { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: clamp(48px, 6vw, 88px); }
.steps::before { content: ""; position: absolute; left: 6px; right: 6px; top: 6px; height: 1.5px; background: var(--ink); }
.steps li { position: relative; padding-top: 34px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--ink); }
.steps li:last-child::before { background: var(--berry); border-color: var(--berry); }
.steps b { display: block; font-size: clamp(17px, 1.5vw, 21px); font-weight: 900; line-height: 1.3; }
.steps span { display: block; margin-top: 8px; font-size: 14px; color: #5a5148; }
.steps__n { font-family: "Inter", var(--sans); font-weight: 600; font-size: 12px; letter-spacing: .12em; color: #8a7f72; margin-bottom: 8px; }

.cost { background: var(--sesame); color: var(--cream); }
.cost .fx__label .kicker { color: var(--bloom); }
.cost .fx__label::before { background: var(--bloom); }
.ledger { margin-top: clamp(40px, 5vw, 72px); border-top: 1.5px solid rgba(244, 233, 214, .4); }
.ledger li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; border-bottom: 1.5px solid rgba(244, 233, 214, .4); font-size: clamp(17px, 1.8vw, 24px); font-weight: 700; }
.redact { display: inline-block; height: .9em; width: clamp(120px, 22vw, 300px); background: var(--cream); border-radius: 3px; }
.cost__note { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: rgba(244, 233, 214, .82); }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.form { display: grid; gap: 14px; }
.form fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400;
  padding: 16px 18px;
  border: 1.5px solid var(--ink); border-radius: 14px;
  background: transparent; color: var(--ink);
}
.form :disabled { opacity: .5; cursor: not-allowed; }
.form button { justify-self: start; border: 0; cursor: not-allowed; opacity: .55; }
.form__closed { display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--cream); font-weight: 700; }
.form__closed::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--berry); }

@media (max-width: 899px) {
  .why li { grid-template-columns: 1fr; gap: 8px; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { left: 6px; right: auto; top: 6px; bottom: 6px; width: 1.5px; height: auto; }
  .steps li { padding: 0 0 30px 36px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .fmt { grid-template-columns: 1fr; gap: 48px; }
}

/* ===================== 브랜드 스토리 ===================== */
.sy-hero {
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: grid; align-content: center; justify-items: center; gap: 28px;
  padding: 120px var(--pad) 100px; text-align: center;
  background: var(--cream);
}
.sy-hero__title { display: grid; justify-items: center; gap: clamp(20px, 3vw, 36px); font-weight: 900; }
.sy-hero__nok {
  position: relative; display: inline-block;
  font-size: min(44vw, 420px); line-height: .9; letter-spacing: -0.04em;
  color: #1F4A3A;
  animation: nokIn 1.4s var(--ease) both;
}
.sy-hero__nok small {
  position: absolute; right: -.42em; top: .08em;
  font-size: .2em; font-weight: 700; color: var(--berry);
}
.sy-hero__line { font-size: clamp(24px, 3.6vw, 48px); line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); animation: fadeUp 1s var(--ease) .5s both; }
@keyframes nokIn { from { opacity: 0; transform: translateY(.12em) scale(.94); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.sy-ch { padding: clamp(110px, 16vw, 200px) var(--pad); display: grid; gap: clamp(24px, 3.5vw, 44px); }
.sy-ch--green { background: #1F4A3A; color: var(--cream); }
.sy-ch--cream { background: var(--cream); }
.sy-ch--dark { background: var(--sesame); color: var(--cream); }
.sy-ch__n { font-family: "Inter", var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .18em; opacity: .7; }
.sy-big { font-size: clamp(30px, 5vw, 72px); font-weight: 900; line-height: 1.2; letter-spacing: -0.03em; max-width: 1100px; }
.sy-body { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.85; max-width: 720px; opacity: .88; }
.sy-slogan { font-size: min(13vw, 190px); color: var(--berry); }

.sy-colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.sy-colors li {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: clamp(200px, 26vw, 340px); padding: 22px; border-radius: 24px;
  background: var(--c); color: var(--t, var(--cream));
}
.sy-colors b { font-size: clamp(26px, 2.8vw, 40px); font-weight: 900; }
.sy-colors span { font-size: 15px; font-weight: 500; }
.sy-colors li:nth-child(2) { transition-delay: .08s; }
.sy-colors li:nth-child(3) { transition-delay: .16s; }
.sy-colors li:nth-child(4) { transition-delay: .24s; }

.sy-melt { display: grid; justify-items: start; }
.sy-melt__word { font-size: min(30vw, 320px); font-weight: 900; line-height: 1; letter-spacing: -0.05em; color: var(--berry); }
.sy-melt__drops { display: flex; gap: clamp(18px, 4vw, 60px); padding-left: .4em; height: 90px; }
.sy-melt__drops i {
  width: 14px; height: 14px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--berry);
  animation: drip 2.6s cubic-bezier(.55, 0, .7, .4) infinite;
}
.sy-melt__drops i:nth-child(2) { animation-delay: .5s; }
.sy-melt__drops i:nth-child(3) { animation-delay: 1.2s; }
.sy-melt__drops i:nth-child(4) { animation-delay: .8s; }
.sy-melt__drops i:nth-child(5) { animation-delay: 1.7s; }
@keyframes drip {
  0% { transform: translateY(-10px) scale(.4, .4); opacity: 0; }
  20% { transform: translateY(0) scale(1, 1.25); opacity: 1; }
  80% { transform: translateY(70px) scale(.8, 1); opacity: .9; }
  100% { transform: translateY(80px) scale(1.6, .3); opacity: 0; }
}

.sy-eq { display: flex; flex-wrap: wrap; align-items: baseline; gap: .18em .32em; font-family: "Fraunces", Georgia, serif; font-weight: 800; font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144; font-size: min(15vw, 210px); line-height: 1; letter-spacing: -0.03em; }
.sy-eq em { font-style: normal; font-weight: 400; color: #8a7f72; letter-spacing: 0; }
.sy-eq__i { color: var(--berry); }
.sy-eq .wm { --dot: var(--berry); }

.sy-dot { display: flex; align-items: center; gap: clamp(20px, 4vw, 56px); }
.sy-dot__ball { width: min(38vw, 340px); aspect-ratio: 1; border-radius: 50%; background: var(--omija); transition: background-color .6s var(--ease); }
.sy-dot__ball.pop { animation: pop .6s cubic-bezier(.34, 1.56, .64, 1); }
.sy-dot__name { font-size: clamp(22px, 3vw, 40px); font-weight: 900; }
.sy-dot__name.swap { animation: swap .5s var(--ease); }

.sy-end {
  min-height: 100vh; min-height: 100svh;
  display: grid; align-content: center; justify-items: center; gap: clamp(24px, 3vw, 40px);
  padding: 120px var(--pad); text-align: center;
  background: var(--berry); color: var(--cream);
}
.sy-end__line { font-size: clamp(30px, 5vw, 72px); font-weight: 900; line-height: 1.25; letter-spacing: -0.03em; }
.sy-end__wm { font-size: min(26vw, 300px); --dot: var(--cream); }
.sy-end__slogan { font-size: clamp(28px, 4vw, 56px); }

@media (max-width: 899px) {
  .sy-colors { grid-template-columns: 1fr 1fr; }
  .sy-dot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .sy-melt__drops { display: none; }
}

/* 움직임 줄이기: home.js가 body.rm을 붙인다 */
.nj__all { display: none; }
.rm .hero, .rm .nj { height: auto; }
.rm .hero .pin { position: relative; height: auto; overflow: visible; display: block; }
.rm .hero__inner { min-height: 100vh; min-height: 100svh; place-content: center; }
.rm .hero__after { position: relative; opacity: 1; visibility: visible; min-height: 70vh; background: var(--berry); }
.rm .hero__flood, .rm .hero__hint, .rm .nj__cup, .rm .nj__meta, .rm .nj__dots, .rm .nj__count { display: none; }
.rm .nj .pin { position: relative; height: auto; display: block; padding: 120px var(--pad); }
.rm .nj__w { grid-area: auto; transform: none; }
.rm .nj__all { display: block; margin-top: 32px; font-size: clamp(18px, 2vw, 26px); font-weight: 700; }

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