/* 향담 — 스캔 화면. 모바일이 기본, 넓은 화면에서는 가운데 기둥으로. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }

main, .brand, .foot { max-width: 520px; margin-inline: auto; }

.preview-bar {
  background: var(--ink); color: var(--paper);
  font-size: var(--fs-cap); font-weight: 500; text-align: center; padding: var(--sp-2);
}

/* ── 상단 로고 ─────────────────────────────── */
.brand {
  display: flex; flex-direction: column; align-items: center;
  padding: var(--sp-5) 0 var(--sp-4);
}
.brand__ko { font-family: var(--font-serif-ko); font-weight: 700; font-size: 24px; line-height: 1.2; letter-spacing: 0.12em; }
.brand__en { font-family: var(--font-serif-en); font-weight: 600; font-size: var(--fs-cap); letter-spacing: 0.32em; color: var(--ink-soft); margin-top: 2px; }

/* ── 엘리베이터 표시등 (시그니처) ─────────────── */
.lift {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 4px 12px 4px 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-soft);
  font-size: var(--fs-cap); font-weight: 500; line-height: 1.4;
}
.lift__arrows { display: inline-flex; color: var(--ink-mute); }
.lift--here {
  background: var(--ink); border-color: var(--ink); color: var(--on-ink-warm);
}
.lift--here .lift__arrows { color: var(--lamp); }   /* 표시등의 불빛 */
.lift--here .lift__arrows svg path:first-child { animation: blink 2.4s var(--ease) infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ── ① 지금 이 엘리베이터의 향 ────────────────── */
.hero { padding: 0 var(--sp-4); }
.hero__media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--r-md) var(--r-md) 0 0;
  overflow: hidden;
  background: var(--tone);
  color: var(--ink);
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .diffuser-art {
  position: absolute; right: 6%; bottom: 60px; height: 74%; width: auto; color: var(--ink);
}
/* 창으로 드는 빛 — 레퍼런스의 사선 그림자 */
.hero__light {
  position: absolute; inset: -20%;
  background:
    repeating-linear-gradient(118deg, rgba(255,255,255,0) 0 46px, rgba(255,255,255,.22) 46px 92px, rgba(255,255,255,0) 92px 170px);
  filter: blur(14px);
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero__copy {
  position: absolute; left: var(--sp-5); top: var(--sp-6);
  display: flex; flex-direction: column; gap: var(--sp-3);
}
.hero__tagline {
  font-family: var(--font-serif-ko); font-weight: 700;
  font-size: 30px; line-height: 1.35; letter-spacing: -0.02em;
}
.hero__sub { font-family: var(--font-serif-ko); font-size: var(--fs-sm); color: var(--ink-soft); }

.scent-card {
  position: relative;
  margin-top: -64px;
  margin-inline: var(--sp-3);
  padding: var(--sp-5) var(--sp-5) var(--sp-5);
  background: var(--card);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  backdrop-filter: blur(18px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.scent-card__en {
  font-family: var(--font-serif-en); font-weight: 600;
  font-size: 30px; line-height: 1.15; letter-spacing: 0;
  margin-top: var(--sp-4);
}
.scent-card__name {
  font-family: var(--font-serif-ko); font-weight: 700;
  font-size: var(--fs-lg); line-height: 1.4; letter-spacing: -0.01em;
  margin-top: var(--sp-1);
}
.scent-card__en + .scent-card__name { font-size: var(--fs-body); font-weight: 400; color: var(--ink-soft); }
.scent-card__notes { font-size: var(--fs-sm); color: var(--ink-mute); margin-top: 2px; }
.scent-card__desc {
  font-size: 15px; line-height: 1.7; color: var(--ink-soft);
  margin-top: var(--sp-4); max-width: 30em;
}
.scent-card__where {
  font-size: var(--fs-cap); color: var(--ink-mute);
  margin-top: var(--sp-4); padding-top: var(--sp-4);
  border-top: 1px solid var(--line-soft); width: 100%;
}

/* 좋아요 */
.like {
  -webkit-appearance: none; appearance: none;
  margin-top: var(--sp-4);
  width: 100%; min-height: 54px;
  display: flex; align-items: center; justify-content: center; gap: var(--sp-2);
  padding: 0 var(--sp-5);
  border: 0; border-radius: var(--r-pill);
  background: var(--ink); color: var(--on-ink);
  font: inherit; font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.like:active { transform: scale(.98); }
.like:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.like__icon { fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform var(--dur) var(--ease); }
.like__count {
  margin-left: var(--sp-1); padding-left: var(--sp-3);
  border-left: 1px solid rgba(246, 240, 230, .3);
  font-variant-numeric: tabular-nums; font-size: var(--fs-sm); opacity: .85;
}
.like.is-on { background: var(--heart-bg); color: var(--heart); box-shadow: inset 0 0 0 1px var(--heart-line); }
.like.is-on .like__icon { fill: var(--heart); stroke: var(--heart); }
.like.is-on .like__count { border-left-color: var(--heart-line); }
.like.pop .like__icon { animation: pop 420ms var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }

/* 운영 중지 / 홈 */
.notice, .intro { padding: var(--sp-7) var(--sp-5); text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--sp-4); }
.notice__text { font-family: var(--font-serif-ko); font-size: var(--fs-lg); line-height: 1.5; }
.intro__tagline { font-family: var(--font-serif-ko); font-weight: 700; font-size: var(--fs-h1); line-height: 1.35; letter-spacing: -0.02em; }
.intro__sub { font-family: var(--font-serif-ko); color: var(--ink-soft); }

/* ── ② 다른 엘리베이터의 향 ───────────────────── */
.others { padding: var(--sp-7) var(--sp-4) 0; }
.others__title {
  font-family: var(--font-serif-ko); font-weight: 700;
  font-size: var(--fs-lg); line-height: 1.4; letter-spacing: -0.01em;
  text-align: center; margin-bottom: var(--sp-5);
}
.others__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.other {
  display: grid; grid-template-columns: 76px 1fr; gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-4);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}
.other__thumb {
  width: 76px; height: 76px; border-radius: 50%; overflow: hidden;
  background: var(--tone); position: relative; color: var(--ink);
}
.other__thumb img { width: 100%; height: 100%; object-fit: cover; }
.other__thumb .diffuser-art { position: absolute; left: 50%; bottom: -6%; height: 96%; width: auto; transform: translateX(-50%); }
.other__body { align-self: center; min-width: 0; }
.other__en { font-family: var(--font-serif-en); font-weight: 600; font-size: var(--fs-lg); line-height: 1.2; }
.other__name { font-family: var(--font-serif-ko); font-weight: 700; font-size: 15px; line-height: 1.5; margin-top: 2px; }
.other__en + .other__name { font-weight: 400; color: var(--ink-soft); }
.other__notes { font-family: var(--font-sans); font-size: var(--fs-cap); color: var(--ink-mute); margin-left: var(--sp-2); }
.other__desc { font-size: 13px; line-height: 1.6; color: var(--ink-mute); margin-top: var(--sp-1); }
.other__where { grid-column: 1 / -1; padding-top: var(--sp-3); border-top: 1px solid var(--line-soft); }
.other__where .lift { white-space: normal; text-align: left; }

/* ── 바닥 ─────────────────────────────────── */
.foot { padding: var(--sp-7) var(--sp-5) calc(var(--sp-7) + env(safe-area-inset-bottom)); text-align: center; }
.foot__line { display: block; width: 32px; height: 1px; background: var(--ink-mute); margin: 0 auto var(--sp-4); opacity: .5; }
.foot p { font-family: var(--font-serif-en); font-size: var(--fs-sm); color: var(--ink-mute); letter-spacing: 0.04em; }

@media (min-width: 560px) {
  .hero { padding: 0; }
  .hero__tagline { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
