:root { --pink:#ff3ea5; --lime:#c6f432; --aqua:#35d6e8; --lilac:#b8a1ff; --yellow:#ffe53d; --ink:#17151f; --cream:#fffdf0; }
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--ink); font: 16px/1.7 Pretendard, "Malgun Gothic", system-ui, sans-serif; word-break: keep-all; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); line-height: 1.12; letter-spacing: -.04em; }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.2; letter-spacing: -.03em; margin-bottom: 20px; }
canvas { max-width: 100%; display: block; }

.notice { background: var(--ink); color: var(--lime); text-align: center; font-size: .78rem; padding: 4px 10px; }
header { position: sticky; top: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 10px 24px; background: var(--yellow); border-bottom: 3px solid var(--ink); }
.logo { display: block; line-height: 0; }
.logo img { width: 150px; height: auto; }
.id-logo { width: 100%; height: 150px; object-fit: contain; }
.tag img { width: 100%; height: auto; margin-bottom: 4px; }
.seal { position: absolute; right: 24px; bottom: 24px; width: 132px; animation: spin 18s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

.logo.big img { width: min(320px, 80%); margin: auto; }
nav { display: flex; gap: 4px; flex-wrap: wrap; font-weight: 800; font-size: .9rem; }
nav a { padding: 8px 12px; border: 2px solid transparent; border-radius: 99px; }
nav a:hover, nav a.on { border-color: var(--ink); background: #fff; }
nav a.hot { background: var(--pink); color: #fff; border-color: var(--ink); }

.btn { display: inline-block; padding: 12px 24px; border: 2px solid var(--ink); border-radius: 99px; background: var(--pink); color: #fff; font-weight: 800; box-shadow: 4px 4px 0 var(--ink); transition: translate .15s, box-shadow .15s; }
.btn.alt { background: var(--lime); color: var(--ink); }
.btn:hover { translate: 2px 2px; box-shadow: 2px 2px 0 var(--ink); }
.eyebrow { display: inline-block; background: var(--ink); color: var(--lime); font-weight: 800; font-size: .8rem; padding: 2px 12px; border-radius: 99px; margin-bottom: 14px; }
.wrap { max-width: 1160px; margin: auto; padding: 72px 24px; }

.hero { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; min-height: 82vh; background: var(--pink); border-bottom: 3px solid var(--ink); overflow: hidden; }
.hero-photo { background: radial-gradient(#ffffff80 3px, transparent 4px) 0 0/30px 30px, var(--aqua); border-right: 3px solid var(--ink); min-height: 320px; position: relative; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { align-self: center; padding: 48px clamp(20px, 5vw, 70px); color: #fff; }
.hero-copy h1 { font-size: clamp(3rem, 7.5vw, 6.4rem); text-shadow: 5px 5px 0 var(--ink); margin-bottom: 18px; }
.hero-copy em { color: var(--yellow); font-style: normal; }
.hero-copy p { margin-bottom: 18px; font-weight: 700; }
.swing { transform-origin: 50% 3%; animation: swing 3.4s ease-in-out infinite alternate; }
.swing.late { animation-delay: -1.7s; }
@keyframes swing { from { rotate: -7deg; } to { rotate: 7deg; } }
.hero .swing { position: absolute; width: 110px; top: -8px; pointer-events: none; }
.hero .s1 { right: 4%; } .hero .s2 { right: 15%; width: 84px; animation-delay: -1.2s; }

.ticker { overflow: hidden; white-space: nowrap; background: var(--lime); border-bottom: 3px solid var(--ink); font-weight: 900; font-size: 1.4rem; }
.ticker span { display: inline-block; padding: 8px 0; animation: tick 30s linear infinite; }
@keyframes tick { to { transform: translateX(-50%); } }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.card span { font-size: .75rem; font-weight: 800; color: var(--pink); }
.card h3 { font-size: 1.1rem; line-height: 1.3; }
.thumb { border: 3px solid var(--ink); border-radius: 24px; padding: 10px; background-image: radial-gradient(#ffffff90 2px, transparent 3px); background-size: 24px 24px; box-shadow: 5px 5px 0 var(--ink); display: grid; place-items: center; margin-bottom: 10px; overflow: hidden; }
.thumb canvas { width: 100%; aspect-ratio: 1/1.2; transition: rotate .35s, scale .35s; transform-origin: 50% 0; }
.card:hover canvas { rotate: 5deg; scale: 1.05; }

.banner { margin: 0 24px 72px; padding: 64px 24px; text-align: center; background: var(--lilac); border: 3px solid var(--ink); border-radius: 32px; box-shadow: 8px 8px 0 var(--ink); }
.banner p { margin-bottom: 20px; font-weight: 700; }

.chapter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 86vh; padding: 64px clamp(20px, 7vw, 110px); border-bottom: 3px solid var(--ink); }
.c1 { background: var(--yellow); } .c2 { background: var(--aqua); } .c3 { background: var(--lime); } .c4 { background: #ff9ad0; }
.photo { border: 3px solid var(--ink); border-radius: 24px; overflow: hidden; box-shadow: 8px 8px 0 var(--ink); background: repeating-linear-gradient(45deg, var(--lilac) 0 18px, var(--aqua) 18px 36px); min-height: 240px; }
.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chapter .photo { aspect-ratio: 4/5; max-height: 76vh; justify-self: center; width: min(100%, 520px); rotate: -2deg; }
.floating { display: flex; justify-content: center; gap: 24px; }
.floating canvas { width: 44%; max-width: 220px; }

.id-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.id-grid > div { border: 3px solid var(--ink); border-radius: 24px; padding: 24px; background: #fff; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 220px; }
.chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.chips span { height: 68px; border: 2px solid var(--ink); border-radius: 14px; font-size: .68rem; font-weight: 800; display: flex; align-items: flex-end; padding: 4px 6px; color: #fff; text-shadow: 0 0 3px #000; }
.voice { font-size: 1.8rem; font-weight: 900; line-height: 1.3; }
.tag { align-self: center; width: 150px; padding: 40px 12px 16px; text-align: center; background: var(--lime); border: 2px solid var(--ink); border-radius: 70px 70px 14px 14px; rotate: -6deg; position: relative; }
.tag::before { content: ""; position: absolute; top: 12px; left: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--ink); background: #fff; }
.tag span { display: block; font-size: .68rem; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.chip { padding: 6px 16px; border: 2px solid var(--ink); border-radius: 99px; font-weight: 800; background: #fff; }
.chip.on { background: var(--ink); color: var(--lime); }
.swatch { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--ink); }
.swatch[aria-pressed="true"] { outline: 4px solid var(--pink); outline-offset: 2px; }
.detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.price { font-size: 1.6rem; font-weight: 900; margin: 8px 0; }
.info { margin-top: 28px; padding-left: 20px; font-size: .9rem; color: #55515f; }

.looks { columns: 3 260px; column-gap: 24px; margin-top: 32px; }
.looks > * { break-inside: avoid; margin-bottom: 24px; }
.looks .photo { min-height: 0; width: 100%; }
.looks .tall { aspect-ratio: 4/5; } .looks .wide { aspect-ratio: 16/10; }
.quote { background: var(--pink); color: #fff; font-size: 1.8rem; font-weight: 900; line-height: 1.4; padding: 36px 28px; border: 3px solid var(--ink); border-radius: 24px; }

.cart { list-style: none; padding: 0; margin: 24px 0; }
.cart li { display: grid; grid-template-columns: 100px 1fr auto; gap: 18px; align-items: center; border-bottom: 2px solid var(--ink); padding: 14px 0; }
.cart .thumb { margin: 0; padding: 4px; box-shadow: none; border-radius: 16px; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 40px; height: 40px; border: 2px solid var(--ink); border-radius: 50%; background: #fff; }
.total { font-size: 1.4rem; margin-bottom: 18px; text-align: right; }
.empty { text-align: center; min-height: 55vh; } .empty p { margin-top: 20px; }

footer { background: var(--ink); color: #fff; padding: 48px 24px; text-align: center; font-size: .85rem; }


[data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

@media (max-width: 760px) {
  header { position: static; justify-content: center; padding: 8px 10px; }
  nav { justify-content: center; font-size: .8rem; } nav a { padding: 6px 8px; }
  .hero, .chapter, .detail { grid-template-columns: 1fr; }
  .hero-photo { border-right: 0; border-bottom: 3px solid var(--ink); min-height: 46vh; }
  .hero .swing { width: 60px; } .seal { width: 84px; right: 12px; bottom: 12px; }
  .chapter { min-height: 0; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .banner { margin: 0 12px 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .swing, .ticker span, .seal { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
