@font-face { font-family: "Lilita One"; src: url(fonts/display-latin.woff2) format("woff2"); font-display: swap; }
/* Jua and Lilita One (OFL), Jua subset to the Korean on this page; see site/fonts/README.md */
@font-face { font-family: "Jua"; src: url(fonts/display-ko.woff2) format("woff2"); font-display: swap; }

:root {
  --navy: #1d2340;
  --navy-2: #283062;
  --night: #141a33;
  --gold: #ffd23f;
  --gold-deep: #a8601a;
  --cream: #fffdf7;
  --sand: #fff4d6;
  --ink: #182822;
  --muted: #52665a;
  --green: #166347;
  --display: "Lilita One", "Jua", system-ui, sans-serif;
  color-scheme: light;
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", sans-serif;
  color: var(--ink);
  background: var(--cream);
}
* { box-sizing: border-box; }
body { margin: 0; overflow-x: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }

/* Top bar */
.bar { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 16px; background: var(--navy); color: var(--cream); }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 22px; color: var(--gold); text-decoration: none; white-space: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.menu { display: none; gap: 22px; margin-left: auto; font-weight: 700; font-size: 15px; }
.menu a { text-decoration: none; opacity: 0.85; }
.menu a:hover { opacity: 1; color: var(--gold); }
.langs { display: flex; gap: 4px; margin-left: auto; font-size: 13px; font-weight: 700; }
.langs a { padding: 6px 10px; border-radius: 999px; text-decoration: none; color: #c9cde6; }
html[lang="ko"] .langs a[lang="ko"], html[lang="en"] .langs a[lang="en"] { background: var(--gold); color: var(--navy); }

/* Hero: a 9:16 loop on phones, 16:9 on wider screens; the title sits in the loop's calm area */
.hero { position: relative; container-type: inline-size; aspect-ratio: 9 / 16; background: var(--navy) url(media/hero-mobile.jpg) center / cover; overflow: hidden; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; height: 29%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.6cqw; padding: 0 16px 2cqw; text-align: center; color: var(--cream); }
.kicker { margin: 0; font-weight: 800; font-size: 4cqw; letter-spacing: 0.04em; color: #ffe9a8; }
.logo { margin: 0; font-family: var(--display); font-weight: 400; font-size: 13cqw; line-height: 1; color: var(--gold); -webkit-text-stroke: 1.6cqw var(--navy); paint-order: stroke fill; text-shadow: 0 0.9cqw 0 var(--gold-deep); }
html[lang="en"] .logo { font-size: 10.5cqw; }
.slogan { margin: 0; font-size: 4.3cqw; font-weight: 700; }
.stores { display: flex; gap: 2.4cqw; margin: 1.4cqw 0 0; padding: 0; list-style: none; }
.stores li { display: grid; padding: 1.6cqw 3.6cqw; border: 2px solid rgba(255, 233, 168, 0.55); border-radius: 3.4cqw; background: rgba(20, 26, 51, 0.6); line-height: 1.25; }
.stores b { font-size: 3.8cqw; }
.stores span { font-size: 2.9cqw; color: #ffe9a8; }

@media (min-width: 820px) {
  .bar { padding: 0 28px; }
  .menu { display: flex; }
  .langs { margin-left: 8px; }
  .hero { aspect-ratio: 16 / 9; background-image: url(media/hero-desktop.jpg); }
  .hero-copy { top: 0; right: auto; width: 41%; height: auto; align-items: flex-start; gap: 1.1cqw; padding: 0 0 0 5.5cqw; text-align: left; }
  .kicker { font-size: 1.5cqw; }
  .logo, html[lang="en"] .logo { font-size: 6.6cqw; -webkit-text-stroke-width: 0.75cqw; text-shadow: 0 0.45cqw 0 var(--gold-deep); }
  html[lang="en"] .logo { font-size: 5.6cqw; }
  .slogan { font-size: 1.9cqw; }
  .stores { gap: 1cqw; margin-top: 1.2cqw; }
  .stores li { padding: 0.8cqw 1.6cqw; border-radius: 1.2cqw; }
  .stores b { font-size: 1.45cqw; }
  .stores span { font-size: 1.05cqw; }
}

/* Sections */
section { padding: 64px 16px; scroll-margin-top: 60px; }
.title { margin: 0 0 36px; font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 46px); line-height: 1.15; text-align: center; color: var(--navy); }
.title::after { content: ""; display: block; width: 56px; height: 8px; margin: 14px auto 0; border-radius: 4px; background: var(--gold); }

.intro { padding: 48px 16px; background: var(--sand); text-align: center; }
.intro p { max-width: 640px; margin: 0 auto; font-size: clamp(17px, 2.2vw, 20px); line-height: 1.8; font-weight: 600; }

.play { max-width: 1080px; margin: 0 auto; }
.feature { display: grid; gap: 22px; align-items: center; margin: 0 0 56px; }
.feature:last-child { margin-bottom: 0; }
.feature img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 4px solid var(--navy); border-radius: 22px; box-shadow: 0 8px 0 var(--navy); }
.step { margin: 0; font-family: var(--display); font-size: 40px; line-height: 1; color: var(--gold); -webkit-text-stroke: 6px var(--navy); paint-order: stroke fill; }
.feature h3 { margin: 8px 0 10px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 30px); line-height: 1.25; color: var(--navy); }
.feature p:not(.step) { margin: 0; font-size: 17px; line-height: 1.75; color: #2c3b33; }
.secret-shot { position: relative; }
.secret-shot b { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--gold); border: 5px solid var(--navy); box-shadow: 0 6px 0 var(--navy); font-family: var(--display); font-weight: 400; font-size: 56px; color: var(--navy); animation: bob 2.4s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .secret-shot b { animation: none; } }
@media (min-width: 820px) {
  .feature { grid-template-columns: 1.15fr 1fr; gap: 48px; margin-bottom: 72px; }
  .feature.flip > img, .feature.flip > .secret-shot { order: 2; }
}

