/* LIMBO — limboart.com
   off-white / ink, serif display + grotesk body, one line motif. */

:root {
  --bg: #f7f4ef;
  --bg-2: #efebe4;
  --ink: #141414;
  --ink-2: #4a4743;
  --ink-3: #8a857d;
  --rule: rgba(20, 20, 20, .14);
  --rule-strong: rgba(20, 20, 20, .35);
  --btn-bg: #141414;
  --btn-ink: #f7f4ef;
  --max: 1120px;
  --pad: clamp(20px, 4vw, 40px);
  --sec: clamp(72px, 11vw, 140px);
  --serif: "Instrument Serif", "Noto Serif KR", "Noto Serif JP", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Hiragino Sans", "Noto Sans JP", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414;
    --bg-2: #1b1a18;
    --ink: #f4f1ec;
    --ink-2: #bcb7af;
    --ink-3: #7f7a72;
    --rule: rgba(244, 241, 236, .16);
    --rule-strong: rgba(244, 241, 236, .4);
    --btn-bg: #f4f1ec;
    --btn-ink: #141414;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
:lang(ko) body, body:lang(ko) { letter-spacing: -0.005em; }
:lang(ja) body, body:lang(ja) { letter-spacing: 0; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
b { font-weight: 600; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap.narrow { max-width: 780px; }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }

.eyebrow {
  display: flex; align-items: center; gap: .6em;
  font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1.25rem;
}
:lang(ko) .eyebrow, :lang(ja) .eyebrow { letter-spacing: .06em; text-transform: none; font-size: .875rem; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-size: clamp(2rem, 4.6vw, 3.5rem);
  text-wrap: balance;
}
.display em { font-style: italic; }
:lang(ko) .display, :lang(ja) .display { line-height: 1.28; letter-spacing: -0.02em; font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 400; }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 44rem; margin-top: 1.5rem; }

/* word reveal */
.display .w { display: inline-block; opacity: 0; transform: translateY(.35em); transition: opacity .6s ease, transform .6s ease; transition-delay: calc(var(--i, 0) * 45ms); }
.display.in .w { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .display .w { opacity: 1; transform: none; transition: none; } }

/* ── buttons ─────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 48px; padding: 0 1.4rem; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-ink);
  font-size: .9375rem; font-weight: 600; letter-spacing: .01em; white-space: nowrap;
  transition: transform .12s ease, opacity .12s ease;
}
.btn:active { transform: scale(.98); opacity: .9; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--rule-strong); }
.btn.outline:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ── header ─────────────────────────────────────── */
.site-head {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-head .wrap { display: flex; align-items: center; gap: 2rem; min-height: 64px; }
.brand img { height: 22px; width: auto; }
.nav { display: flex; gap: 1.6rem; font-size: .9375rem; color: var(--ink-2); margin-left: .5rem; }
.nav a { padding: .2rem 0; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); border-bottom-color: var(--ink); }
.head-tools { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.lang { display: flex; gap: .15rem; font-size: .8125rem; }
.lang button {
  appearance: none; background: none; border: 0; color: var(--ink-3); cursor: pointer;
  padding: .3rem .5rem; border-radius: 999px; font: inherit; font-size: .8125rem; font-weight: 500;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { color: var(--ink); background: var(--bg-2); }
.head-tools .cta { height: 38px; padding: 0 1.1rem; font-size: .875rem; }
@media (max-width: 820px) {
  .nav { display: none; }
  .head-tools .cta { display: none; }
}

/* ── hero ───────────────────────────────────────── */
.hero { padding: clamp(56px, 9vw, 112px) 0 0; overflow: hidden; }
.hero-mark { width: min(300px, 60vw); margin-bottom: 2.5rem; color: var(--ink); }
.hero-mark svg { width: 100%; height: auto; overflow: visible; }
.hero-mark .draw { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.4s cubic-bezier(.6, 0, .2, 1) .2s forwards; }
.hero-mark .ring { opacity: 0; animation: fade .5s ease 1.3s forwards; }
.hero-mark .rays { opacity: 0; transform-origin: 352px 40px; animation: rays .7s ease 1.6s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes rays { 0% { opacity: 0; transform: scale(.6); } 60% { opacity: 1; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-mark .draw, .hero-mark .ring, .hero-mark .rays { animation: none; stroke-dashoffset: 0; opacity: 1; } }

.hero h1 { font-size: clamp(2.6rem, 7.2vw, 5.6rem); max-width: 14ch; }
:lang(ko) .hero h1, :lang(ja) .hero h1 { font-size: clamp(2.1rem, 5.6vw, 4.4rem); max-width: 16ch; }
.hero .lede { max-width: 38rem; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: 2.25rem; }
.stores-note { font-size: .8125rem; color: var(--ink-3); margin-left: .25rem; }

.phones {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: clamp(12px, 2vw, 28px);
  align-items: end; margin-top: clamp(48px, 7vw, 96px); padding-bottom: 0;
}
.phone {
  margin: 0; overflow: hidden; border-radius: clamp(18px, 3vw, 36px);
  border: 1px solid var(--rule); background: var(--bg-2);
  aspect-ratio: 343 / 696;
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phones .phone { transform: translateY(16%); }
.phones .phone.lead { transform: translateY(8%); }
@media (max-width: 640px) {
  .phones { grid-template-columns: 1fr 1.25fr 1fr; gap: 10px; margin-left: -10vw; margin-right: -10vw; width: auto; }
}

/* ── live ───────────────────────────────────────── */
.live { padding: var(--sec) 0; border-top: 1px solid var(--rule); background: var(--bg); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1); } }
.live-sentence { max-width: 20ch; font-size: clamp(2rem, 5vw, 4rem); }
:lang(ko) .live-sentence, :lang(ja) .live-sentence { max-width: 24ch; }
.live-sentence b { font-weight: 400; font-style: italic; font-variant-numeric: tabular-nums; border-bottom: 2px solid var(--rule-strong); padding-bottom: .02em; }
.live .small { margin-top: 1.75rem; color: var(--ink-3); }

/* ── features ───────────────────────────────────── */
.features { padding: var(--sec) 0 0; border-top: 1px solid var(--rule); }
.strip {
  display: grid; grid-template-columns: 1fr minmax(240px, 320px); gap: clamp(32px, 6vw, 96px);
  align-items: center; padding: clamp(40px, 6vw, 80px) var(--pad);
  border-top: 1px solid var(--rule); margin-top: clamp(40px, 6vw, 80px);
}
.strip:first-of-type { border-top: 0; }
.strip.reverse { grid-template-columns: minmax(240px, 320px) 1fr; }
.strip.reverse .strip-text { order: 2; }
.strip-text h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; margin-bottom: 1rem; }
:lang(ko) .strip-text h3, :lang(ja) .strip-text h3 { line-height: 1.3; }
.strip-text p { color: var(--ink-2); font-size: 1.0625rem; max-width: 34rem; }
.strip .phone { width: 100%; max-width: 300px; justify-self: center; }
@media (max-width: 700px) {
  .strip, .strip.reverse { grid-template-columns: 1fr; }
  .strip.reverse .strip-text { order: 0; }
  .strip .phone { max-width: 240px; justify-self: start; }
}

/* ── review stream ──────────────────────────────── */
.stream { padding: var(--sec) 0; border-top: 1px solid var(--rule); overflow: hidden; }
.stream .wrap { margin-bottom: 2.5rem; }
.marquee {
  --dur: 70s;
  overflow: hidden; padding: .5rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee .track { display: flex; gap: 14px; width: max-content; animation: slide var(--dur) linear infinite; }
.marquee.reverse .track { animation-direction: reverse; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }
.card {
  width: 300px; flex: none; padding: 18px 20px 16px;
  border: 1px solid var(--rule); border-radius: 18px; background: var(--bg);
  display: flex; flex-direction: column; gap: 10px;
}
.card p { font-size: .9375rem; line-height: 1.5; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.card p::before { content: "“"; color: var(--ink-3); }
.card p::after { content: "”"; color: var(--ink-3); }
.card .meta { font-size: .8125rem; color: var(--ink-3); display: flex; justify-content: space-between; gap: 8px; margin-top: auto; }
.card .meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card.empty { justify-content: center; align-items: center; color: var(--ink-3); font-size: .875rem; min-height: 120px; border-style: dashed; }

/* ── craft ──────────────────────────────────────── */
.craft { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.craft .display { max-width: 22ch; }
.pipeline { width: 100%; height: auto; margin-top: clamp(40px, 6vw, 72px); color: var(--ink); overflow: visible; }
.pipeline .draw-scroll { stroke-dasharray: 1200; stroke-dashoffset: 1200; transition: stroke-dashoffset 2.4s cubic-bezier(.6, 0, .2, 1); }
.pipeline.in .draw-scroll { stroke-dashoffset: 0; }
@media (prefers-reduced-motion: reduce) { .pipeline .draw-scroll { stroke-dashoffset: 0; transition: none; } }
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: .25rem; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
:lang(ko) .steps, :lang(ja) .steps { letter-spacing: .02em; text-transform: none; font-size: .875rem; }
.steps li:last-child { text-align: right; }
@media (max-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } .steps li:last-child { text-align: left; } }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: clamp(48px, 7vw, 96px); }
.facts div { border-top: 1px solid var(--rule-strong); padding-top: 18px; }
.facts dt { font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.facts dt span { font-size: .6em; vertical-align: .35em; }
.facts dd { margin-top: 12px; font-size: .9375rem; color: var(--ink-2); line-height: 1.5; }
@media (max-width: 800px) { .facts { grid-template-columns: repeat(2, 1fr); } }

/* ── manifesto ──────────────────────────────────── */
.manifesto { padding: var(--sec) 0; border-top: 1px solid var(--rule); background: var(--bg-2); }
.quote { font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.2; }
:lang(ko) .quote, :lang(ja) .quote { line-height: 1.4; }
.manifesto .lede { margin-top: 2rem; }

/* ── timeline ───────────────────────────────────── */
.history { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.tl { margin-top: clamp(40px, 6vw, 72px); position: relative; padding-left: 28px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--rule-strong); }
.tl li { position: relative; display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 18px 0 26px; }
.tl li::before { content: ""; position: absolute; left: -26px; top: 26px; width: 9px; height: 9px; border-radius: 50%; background: var(--ink); }
.tl li.now::before { background: var(--bg); border: 2px solid var(--ink); left: -28px; width: 11px; height: 11px; top: 25px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--ink) 12%, transparent); }
.tl li.next { color: var(--ink-3); }
.tl li.next::before { background: transparent; border: 1.5px solid var(--ink-3); width: 8px; height: 8px; }
.tl time { font-family: var(--serif); font-size: 1.25rem; letter-spacing: 0; color: inherit; white-space: nowrap; }
.tl p { color: var(--ink-2); max-width: 38rem; }
.tl li.next p { color: var(--ink-3); }
@media (max-width: 600px) { .tl li { grid-template-columns: 1fr; gap: 6px; } }

/* ── for spaces ─────────────────────────────────── */
.forspaces { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.forspaces .display { max-width: 24ch; }
.forspaces .btn { margin-top: 2rem; }

/* ── company ────────────────────────────────────── */
.company { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.company .display { max-width: 22ch; }
.people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 28px; margin-top: clamp(40px, 6vw, 72px); }
.people h3, .partners h3 { font-size: 1.0625rem; font-weight: 600; margin: 14px 0 6px; }
.people h3 span, .partners h3 span { display: block; font-weight: 400; font-size: .875rem; color: var(--ink-3); margin-top: 2px; }
.people p, .partners p { font-size: .9375rem; color: var(--ink-2); line-height: 1.55; }
.portrait {
  aspect-ratio: 4 / 5; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--rule);
  display: grid; place-items: center; font-family: var(--serif); font-size: 2rem; color: var(--ink-3);
  overflow: hidden;
}
.portrait::after { content: attr(data-ph); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait img + * { display: none; }
.partners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 28px; margin-top: clamp(40px, 6vw, 72px); padding-top: 32px; border-top: 1px solid var(--rule); }
@media (max-width: 800px) { .people { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .partners { grid-template-columns: 1fr; } }

/* ── footer ─────────────────────────────────────── */
.site-foot { border-top: 1px solid var(--rule); padding: 56px 0 40px; background: var(--bg-2); }
.foot-top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot-mark img { width: 120px; }
.foot-cta { display: flex; gap: 10px; }
.foot-cta .btn { height: 40px; font-size: .875rem; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 40px; font-size: .875rem; color: var(--ink-2); }
.foot-links a:hover { color: var(--ink); }
.legal { margin-top: 28px; font-size: .75rem; line-height: 1.6; color: var(--ink-3); max-width: 60rem; }

/* ── spaces page ────────────────────────────────── */
.page-hero { padding: clamp(56px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); }
.page-hero h1 { max-width: 18ch; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding: var(--sec) var(--pad); border-top: 1px solid var(--rule); }
.benefits div { border-top: 1px solid var(--rule-strong); padding-top: 16px; }
.benefits h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; margin-bottom: 8px; }
.benefits p { font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 700px) { .benefits { grid-template-columns: 1fr; } }
.tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: clamp(32px, 5vw, 56px); }
.tiers div { border: 1px solid var(--rule); border-radius: 18px; padding: 24px; }
.tiers h3 { font-size: 1rem; font-weight: 600; margin-bottom: 8px; }
.tiers h3 span { color: var(--ink-3); font-weight: 400; margin-right: .5em; font-family: var(--serif); font-size: 1.25rem; }
.tiers p { font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 640px) { .tiers { grid-template-columns: 1fr; } }

.form-sec { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.form { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; margin-top: 2.5rem; max-width: 860px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: .8125rem; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; }
.form label b { color: var(--ink); font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--rule-strong); border-radius: 10px; padding: 12px 14px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: transparent; }
.form textarea { min-height: 130px; resize: vertical; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; color: var(--ink-2); }
.form .consent input { width: auto; margin-top: 4px; }
.form .actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form .status { font-size: .9375rem; color: var(--ink-2); }
.form .status.ok { color: var(--ink); }
.form .status.err { color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

.faq { padding: var(--sec) 0; border-top: 1px solid var(--rule); }
.faq dl { margin-top: 2rem; max-width: 780px; }
.faq dt { font-weight: 600; padding-top: 20px; border-top: 1px solid var(--rule); }
.faq dd { color: var(--ink-2); padding: 8px 0 20px; font-size: .9375rem; }

/* ── notice page (kept) ─────────────────────────── */
.notice-page { padding: clamp(48px, 8vw, 96px) 0 var(--sec); }
.notice-page .lede { margin-top: 1rem; }
.notice-list { margin-top: 2.5rem; max-width: 780px; }
.notice-list li { padding: 20px 0; border-top: 1px solid var(--rule); }
.notice-list time { font-size: .8125rem; color: var(--ink-3); }
.notice-list h3 { font-size: 1.0625rem; margin: 4px 0 8px; }
.notice-list p { color: var(--ink-2); font-size: .9375rem; }
.empty { margin-top: 2.5rem; color: var(--ink-3); }
.linkline { border-bottom: 1px solid var(--rule-strong); }

/* ── hero: slogan line + odometer counts ────────── */
.slogan-line { font-family: var(--serif); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--ink-2); margin-bottom: 1.25rem; }
.slogan-line em { font-style: italic; color: var(--ink); }
.counts { font-size: clamp(2.4rem, 6.4vw, 5.2rem); line-height: 1.12; max-width: 22ch; }
:lang(ko) .counts, :lang(ja) .counts { font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 1.25; max-width: 28ch; }
.counts .num { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 1.28em; letter-spacing: -0.02em; }
.counts .lab { color: var(--ink-2); }
.counts-meta { display: flex; align-items: center; gap: .6em; flex-wrap: wrap; margin-top: 1.25rem; color: var(--ink-3); }
.counts-meta b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.odo { display: inline-flex; align-items: baseline; }
.odo-d { display: inline-block; height: 1em; line-height: 1; overflow: hidden; vertical-align: baseline; position: relative; top: .08em; }
.odo-s { display: flex; flex-direction: column; line-height: 1; will-change: transform; transition: transform 1.8s cubic-bezier(.16, .84, .3, 1); }
.odo-s span { display: block; height: 1em; line-height: 1; }
.tl-link { border-bottom: 1px solid var(--rule-strong); color: var(--ink); }
.tl-link:hover { border-bottom-color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .odo-s { transition: none; } }
