:root {
  color-scheme: dark;
  --bg: #17110c; --alt: #1e1711; --card: #261d15; --ink: #f5ecda; --muted: #b9aa94;
  --rule: #3a2d21; --gold: #f2c450; --hero: #17110c;
  --card-tilt: 0deg; /* 쇼케이스 카드 기울기. 지금은 반듯하게(0). 5deg·-5deg 로 기울일 수 있다 */
  --art-zoom: 1.12; /* 타일에 마우스를 올리거나 탭했을 때 그림이 커지는 배율 */
  /* 그때 그 타일의 카드가 물러나는 정도: 밝기(1 = 그대로)와 불투명도(1 = 그대로). 지금은 어둡게만 한다 */
  --card-back-bright: .6; --card-back-opacity: 1;
  /* 쇼케이스 넘침: 그림이 타일 윗변 위로 올라오는 높이(타일 높이의 %), 그만큼 비워 둘 윗여백, 카드 폭, 카드가 모서리 밖으로 걸치는 폭.
     기준점(넘침 없음)으로 돌리려면 --pop: 0%; --pop-room: 0px; --card-out: -6px; --card-w: 36%; */
  --pop: 9%; --pop-room: 40px; --card-w: 40%; --card-out: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.7 -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
  word-break: keep-all; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; color: var(--gold); }

/* ── 첫 화면 ───────────────────────────── */
.hero { position: relative; background: var(--hero); color: #f5ecda; overflow: hidden; }
.hero .eyebrow { color: #f2c450; }
.hero-art { display: block; position: relative; }
.hero-art img { width: 100%; aspect-ratio: 1000 / 620; object-fit: cover; margin-top: 92px; }
.hero-art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, var(--hero)); }