.founders { background: var(--navy) radial-gradient(circle at 50% 0%, rgba(255, 210, 63, 0.22), transparent 60%); color: var(--cream); }
.founders .title { color: var(--gold); }
.cast { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 1080px; margin: 0 auto; padding: 0; list-style: none; }
.cast li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 12px 18px; border-radius: 22px; background: var(--navy-2); text-align: center; font-size: 14px; line-height: 1.5; color: #dfe2f5; overflow: hidden; }
.cast li::before { content: ""; display: block; align-self: stretch; height: 64px; margin: 0 -12px -60px; background: var(--tint); }
.cast img { position: relative; width: 112px; height: 112px; border-radius: 50%; border: 5px solid var(--gold); background: var(--sand); }
.cast b { margin-top: 4px; font-family: var(--display); font-weight: 400; font-size: 24px; color: var(--gold); }
.c1 { --tint: #f2b544; } .c2 { --tint: #ef7d5b; } .c3 { --tint: #4fbf8c; } .c4 { --tint: #5b9de0; }
.rival { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 30px auto 0; max-width: 560px; font-weight: 700; color: #c9cde6; text-align: left; }
.rival img { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 3px solid #ef5b5b; background: var(--sand); }
@media (min-width: 820px) {
  .cast { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .cast li { font-size: 15px; }
}

.offices { max-width: 1180px; margin: 0 auto; }
.rooms { counter-reset: room; display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 14px; margin: 0 -16px; padding: 4px 16px 12px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; }
.rooms li { counter-increment: room; display: flex; flex-direction: column; align-items: center; gap: 10px; scroll-snap-align: center; font-family: var(--display); font-size: 20px; color: var(--navy); }
.rooms img { width: 100%; aspect-ratio: 7 / 5; object-fit: contain; }
.rooms span { display: inline-flex; align-items: center; gap: 8px; }
.rooms span::before { content: counter(room); display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); border: 3px solid var(--navy); font-size: 16px; }
.rooms span[hidden]::before { content: none; }
/* Later offices stay a mystery: a silhouette, a question mark and a rumour */
.rooms .shot { position: relative; width: 100%; }
.rooms .shot img { display: block; opacity: 0.9; }
.rooms .shot b { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--gold); border: 4px solid var(--navy); font-family: var(--display); font-weight: 400; font-size: 38px; color: var(--navy); box-shadow: 0 5px 0 var(--navy); animation: bob 2.4s ease-in-out infinite; }
.rooms li:nth-child(4) .shot b { animation-delay: -0.6s; } .rooms li:nth-child(5) .shot b { animation-delay: -1.2s; } .rooms li:nth-child(6) .shot b { animation-delay: -1.8s; }
.rooms em { margin-top: -4px; font-family: system-ui, sans-serif; font-style: normal; font-size: 14px; font-weight: 600; color: var(--muted); text-align: center; }
@keyframes bob { 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .rooms .shot b { animation: none; } }
@media (min-width: 820px) {
  .rooms { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin: 0; padding: 0; overflow: visible; }
}

.soon { display: flex; flex-direction: column; align-items: center; text-align: center; background: var(--navy); color: var(--cream); }
.soon img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 10px 0 rgba(0, 0, 0, 0.3); }
.soon .title { margin: 22px 0 14px; color: var(--gold); }
.soon p { max-width: 520px; margin: 0 0 22px; font-size: 17px; line-height: 1.7; }
.mail { padding: 14px 26px; border-radius: 999px; background: var(--gold); color: var(--navy); font-weight: 800; text-decoration: none; box-shadow: 0 5px 0 var(--gold-deep); }

.foot { padding: 28px 16px 36px; background: var(--night); color: #aab0d3; text-align: center; font-size: 14px; }
.foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin-bottom: 12px; }
.foot a { text-decoration: none; font-weight: 700; color: #dfe2f5; }
.foot a:hover { color: var(--gold); }
.foot p { margin: 0; }
