/**
 * LoopStudio Phase 1 theme — layout IA for Landing / The Style / Neighbourhood.
 * Not pixel-perfect vs aruna. Tokens provisional until 阿成 brief.
 * Overlay on top of blueprint style.css when forked.
 */

:root {
  --ls-ink: #1a1a1a;
  --ls-muted: #6b6b6b;
  --ls-paper: #f7f5f2;
  --ls-accent: #2c5f6e;
  --ls-line: #e2ddd6;
  --ls-stub: #c8bfb4;
  --ls-max: 1120px;
  --ls-radius: 4px;
  --ls-font: "Helvetica Neue", Helvetica, Arial, "PingFang HK", "Noto Sans TC", sans-serif;
}

.ls-body {
  margin: 0;
  color: var(--ls-ink);
  font-family: var(--ls-font);
  background: #fff;
}

.fe-stub-banner {
  padding: 0.5rem 1rem;
  background: #fff8e1;
  border-bottom: 1px solid #f0e0a0;
  font-size: 0.85rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
  z-index: 100;
  background: #fff;
  padding: 0.5rem;
}

/* —— Header —— */
.ls-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,0.94); backdrop-filter: blur(6px); border-bottom: 1px solid var(--ls-line); }
.ls-topbar { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 1.5rem; font-size: 0.8rem; }
.ls-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 0.75rem; align-items: center; }
.ls-topbar a { color: var(--ls-ink); text-decoration: none; }
.ls-topbar .musicbtn { cursor: pointer; display: flex; }
.ls-topbar .music_on { display: none; }
.ls-topbar .music_on.show { display: block; }
.ls-topbar .music_off { display: none; }
.ls-topbar .music_off.show { display: block; }
.ls-topbar .Btn a {
  display: inline-block;
  border: 1px solid var(--ls-ink);
  padding: 0.35rem 0.9rem;
  text-decoration: none;
  color: var(--ls-ink);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.ls-navbar nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--ls-max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
}
.ls-logo-text {
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ls-ink);
  font-size: 1rem;
}
.ls-navbar .menubar {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.ls-navbar .menubar a {
  text-decoration: none;
  color: var(--ls-ink);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.ls-navbar .menubar a:hover { color: var(--ls-accent); }

@media (max-width: 768px) {
  .ls-navbar .menubar { gap: 0.75rem; font-size: 0.8rem; }
  .ls-topbar .right { display: none; }
}

/* —— Landing —— */
.ls-landing {
  min-height: calc(100vh - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, var(--ls-paper) 0%, #e8eef0 55%, #d5e0e4 100%);
  position: relative;
}
.ls-landing__kv {
  text-align: center;
  padding: 3rem 1.5rem 5rem;
  max-width: 40rem;
}
.ls-landing__name {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  font-weight: 500;
}
.ls-landing__tagline {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--ls-muted);
  margin: 0 0 1.5rem;
}
.ls-landing__stub-note,
.ls-stub-note {
  font-size: 0.75rem;
  color: var(--ls-stub);
  margin: 0.5rem 0 1.5rem;
}
.ls-btn {
  display: inline-block;
  background: var(--ls-ink);
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.6rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  border-radius: var(--ls-radius);
}
.ls-btn:hover { background: var(--ls-accent); }
.ls-landing .indicator {
  position: absolute;
  bottom: 1.5rem;
  left: 0;
  right: 0;
  text-align: center;
}
.ls-landing .indicator a { color: var(--ls-muted); text-decoration: none; font-size: 0.75rem; }
.ls-landing .disclaimerBtn {
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  font-size: 0.7rem;
}
.ls-landing .disclaimerBtn a { color: var(--ls-muted); text-decoration: none; display: flex; align-items: center; gap: 0.35rem; }

/* —— Shared section —— */
.ls-section-head {
  max-width: var(--ls-max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 1rem;
}
.ls-section-head h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin: 0 0 0.5rem;
}
.title_line {
  width: 3rem;
  height: 2px;
  background: var(--ls-accent);
  margin-bottom: 1rem;
}
.ls-lede { color: var(--ls-muted); max-width: 36rem; line-height: 1.6; }

/* —— The Style —— */
.ls-style { padding-bottom: 3rem; }
.ls-style__grid {
  max-width: var(--ls-max);
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (max-width: 640px) {
  .ls-style__grid { grid-template-columns: 1fr; }
}
.ls-style__card {
  margin: 0;
  background: var(--ls-paper);
  border: 1px solid var(--ls-line);
  overflow: hidden;
}
.ls-style__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.ls-style__ph {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(-45deg, #eee8e0, #eee8e0 8px, #e4ddd4 8px, #e4ddd4 16px);
  color: var(--ls-stub);
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}
.ls-style__card figcaption,
.caption {
  padding: 0.5rem 0.75rem;
  font-size: 0.7rem;
  color: var(--ls-muted);
}

/* —— Neighbourhood —— */
.ls-neighbourhood { padding-bottom: 3rem; }
.ls-neighbourhood__mood,
.ls-neighbourhood__map {
  max-width: var(--ls-max);
  margin: 0 auto;
  padding: 1rem 1.5rem 2rem;
}
.ls-neighbourhood h2 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 1rem;
}
.ls-mood-wall__stub {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 0.75rem;
}
@media (max-width: 640px) {
  .ls-mood-wall__stub { grid-template-columns: 1fr; }
}
.ls-mood-ph {
  min-height: 10rem;
  background: linear-gradient(135deg, #d9e2e6, #c5d0d4);
  border-radius: var(--ls-radius);
}
.ls-mood-ph--wide { background: linear-gradient(135deg, #cfd8c8, #b8c4b0); }

.ls-map-static,
.ls-map-embed {
  border: 1px solid var(--ls-line);
  background: var(--ls-paper);
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.ls-map-static img { max-width: 100%; height: auto; display: block; }
.ls-map-static--stub { min-height: 18rem; }

/* —— Sales skeleton (works without blueprint style.css) —— */
.ls-sales { max-width: var(--ls-max); margin: 0 auto; padding: 2rem 1.5rem 3rem; }
.ls-sales__title { font-size: 1.5rem; font-weight: 500; letter-spacing: 0.06em; }
.ls-sales .sale_menu {
  list-style: none;
  margin: 1rem 0 1.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  border-bottom: 1px solid var(--ls-line);
}
.ls-sales .sale_menu li {
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  color: var(--ls-muted);
}
.ls-sales .sale_menu li.actived { color: var(--ls-ink); border-bottom: 2px solid var(--ls-accent); }
.ls-sales .data-wp { display: none; padding: 1rem 0; }
.ls-sales .data-wp.active { display: block; }
.ls-sales .info_row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ls-line);
}
.ls-sales .default_option { display: none; }
@media (max-width: 640px) {
  .ls-sales .default_option { display: flex; list-style: none; padding: 0.75rem; border: 1px solid var(--ls-line); justify-content: space-between; }
  .ls-sales .sale_menu { flex-direction: column; }
}