.bar { position: absolute; z-index: 3; inset: 0 0 auto 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.bar::before { content: ""; position: absolute; z-index: -1; inset: 0 -100vw; background: rgba(23, 17, 12, .82); }
.brand { display: inline-flex; align-items: center; gap: 9px; height: 56px; font-weight: 800; font-size: 1.05rem; text-decoration: none; letter-spacing: -.01em; }
.brand img { width: 32px; height: 32px; border-radius: 6px; }
.brand small { font-weight: 500; font-size: .72rem; letter-spacing: .08em; opacity: .7; }
.nav { order: 3; flex: 0 0 100%; display: flex; align-items: center; gap: 16px; height: 36px; font-size: .8rem; font-weight: 600; white-space: nowrap; border-top: 1px solid rgba(255, 255, 255, .12); }
.nav a { text-decoration: none; opacity: .86; }
.nav a:hover { opacity: 1; color: #f2c450; }
.tools { margin-left: auto; display: flex; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 12px;
  font: inherit; font-size: .8rem; font-weight: 600; color: inherit; text-decoration: none; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
}
.chip:hover { background: rgba(255, 255, 255, .16); }

.hero-body { position: relative; z-index: 2; margin-top: -28px; padding-bottom: 44px; }
.hero-copy { text-align: center; }
.tf-logo { width: min(64vw, 300px); margin: 6px auto 4px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .5)); }
.hero h1 { font-size: clamp(1.75rem, 7.4vw, 2.5rem); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; }
.lede { margin: 14px auto 0; max-width: 30em; color: #d6c8b0; }

.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 26px; }
.store {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 58px; padding: 8px 6px;
  font-weight: 800; font-size: .98rem; line-height: 1.2; text-decoration: none; color: #2a1c05;
  background: linear-gradient(#ffe08a, #e9b23c); border: 1px solid #f7d67a; border-radius: 12px;
  box-shadow: 0 2px 0 #9a6a12, 0 8px 20px rgba(0, 0, 0, .25);
}
.store small { font-size: .66rem; font-weight: 700; letter-spacing: .08em; opacity: .75; }
.store:hover { filter: brightness(1.06); transform: translateY(-1px); }
.store:active { transform: translateY(1px); box-shadow: 0 1px 0 #9a6a12; }

/* 첫 화면(e안 확정): 낮게 잡고 쇼케이스를 바로 아래에 붙인다. 모바일은 소개 문장을 한 줄짜리로 바꿔 보여 준다 */
.hero.e .lede { display: none; }
.hero.e .lede.short { display: block; margin-top: 8px; font-size: .88rem; white-space: nowrap; }
.hero.e .tf-logo { width: min(48vw, 220px); }
.hero.e .hero-body { padding-bottom: 20px; }
.hero.e .stores { margin-top: 18px; }
.hero.e + main > .sec:first-child { padding-top: 28px; }
.hero.e + main > .sec:first-child .sub { display: none; }
.hero.e + main > .sec:first-child h2 { font-size: 1.45rem; margin-top: 4px; }
.hero.e + main > .sec:first-child h2 br { display: none; }
.hero.e + main > .sec:first-child .gallery { margin-top: calc(0px - var(--clip-room)); }
.hero.e + main > .sec:first-child { padding-top: 22px; }

/* ── 본문 공통 ─────────────────────────── */
.sec { padding: 72px 0; }
.sec.alt { background: var(--alt); }
.head { max-width: 640px; }
.sec h2 { margin-top: 8px; font-size: clamp(1.6rem, 6vw, 2.4rem); font-weight: 800; line-height: 1.25; letter-spacing: -.03em; }
.sub { margin-top: 14px; color: var(--muted); font-size: 1.02rem; }

.feats { list-style: none; display: grid; gap: 12px; margin-top: 32px; }
.feats li { display: flex; align-items: center; gap: 12px; padding: 14px 18px 14px 10px; background: var(--card); border: 1px solid var(--rule); border-bottom: 4px solid var(--c); border-radius: 14px; transition: transform .15s; }
.feats li:hover { transform: translateY(-4px); }
.feats li:hover img { animation: hop .5s steps(2) infinite; }
.feats img { flex: none; width: 76px; image-rendering: pixelated; }
.feats .c1 { --c: #e0552a; } .feats .c2 { --c: #e9b23c; } .feats .c3 { --c: #3f9be0; } .feats .c4 { --c: #4daa4a; }
.feats b { display: block; font-size: 1.05rem; }
.feats span { display: block; margin-top: 4px; color: var(--muted); font-size: .94rem; }

.shots { display: flex; gap: 12px; margin-top: 36px; padding: 4px 20px 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots img { flex: 0 0 58vw; max-width: 260px; scroll-snap-align: center; border-radius: 14px; border: 1px solid var(--rule); box-shadow: 0 10px 28px rgba(0, 0, 0, .22); transition: transform .2s; }

/* 영웅 일러스트 쇼케이스 */
/* 모바일의 가로 넘김 컨테이너는 세로로 넘친 부분도 잘라 낸다. 커진 그림의 머리가 잘리지 않게 위쪽 안쪽 여백을 --clip-room 만큼 더 주고,
   같은 만큼 위로 당겨 자리는 그대로 둔다(컨테이너가 제목 아래에 겹쳐 깔리고, 커진 그림은 제목 위에 그려진다) */
.gallery { --clip-room: 56px; display: flex; gap: 12px; margin: calc(32px - var(--clip-room)) -20px 0; padding: calc(var(--pop-room) + var(--clip-room)) 20px 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery::-webkit-scrollbar { display: none; }
/* 넘친 그림이 페이지 폭을 밀어내지 않게: 구역 단에서 가로만 자른다(clip 은 세로 넘침을 자르지 않는다) */
#art { overflow-x: clip; isolation: isolate; }
/* 겹침 순서(구역 전체에서 공통): 타일 바탕 -1 < 그림 1 < 카드·아래쪽 그늘 3 < 이름 글자 4 < 커진 그림 6 < 커진 타일의 이름 글자 7.
   커진 그림은 이웃 타일의 카드·그늘·이름보다도 앞이다. 커진 타일 자신의 카드와 그늘은 0 으로 내려 그림 뒤로 보낸다. 커진 타일의 카드만 0 으로 내려 그림 뒤로 보낸다.
   타일(.el)에는 z-index 를 주지 않는다 — 주면 타일마다 따로 쌓여 넘친 그림이 이웃 바탕에 덮인다 */
.el { position: relative; flex: 0 0 76vw; aspect-ratio: 3 / 4; scroll-snap-align: center; }
.el::before { content: ""; position: absolute; z-index: -1; inset: 0; border-radius: 16px; }
.el.fire { --e: #ff7a45; } .el.water { --e: #5db4ff; } .el.earth { --e: #7ed957; }
.el.fire::before { background: radial-gradient(120% 80% at 50% 35%, #e0552a, #5b1408 70%, #2a0a05); }
.el.water::before { background: radial-gradient(120% 80% at 50% 35%, #3f9be0, #123c78 70%, #0a1c3d); }
.el.earth::before { background: radial-gradient(120% 80% at 50% 35%, #6bb04a, #1f5a2a 70%, #0d2a16); }
/* 그림: 아래는 타일 안(이름 위)에서 끝나고, 위로는 --pop 만큼 타일 밖으로 올라온다 */
.el .art { position: absolute; z-index: 1; left: -5%; top: calc(var(--pop) * -1); width: 118%; max-width: none; height: calc(95% + var(--pop)); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); animation: float 6s ease-in-out infinite; }
.el:nth-child(2n) .art { animation-delay: -2s; } .el:nth-child(3n) .art { animation-delay: -4s; }
/* 카드: 왼쪽 위 모서리에 --card-out 만큼 걸친다 */
.el .gcard { position: absolute; z-index: 3; top: calc(var(--card-out) * -1); left: calc(var(--card-out) * -1); width: var(--card-w); rotate: var(--card-tilt); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)); transition: filter .25s ease-out, opacity .25s ease-out, z-index 0s .25s; }
/* 타일 반응: 그림을 얼굴·상체 쪽 중심으로 키운다. 마우스는 올렸을 때, 터치는 탭했을 때(.on — 페이지 끝의 스크립트) */
.el { cursor: pointer; -webkit-tap-highlight-color: transparent; }
/* z-index 는 올리는 순간 바로 바뀌고, 뗄 때는 줄어드는 0.25초가 끝난 뒤에 돌아간다(중간에 순서가 뚝 떨어지지 않게) */
.el .art { transform-origin: var(--ox, 50%) var(--oy, 30%); transition: scale .25s ease-out, z-index 0s .25s; }
.el figcaption, .el::after { transition: z-index 0s .25s; }
.el.on .art { scale: var(--art-zoom); z-index: 6; transition-delay: 0s; }
.el.on figcaption { z-index: 7; transition-delay: 0s; }
.el.on .gcard, .el.on::after { transition-delay: 0s; }
.el.on .gcard { z-index: 0; opacity: var(--card-back-opacity); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)) brightness(var(--card-back-bright)); }
@media (hover: hover) {
  .el:hover .art { scale: var(--art-zoom); z-index: 6; transition-delay: 0s; }
  .el:hover figcaption { z-index: 7; transition-delay: 0s; }
  .el:hover .gcard, .el:hover::after { transition-delay: 0s; }
  .el:hover .gcard { z-index: 0; opacity: var(--card-back-opacity); filter: drop-shadow(0 10px 16px rgba(0, 0, 0, .6)) brightness(var(--card-back-bright)); }
}
.card-bottom .el .gcard { top: auto; bottom: 1%; }
.el figcaption { position: absolute; z-index: 4; inset: auto 0 0 0; padding: 40px 16px 12px; text-align: right; font-weight: 800; font-size: 1.25rem; line-height: 1.2; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 10px rgba(0, 0, 0, .7); }
/* 타일 아래쪽 그늘: 기본은 그림 위(카드와 같은 층), 그림이 커질 때는 그림 뒤로 내린다. 글자는 자체 그림자로 읽힌다 */
.el::after { content: ""; position: absolute; z-index: 3; inset: auto 0 0 0; height: 100px; border-radius: 0 0 16px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); pointer-events: none; }
.el.on::after { z-index: 0; }
.el.on figcaption { text-shadow: 0 1px 2px #000, 0 0 6px #000, 0 0 14px #000, 0 0 22px rgba(0, 0, 0, .8); }
@media (hover: hover) { .el:hover::after { z-index: 0; } .el:hover figcaption { text-shadow: 0 1px 2px #000, 0 0 6px #000, 0 0 14px #000, 0 0 22px rgba(0, 0, 0, .8); } }
.el figcaption small { display: block; margin-bottom: 2px; font-size: .74rem; letter-spacing: .08em; color: rgba(255, 255, 255, .86); }
.el figcaption small::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 5px; border-radius: 50%; background: var(--e); }

/* 도트 영웅 행진: 잼나무 로고의 하늘·풀 색 */
.sec.sky { --ink: #fff; --muted: #c9d3f5; --grass: #1f7a52; --grass2: #176b4b; position: relative; padding-bottom: 0; color: var(--ink); background: linear-gradient(#141a3f, #2c3d7f); overflow: hidden; }
.parade { --s: 95px; margin-top: 20px; padding-bottom: 6px; background: linear-gradient(transparent calc(100% - 40px), var(--grass) 0, var(--grass) calc(100% - 28px), var(--grass2) 0); }
.parade .row { display: flex; width: max-content; animation: march 36s linear infinite; }
.parade .row.back { margin-top: calc(var(--s) * -.42); animation-duration: 28s; animation-direction: reverse; }
.parade img { flex: none; width: var(--s); height: var(--s); max-width: none; image-rendering: pixelated; animation: hop .6s steps(2) infinite; }
.parade .back img { transform-origin: center; scale: -1 1; }
.parade img:nth-child(2n) { animation-delay: -.3s; }
.parade img:nth-child(3n) { animation-duration: .8s; }
@keyframes march { to { transform: translateX(-50%); } }
@keyframes hop { 50% { translate: 0 -6px; } }
@keyframes float { 50% { translate: 0 -8px; } }
@keyframes breathe { to { scale: 1.04; } }

.playsec { position: relative; overflow: hidden; background: radial-gradient(90% 120% at 50% 110%, #6a3a12, #2a190d 55%, var(--bg)); }
.play { display: grid; gap: 28px; justify-items: center; text-align: center; }
.play h2 { margin-top: 14px; }
.play-copy { display: grid; justify-items: center; }
.appicon { width: 84px; border-radius: 20px; box-shadow: 0 10px 28px rgba(0, 0, 0, .4); }
.play .stores { width: 100%; max-width: 460px; }
.fan { display: flex; justify-content: center; height: 190px; padding-top: 18px; }
.fan img { width: 112px; height: auto; margin: 0 -22px; border-radius: 8px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); transform-origin: 50% 140%; rotate: calc(var(--i) * 11deg); transition: translate .2s; }
.fan img:nth-child(1) { --i: -2; } .fan img:nth-child(2) { --i: -1; } .fan img:nth-child(3) { --i: 0; z-index: 1; } .fan img:nth-child(4) { --i: 1; } .fan img:nth-child(5) { --i: 2; }
.fan img:hover { translate: 0 -16px; }

.cards2 { display: grid; gap: 12px; margin-top: 28px; }
.link-card { position: relative; display: block; min-height: 150px; padding: 22px 22px 22px 22px; overflow: hidden; text-decoration: none; color: #fff; background: var(--c); border-radius: 18px; box-shadow: 0 5px 0 var(--d); transition: transform .15s; }
.link-card.discord { --c: linear-gradient(135deg, #6a74f2, #4450c8); --d: #2f3899; }
.link-card:hover { transform: translateY(-4px); }
.link-card.mail { --c: var(--card); --d: #0c0906; border: 1px solid var(--rule); color: var(--ink); min-height: 0; }
.link-card.mail span { color: var(--muted); }
.link-card.mail i { background: none; padding: 0; font-size: 1.1rem; color: var(--gold); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.link-card img { position: absolute; bottom: -4px; right: 120px; width: 104px; max-width: none; image-rendering: pixelated; }
.link-card img + img { right: 56px; }
.link-card img + img + img { right: -8px; }
.link-card.discord { padding-bottom: 96px; }
.link-card:hover img { animation: hop .5s steps(2) infinite; }
.link-card:hover img + img { animation-delay: -.25s; }
.link-card:hover img + img + img { animation-delay: -.1s; }
.link-card b { display: block; font-size: 1.4rem; font-weight: 800; }
.link-card span { display: block; margin-top: 4px; max-width: 13em; color: rgba(255, 255, 255, .86); font-size: .94rem; }
.link-card i { display: inline-block; margin-top: 12px; padding: 2px 12px; font-style: normal; font-weight: 800; background: rgba(0, 0, 0, .25); border-radius: 999px; }

/* 로고마다 가로세로 비가 달라 폭을 따로 준다(눈으로 본 무게가 비슷하게) */
/* 소개 문장 옆의 로딩 화면 한 장 */
.thennow { margin: 28px auto 0; width: min(260px, 80%); rotate: 2deg; }
.thennow img { width: 100%; border-radius: 12px; border: 4px solid #fffaf0; box-shadow: 0 10px 28px rgba(0, 0, 0, .35); }
.thennow figcaption { margin-top: 10px; text-align: center; font-size: .84rem; color: var(--muted); }

/* ── 푸터 ─────────────────────────────── */
.foot { background: #110c08; color: #e9dfcb; padding: 56px 0 40px; font-size: .92rem; }
.foot-top { display: grid; gap: 16px; }
.contact { color: #b9aa94; }
.contact a { display: block; margin-top: 2px; color: #f5ecda; font-size: 1.25rem; font-weight: 700; text-decoration-color: rgba(245, 236, 218, .4); text-underline-offset: 4px; }
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(245, 236, 218, .14); }
.info .wide { grid-column: 1 / -1; }
@media (max-width: 699px) { .info { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; } }  /* 이름표가 두 줄이 돼도 값의 높이를 맞춘다. 오른쪽 칸을 넓혀 통신판매업 신고번호가 한 줄에 들어가게 한다 */
.info dt { font-size: .78rem; color: #9c8e7a; margin-bottom: 2px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 36px; color: #9c8e7a; font-size: .84rem; }
.legal { display: flex; gap: 18px; }
.legal a { color: #e9dfcb; text-underline-offset: 3px; }

/* ── 태블릿 ───────────────────────────── */
@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
  .sec { padding: 104px 0; }
  .feats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .shots { max-width: 1120px; margin-inline: auto; gap: 16px; padding-inline: 32px; overflow: visible; }
  .shots img { flex: 1 1 0; min-width: 0; max-width: none; }
  .gallery { --clip-room: 0px; display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(14px + var(--pop-room)) 14px; margin: 32px 0 0; padding: var(--pop-room) 0 0; overflow: visible; }
  .el { aspect-ratio: auto; height: 380px; }
  .el::before { border-radius: 20px; }
  .el figcaption { font-size: 1.15rem; }
  .el::after { border-radius: 0 0 20px 20px; }
  /* 데스크톱 3열: 크게 키우되, 맨 윗줄은 위로 덜 솟게(제목·첫 화면과 부딪히지 않게), 가장자리 열은 안쪽으로 커지게 */
  :root { --art-zoom: 1.18; }
  .el { --oy: 42%; }
  .el:nth-child(-n+3) { --oy: 18%; }
  .el:nth-child(3n+1) { --ox: 38%; }
  .el:nth-child(3n) { --ox: 62%; }
  .parade { --s: 190px; background: linear-gradient(transparent calc(100% - 72px), var(--grass) 0, var(--grass) calc(100% - 52px), var(--grass2) 0); }
  .shots img:nth-child(odd) { rotate: -1.5deg; } .shots img:nth-child(even) { rotate: 1.5deg; translate: 0 14px; }
  .shots img:hover { transform: translateY(-10px) scale(1.03); }
  .stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .store { min-width: 150px; padding-inline: 22px; }
  .hero-copy { max-width: 560px; margin-inline: auto; }
  .hero-art img { aspect-ratio: auto; height: 500px; object-position: center 40%; }
  .nav { gap: 24px; }
  .fan { height: 290px; }
  .fan img { width: 172px; margin: 0 -34px; border-radius: 12px; }
  .play .stores { max-width: none; }
  .link-card { min-height: 210px; padding: 30px; }
  .link-card.discord { padding-bottom: 30px; }
  .link-card b { font-size: 1.7rem; }
  .link-card img { width: 190px; right: 230px; }
  .link-card img + img { right: 110px; }
  .link-card img + img + img { right: -10px; }
  .link-card span { max-width: 15em; }
  .cards2 { grid-template-columns: 2fr 1fr; gap: 16px; }
  .about-top { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 56px; align-items: center; }
  .thennow { margin: 0; width: 240px; }
  .foot-top { grid-template-columns: 1fr auto; align-items: end; }
  .info { grid-template-columns: repeat(4, auto); justify-content: start; gap: 24px 48px; }
}

/* ── 데스크톱: 키아트를 배경으로 깔고 글은 왼쪽 ── */
@media (min-width: 1280px) {
  .info { grid-template-columns: repeat(4, auto) 1fr; }
  .info .wide { grid-column: auto; }
  :root { --pop-room: 48px; --card-w: 38%; --card-out: 14px; }
  .gallery { gap: calc(20px + var(--pop-room)) 20px; }
  .el { height: 480px; }
  .hero.e { min-height: 540px; }
  .hero.e .hero-body { padding-top: 96px; padding-bottom: 40px; }
  .hero.e .lede { display: block; }
  .hero.e .lede.short { display: none; }
  .hero.e .tf-logo { width: 220px; }
  .hero.e + main > .sec:first-child { padding-top: 40px; }
  .hero.e + main > .sec:first-child .head { display: flex; align-items: baseline; gap: 20px; max-width: none; }
  .hero.e + main > .sec:first-child h2 br { display: none; }
  .hero.e + main > .sec:first-child h2 { margin: 0; font-size: 1.7rem; }
  .hero:not(.e) { min-height: 620px; }
  .hero-art { position: absolute; inset: 0; }
  .hero-art img {
    /* 그림의 오른쪽 끝을 화면이 아니라 본문 칸(1120px)에 맞춘다: 본문 오른쪽 끝에서 264px 까지만 나간다.
       1440px 이하에서는 종전처럼 화면 밖으로 104px 나가고, 더 넓은 화면에서는 본문을 따라 가운데로 모인다. */
    position: absolute; top: 0; right: max(-104px, calc(50vw - 824px)); width: auto; height: 100%; max-width: none; aspect-ratio: auto; margin: 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%); mask-image: linear-gradient(90deg, transparent, #000 16%);
  }
  .hero-art::after { inset: 0; height: auto; background: linear-gradient(90deg, #17110c 4%, rgba(23, 17, 12, .9) 26%, rgba(23, 17, 12, 0) 54%), linear-gradient(180deg, rgba(23, 17, 12, .7), transparent 22%, transparent 80%, rgba(23, 17, 12, .5)); }
  .bar { flex-wrap: nowrap; }
  .brand { height: 72px; }
  .bar::before { display: none; }
  .brand img { width: 36px; height: 36px; }
  .nav { order: 0; flex: 0 1 auto; gap: 26px; margin-left: 36px; height: auto; font-size: .9rem; border: 0; }
  .nav a { text-shadow: 0 1px 6px rgba(0, 0, 0, .6); }
  .hero-body { margin: 0 auto; padding-top: 118px; padding-bottom: 64px; }
  .hero-copy { text-align: left; max-width: 384px; margin: 0; }
  .tf-logo { width: 250px; margin: 10px 0 6px -14px; }
  .hero h1 { font-size: 2.6rem; }
  .lede { margin-left: 0; }
  .hero .stores { justify-content: flex-start; flex-wrap: nowrap; gap: 10px; }
  .hero .store { min-width: 0; flex: 1; padding-inline: 10px; }
  .hero-art img { animation: breathe 14s ease-in-out infinite alternate; transform-origin: 70% 50%; }
}

/* 넓은 화면(1700px~): 키아트가 화면 오른쪽 끝에 닿지 않으므로 오른쪽도 흐리게 끝낸다. */
@media (min-width: 1700px) {
  .hero-art img { -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 91%, transparent); }
}


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


/* 모든 그림: 길게 눌러도 이미지 메뉴(저장·공유)가 뜨지 않고, 끌어도 유령 그림이 나오지 않게. 글자는 그대로 선택된다.
   전역 img 규칙이라 나중에 넣는 그림에도 자동으로 걸린다(이 사이트에는 배경 이미지로 넣은 그림이 없다) */
img { -webkit-touch-callout: none; -webkit-user-drag: none; -webkit-user-select: none; user-select: none; }
/* 링크 안의 그림과 쇼케이스 그림은 누르는 대상이 그림이 아니라 링크·타일이 되게(링크의 동작과 길게 누르기 메뉴는 그대로) */
a img, .gallery img { pointer-events: none; }
/* 누르는 그림 위·옆의 글자: 길게 눌러도 선택(파란 영역·복사 말풍선)이 뜨지 않게. 본문 설명 문단과 푸터 회사 정보·메일은 그대로 선택된다 */
.gallery, .gallery *, #art .eyebrow, #art h2,
.parade, #heroes .eyebrow, #heroes h2,
.fan, #play h2,
.thennow, .thennow * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

.sub, .lede, .hero h1, .sec h2 { text-wrap: balance; }
