/* 瑅海 ONE MARINA — Quiet Gallery / Soft Editorial (lm-) */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@300;400;500;600&display=swap');

:root {
    --lm-paper: #eef2f5;
    --lm-mist: #e4ebf1;
    --lm-ink: #1a222c;
    --lm-deep: #1c2836;
    --lm-muted: #5c6670;
    --lm-accent: #4a5d7a;
    --lm-sea: #6a879c;
    --lm-line: rgba(30, 35, 40, 0.12);
    --lm-line-soft: rgba(30, 35, 40, 0.07);
    --lm-white: #ffffff;
    --lm-radius: 8px;
    --lm-font: "Manrope", "PingFang TC", "Hiragino Sans GB", "Microsoft JhengHei", sans-serif;
    --lm-serif: "Instrument Serif", "Noto Serif TC", "Songti TC", Georgia, serif;
    --lm-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --lm-measure: 40rem;
    --lm-nav-h: 7.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
html, body { overflow-x: hidden; width: 100%; }
body {
    font-family: var(--lm-font);
    color: var(--lm-ink);
    background:
        radial-gradient(ellipse 90% 50% at 50% -10%, rgba(106, 135, 156, 0.12) 0%, transparent 55%),
        var(--lm-paper);
    line-height: 1.75;
    font-size: 1rem;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lm-accent); text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color 0.2s; }
a:hover { color: var(--lm-ink); }

.lm-wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.lm-measure { max-width: var(--lm-measure); margin-left: auto; margin-right: auto; }
.lm-bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

/* —— Masthead (centered magazine) —— */
.lm-masthead {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(238, 242, 245, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    box-shadow: none;
    transition: border-color 0.35s var(--lm-ease), background 0.35s, box-shadow 0.35s;
}
.lm-masthead.is-scrolled {
    border-bottom-color: var(--lm-line);
    background: rgba(238, 242, 245, 0.97);
    box-shadow: 0 8px 28px rgba(28, 40, 54, 0.06);
}
.lm-masthead-inner {
    max-width: 72rem; margin: 0 auto; padding: 1rem 1.5rem 0.85rem;
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.65rem;
}
.lm-brand {
    text-decoration: none; color: var(--lm-ink);
    font-family: var(--lm-serif); font-weight: 400; font-size: 1.85rem;
    letter-spacing: 0.08em; line-height: 1.1;
}
.lm-brand span {
    display: block; margin-top: 0.2rem;
    font-family: var(--lm-font); font-size: 0.62rem; font-weight: 500;
    letter-spacing: 0.28em; text-transform: uppercase; color: var(--lm-muted);
}
.lm-nav-toggle {
    display: none; position: absolute; top: 1rem; right: 1rem;
    width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer;
    align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.lm-nav-toggle span { width: 18px; height: 1.5px; background: var(--lm-ink); transition: 0.25s; }
.lm-menu {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    list-style: none; gap: 0.15rem 1.15rem; padding-bottom: 0.15rem;
}
.lm-menu a {
    text-decoration: none; color: var(--lm-muted);
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em;
    padding: 0.35rem 0; min-height: 40px; display: inline-flex; align-items: center;
}
.lm-menu a:hover, .lm-menu a.is-active { color: var(--lm-ink); }
.lm-menu a.lm-nav-cta {
    color: var(--lm-accent);
    border-bottom: 1px solid var(--lm-accent);
    padding-bottom: 0.1rem;
}
.lm-menu a.lm-nav-cta:hover { color: var(--lm-ink); border-bottom-color: var(--lm-ink); }

/* —— Notice strip —— */
.lm-notice {
    text-align: center; font-size: 0.82rem; color: var(--lm-muted);
    padding: 0.7rem 1.25rem; border-bottom: 1px solid var(--lm-line-soft);
    letter-spacing: 0.04em;
}
.lm-notice strong { color: var(--lm-ink); font-weight: 600; }
.lm-notice a { text-decoration: none; border-bottom: 1px solid currentColor; }

/* —— Buttons —— */
.lm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.75rem 1.35rem; border-radius: var(--lm-radius);
    font-family: inherit; font-size: 0.84rem; font-weight: 500;
    letter-spacing: 0.06em; text-decoration: none; cursor: pointer;
    min-height: 46px; border: 1px solid transparent;
    transition: background 0.25s var(--lm-ease), color 0.25s, border-color 0.25s;
}
.lm-btn-ink {
    background: var(--lm-ink); color: var(--lm-white); border-color: var(--lm-ink);
}
.lm-btn-ink:hover { background: var(--lm-accent); border-color: var(--lm-accent); color: var(--lm-white); }
.lm-btn-outline {
    background: transparent; color: var(--lm-ink); border-color: rgba(30, 35, 40, 0.35);
}
.lm-btn-outline:hover { border-color: var(--lm-ink); color: var(--lm-ink); }
.lm-btn-ghost {
    background: transparent; color: var(--lm-accent); border-color: transparent;
    padding-left: 0.4rem; padding-right: 0.4rem;
    text-decoration: underline; text-underline-offset: 0.2em;
}
.lm-btn-ghost:hover { color: var(--lm-ink); }
.lm-btn-light {
    background: #fff; color: var(--lm-ink); border-color: #fff;
}
.lm-btn-light:hover { background: rgba(255,255,255,0.88); color: var(--lm-ink); }
.lm-btn-ghost-light {
    background: transparent; color: #fff; border-color: rgba(255,255,255,0.45);
}
.lm-btn-ghost-light:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,0.08); }
.lm-btn-wechat { background: #07C160; color: #fff; border-color: #07C160; }
.lm-btn-wechat:hover { background: #06a952; color: #fff; }
.lm-btn-wa { background: transparent; color: #1f6b4a; border-color: rgba(31, 107, 74, 0.45); }
.lm-btn-wa:hover { border-color: #1f6b4a; color: #145239; }
.lm-btn-wa-on-dark {
    background: #25D366; color: #fff; border-color: #25D366;
}
.lm-btn-wa-on-dark:hover { background: #1ebe57; color: #fff; }
.lm-text-link {
    color: var(--lm-accent); font-weight: 500; text-decoration: none;
    border-bottom: 1px solid rgba(74, 93, 122, 0.4);
}
.lm-text-link:hover { color: var(--lm-ink); border-bottom-color: var(--lm-ink); }

.lm-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }

/* —— Full-bleed brand hero —— */
.lm-hero-bleed {
    position: relative;
    min-height: calc(100svh - var(--lm-nav-h) - 2.6rem);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #1a2430;
}
.lm-hero-bleed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.lm-hero-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(26, 36, 48, 0.28) 0%, rgba(26, 36, 48, 0.22) 38%, rgba(26, 36, 48, 0.82) 100%),
        radial-gradient(ellipse 80% 55% at 70% 20%, rgba(106, 135, 156, 0.22) 0%, transparent 60%);
}
.lm-hero-copy {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 44rem;
    margin: 0 auto;
    padding: 3.5rem 1.5rem 3.25rem;
    text-align: center;
    color: #fff;
}
.lm-hero-brand {
    font-family: var(--lm-serif);
    font-weight: 400;
    font-size: clamp(3.2rem, 11vw, 5.4rem);
    letter-spacing: 0.1em;
    line-height: 1.05;
    margin-bottom: 0.35rem;
}
.lm-hero-meta {
    font-size: 0.78rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.45rem;
}
.lm-hero-dev {
    font-size: 0.68rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.35rem;
}
.lm-hero-line {
    font-family: var(--lm-serif);
    font-weight: 400;
    font-size: clamp(1.35rem, 3.4vw, 1.9rem);
    line-height: 1.3;
    margin-bottom: 0.75rem;
}
.lm-hero-support {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    font-weight: 300;
}
.lm-hero-copy .lm-actions { justify-content: center; margin-bottom: 1.25rem; }
.lm-hero-caption {
    font-family: var(--lm-serif);
    font-style: italic;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.42);
}
.lm-hero-anim {
    opacity: 0;
    transform: translateY(18px);
    animation: lmFadeUp 0.9s var(--lm-ease) forwards;
}
.lm-hero-brand.lm-hero-anim { animation-delay: 0.05s; }
.lm-hero-meta.lm-hero-anim { animation-delay: 0.14s; }
.lm-hero-dev.lm-hero-anim { animation-delay: 0.2s; }
.lm-hero-line.lm-hero-anim { animation-delay: 0.28s; }
.lm-hero-support.lm-hero-anim { animation-delay: 0.36s; }
.lm-hero-copy .lm-actions.lm-hero-anim { animation-delay: 0.44s; }
.lm-hero-caption.lm-hero-anim { animation-delay: 0.55s; }
@keyframes lmFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.lm-section {
    padding: 4.5rem 0;
    border-top: 1px solid var(--lm-line);
}
.lm-section-mist {
    background:
        linear-gradient(180deg, rgba(228, 235, 241, 0.95) 0%, rgba(238, 242, 245, 0.4) 100%);
    border-top-color: rgba(74, 93, 122, 0.12);
}
.lm-section-head {
    max-width: var(--lm-measure); margin: 0 auto 1.75rem; padding: 0 1.25rem;
}
.lm-num {
    display: block; font-family: var(--lm-serif); font-size: clamp(2.6rem, 6vw, 4rem);
    line-height: 1; color: var(--lm-accent); opacity: 0.45; margin-bottom: 0.55rem;
    letter-spacing: -0.02em;
}
.lm-kicker {
    font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--lm-muted); margin-bottom: 0.55rem; font-weight: 500;
}
.lm-title {
    font-family: var(--lm-serif); font-weight: 400;
    font-size: clamp(1.65rem, 3.5vw, 2.25rem); line-height: 1.2; margin-bottom: 0.85rem;
}
.lm-lead {
    color: var(--lm-muted); font-size: 1.02rem; max-width: var(--lm-measure);
}
.lm-lead strong, .lm-prose strong { color: var(--lm-ink); font-weight: 600; }
.lm-prose {
    max-width: var(--lm-measure); margin: 0 auto; padding: 0 1.25rem;
    color: var(--lm-muted); font-size: 1.02rem;
}
.lm-prose p + p { margin-top: 1rem; }
.lm-prose + .lm-actions, .lm-lead + .lm-actions { margin-top: 1.25rem; }

.lm-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.85s var(--lm-ease), transform 0.85s var(--lm-ease);
}
.lm-reveal.is-in { opacity: 1; transform: none; }
.lm-reveal:nth-child(odd).is-in { transition-delay: 0.04s; }
.lm-reveal:nth-child(even).is-in { transition-delay: 0.1s; }

/* Full-width visual break */
.lm-break {
    position: relative;
    width: 100%;
    max-height: min(42vh, 380px);
    overflow: hidden;
    border-top: 1px solid var(--lm-line);
    border-bottom: 1px solid var(--lm-line);
}
.lm-break img {
    width: 100%;
    height: min(42vh, 380px);
    object-fit: cover;
    filter: saturate(0.92) contrast(1.02);
}
.lm-break-label {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    font-family: var(--lm-serif);
    font-style: italic;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}
.lm-still {
    max-width: 58rem;
    margin: 1.15rem auto 0;
    padding: 0 1.25rem;
}
.lm-still img {
    width: 100%;
    border-radius: var(--lm-radius);
    border: 1px solid var(--lm-line);
    cursor: zoom-in;
}

/* —— Facts / numerals —— */
.lm-facts {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--lm-line); border: 1px solid var(--lm-line);
    border-radius: var(--lm-radius); overflow: hidden;
    max-width: 58rem; margin: 0 auto;
}
.lm-fact {
    background: var(--lm-paper); padding: 1.35rem 1rem; text-align: center;
}
.lm-fact strong {
    display: block; font-family: var(--lm-serif); font-size: 1.65rem;
    font-weight: 400; color: var(--lm-ink); line-height: 1.2; margin-bottom: 0.35rem;
}
.lm-fact span { font-size: 0.75rem; color: var(--lm-muted); letter-spacing: 0.04em; }

.lm-points {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
    max-width: var(--lm-measure); margin: 1.5rem auto 0; padding: 0 1.25rem;
}
.lm-points article {
    padding: 1.1rem 0; border-top: 1px solid var(--lm-line);
}
.lm-points strong {
    display: block; font-family: var(--lm-serif); font-size: 1.45rem;
    font-weight: 400; margin-bottom: 0.25rem;
}
.lm-points span { font-size: 0.84rem; color: var(--lm-muted); }

.lm-timeline {
    max-width: var(--lm-measure); margin: 1.75rem auto 0; padding: 0 1.25rem;
    display: grid; gap: 0;
}
.lm-timeline article {
    display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem;
    padding: 1.1rem 0; border-top: 1px solid var(--lm-line);
}
.lm-timeline .lm-when {
    font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--lm-accent); padding-top: 0.25rem;
}
.lm-timeline strong { display: block; font-weight: 600; margin-bottom: 0.25rem; color: var(--lm-ink); }
.lm-timeline p { font-size: 0.92rem; color: var(--lm-muted); }

.lm-steps { list-style: none; max-width: var(--lm-measure); margin: 0 auto; padding: 0 1.25rem; }
.lm-steps li {
    display: grid; grid-template-columns: 3rem 1fr; gap: 1rem;
    padding: 1.25rem 0; border-top: 1px solid var(--lm-line);
}
.lm-steps li > span {
    font-family: var(--lm-serif); font-size: 1.35rem; color: var(--lm-accent); opacity: 0.55;
}
.lm-steps strong { display: block; color: var(--lm-ink); margin-bottom: 0.3rem; font-weight: 600; }
.lm-steps p { color: var(--lm-muted); font-size: 0.95rem; }

/* —— Media —— */
.lm-media {
    max-width: 58rem; margin: 1.5rem auto 0; padding: 0 1.25rem;
}
.lm-media video, .lm-media iframe {
    width: 100%; border-radius: var(--lm-radius); border: 1px solid var(--lm-line);
    background: #111;
}
.lm-media video { aspect-ratio: 16 / 9; object-fit: contain; background: #111; }
.lm-media--harbour video {
  aspect-ratio: 2.5 / 1;
  object-fit: contain;
  width: 100%;
  height: auto;
  background: #111;
}
.lm-media-caption {
    margin-top: 0.65rem; text-align: center;
    font-size: 0.78rem; color: var(--lm-muted); font-family: var(--lm-serif); font-style: italic;
}

.lm-pair {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
    max-width: 58rem; margin: 1.5rem auto 0; padding: 0 1.25rem;
}
.lm-pair article {
    border-top: 1px solid var(--lm-line); padding-top: 1rem;
}
.lm-pair h3 {
    font-family: var(--lm-serif); font-weight: 400; font-size: 1.25rem; margin-bottom: 0.35rem;
}
.lm-pair p { font-size: 0.88rem; color: var(--lm-muted); margin-bottom: 0.85rem; }
.lm-pair img {
    width: 100%; border-radius: var(--lm-radius); border: 1px solid var(--lm-line); cursor: zoom-in;
}

.lm-docs {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0;
    max-width: var(--lm-measure); margin: 1.5rem auto 0; padding: 0 1.25rem;
    border-top: 1px solid var(--lm-line);
}
.lm-doc {
    padding: 1.35rem 0; border-bottom: 1px solid var(--lm-line);
}
.lm-doc:nth-child(odd) { padding-right: 1.25rem; }
.lm-doc:nth-child(even) { padding-left: 1.25rem; border-left: 1px solid var(--lm-line); }
.lm-doc-tag {
    display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--lm-muted); margin-bottom: 0.4rem;
}
.lm-doc h3 {
    font-family: var(--lm-serif); font-weight: 400; font-size: 1.2rem; margin-bottom: 0.4rem;
}
.lm-doc p { font-size: 0.88rem; color: var(--lm-muted); margin-bottom: 0.85rem; }

/* —— Page chrome —— */
.lm-page-hero {
    padding: 2.75rem 0 2rem; text-align: center;
    border-bottom: 1px solid var(--lm-line);
}
.lm-crumb {
    font-size: 0.75rem; color: var(--lm-muted); letter-spacing: 0.06em; margin-bottom: 0.85rem;
}
.lm-crumb a { text-decoration: none; color: var(--lm-muted); }
.lm-crumb a:hover { color: var(--lm-ink); }
.lm-crumb span { margin: 0 0.4rem; opacity: 0.5; }
.lm-page-hero h1 {
    font-family: var(--lm-serif); font-weight: 400;
    font-size: clamp(1.85rem, 4vw, 2.6rem); line-height: 1.2; margin-bottom: 0.5rem;
}
.lm-page-hero .lm-sub { color: var(--lm-muted); font-size: 0.98rem; }

.lm-main { padding: 2.75rem 0 4rem; }
.lm-box {
    max-width: var(--lm-measure); margin: 0 auto 2rem; padding: 1.35rem 0;
    border-top: 1px solid var(--lm-line); border-bottom: 1px solid var(--lm-line);
    color: var(--lm-muted); font-size: 1.02rem;
}
.lm-box strong { color: var(--lm-ink); }
.lm-h2 {
    font-family: var(--lm-serif); font-weight: 400; font-size: 1.55rem;
    max-width: var(--lm-measure); margin: 0 auto 1rem; padding: 0 1.25rem;
}
.lm-note {
    max-width: var(--lm-measure); margin: 0 auto 1.25rem; padding: 0 1.25rem;
    font-size: 0.88rem; color: var(--lm-muted);
}

.lm-info-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    max-width: var(--lm-measure); margin: 0 auto 2rem; padding: 0 1.25rem;
    border-top: 1px solid var(--lm-line);
}
.lm-info-item {
    padding: 1rem 0; border-bottom: 1px solid var(--lm-line);
}
.lm-info-item:nth-child(odd) { padding-right: 1rem; }
.lm-info-item:nth-child(even) { padding-left: 1rem; border-left: 1px solid var(--lm-line-soft); }
.lm-info-item strong {
    display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--lm-muted); font-weight: 500; margin-bottom: 0.3rem;
}
.lm-info-item span { color: var(--lm-ink); font-size: 0.95rem; }

.lm-unit { max-width: 58rem; margin: 0 auto 3rem; padding: 0 1.25rem; }
.lm-unit h2 {
    font-family: var(--lm-serif); font-weight: 400; font-size: 1.55rem;
    margin-bottom: 0.75rem; padding-top: 0.5rem; border-top: 1px solid var(--lm-line);
}
.lm-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 0.85rem; }
.lm-tag {
    font-size: 0.72rem; letter-spacing: 0.06em; color: var(--lm-muted);
    border: 1px solid var(--lm-line); border-radius: 999px; padding: 0.25rem 0.7rem;
}
.lm-tag-accent { color: var(--lm-accent); border-color: rgba(74, 93, 122, 0.35); }
.lm-stack { display: grid; gap: 0.85rem; margin-top: 1rem; }
.lm-stack img, .lm-unit > img {
    width: 100%; border-radius: var(--lm-radius); border: 1px solid var(--lm-line); cursor: zoom-in;
}
.lm-gallery {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.65rem; margin-top: 1rem;
}
.lm-gallery img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: var(--lm-radius); border: 1px solid var(--lm-line); cursor: zoom-in;
}

.lm-showflat-nav {
    display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; justify-content: center;
    max-width: var(--lm-measure); margin: 0 auto 2rem; padding: 0 1.25rem;
}
.lm-showflat-nav a {
    font-size: 0.84rem; text-decoration: none; color: var(--lm-muted);
    border-bottom: 1px solid transparent;
}
.lm-showflat-nav a:hover { color: var(--lm-ink); border-bottom-color: var(--lm-ink); }

.lm-pdf-actions {
    display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: center;
    max-width: var(--lm-measure); margin: 0 auto 1.25rem; padding: 0 1.25rem;
}
.lm-pdf-embed {
    display: block; width: 100%; max-width: 58rem; margin: 0 auto 1.5rem;
    height: min(78vh, 920px); border: 1px solid var(--lm-line); border-radius: var(--lm-radius);
    background: var(--lm-white);
}

.lm-table-wrap {
    max-width: var(--lm-measure); margin: 0 auto 1.5rem; padding: 0 1.25rem; overflow-x: auto;
}
.lm-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.lm-table th, .lm-table td {
    text-align: left; padding: 0.85rem 0.5rem; border-bottom: 1px solid var(--lm-line);
}
.lm-table th {
    font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--lm-muted); font-weight: 500;
}

.lm-faq { max-width: var(--lm-measure); margin: 0 auto; padding: 0 1.25rem; }
.lm-faq-item { border-top: 1px solid var(--lm-line); }
.lm-faq-item:last-child { border-bottom: 1px solid var(--lm-line); }
.lm-faq-q {
    width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
    font-family: inherit; font-size: 1.02rem; font-weight: 500; color: var(--lm-ink);
    padding: 1.15rem 1.5rem 1.15rem 0; position: relative;
}
.lm-faq-q::after {
    content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    font-family: var(--lm-serif); font-size: 1.35rem; color: var(--lm-accent); opacity: 0.6;
}
.lm-faq-item.is-open .lm-faq-q::after { content: "–"; }
.lm-faq-a {
    display: none; padding: 0 0 1.25rem; color: var(--lm-muted); font-size: 0.98rem;
}
.lm-faq-item.is-open .lm-faq-a { display: block; }

/* —— Deep close (single ending) —— */
.lm-close {
    background:
        radial-gradient(ellipse 70% 60% at 50% 0%, rgba(106, 135, 156, 0.28) 0%, transparent 55%),
        var(--lm-deep);
    color: #fff;
    text-align: center;
    padding: 4.25rem 1.5rem;
}
.lm-close h2 {
    font-family: var(--lm-serif); font-weight: 400;
    font-size: clamp(1.7rem, 3.5vw, 2.2rem); margin-bottom: 0.55rem;
}
.lm-close p {
    color: rgba(255, 255, 255, 0.72); margin-bottom: 1.35rem; font-size: 0.98rem;
}
.lm-close a { color: rgba(255, 255, 255, 0.9); }
.lm-close .lm-actions { justify-content: center; }

/* Legacy CTA/ribbon kept for inner pages if present */
.lm-cta {
    max-width: var(--lm-measure); margin: 3rem auto 0; padding: 2.25rem 1.25rem;
    text-align: center; border-top: 1px solid var(--lm-line); border-bottom: 1px solid var(--lm-line);
}
.lm-cta h2 {
    font-family: var(--lm-serif); font-weight: 400; font-size: 1.75rem; margin-bottom: 0.5rem;
}
.lm-cta p { color: var(--lm-muted); margin-bottom: 1.15rem; font-size: 0.95rem; }
.lm-cta .lm-actions { justify-content: center; }
.lm-ribbon {
    border-top: 1px solid var(--lm-line);
    background: rgba(255, 255, 255, 0.45);
}
.lm-ribbon-inner {
    max-width: 72rem; margin: 0 auto; padding: 1rem 1.5rem;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
    font-size: 0.84rem; color: var(--lm-muted);
}
.lm-ribbon strong { color: var(--lm-ink); font-weight: 600; margin-right: 0.35rem; }
.lm-ribbon a { text-decoration: none; color: var(--lm-accent); }
.lm-ribbon a:hover { color: var(--lm-ink); }
.lm-ribbon-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.lm-footer {
    padding: 2.25rem 0 2.75rem; border-top: 1px solid var(--lm-line-soft);
    background: rgba(255, 255, 255, 0.35);
}
.lm-footer-grid {
    max-width: 72rem; margin: 0 auto 1.5rem; padding: 0 1.5rem;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem;
    font-size: 0.88rem; color: var(--lm-muted);
}
.lm-footer-grid strong {
    display: block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--lm-accent); font-weight: 500; margin-bottom: 0.35rem;
}
.lm-footer-grid a { color: var(--lm-ink); text-decoration: none; }
.lm-footer-grid a:hover { color: var(--lm-accent); }
.lm-footer-copy {
    max-width: 72rem; margin: 0 auto; padding: 1.25rem 1.5rem 0;
    border-top: 1px solid var(--lm-line-soft);
    font-size: 0.78rem; color: var(--lm-muted); line-height: 1.65;
}
.lm-footer-copy a { color: var(--lm-muted); }
.lm-footer-copy a:hover { color: var(--lm-ink); }

/* —— Float chat: 右中下 —— */
.lm-corner {
    position: fixed;
    top: 62%;
    right: 1.25rem;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.lm-corner-btn {
    width: 52px; height: 52px; border-radius: 50%;
    border: none;
    box-shadow: 0 8px 24px rgba(30, 35, 40, 0.18);
    display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
    transition: transform 0.25s var(--lm-ease), box-shadow 0.25s;
    text-decoration: none;
}
.lm-corner-btn:hover { transform: scale(1.06); box-shadow: 0 10px 28px rgba(30, 35, 40, 0.22); }
.lm-corner-btn img { width: 28px; height: 28px; }
.lm-corner-wechat { background: #07C160; }
.lm-corner-wa { background: #25D366; }
.lm-corner-wa svg { width: 26px; height: 26px; fill: #fff; }

/* —— Modals —— */
.lm-modal-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(30, 35, 40, 0.42);
    display: none; align-items: center; justify-content: center; padding: 1.25rem;
}
.lm-modal-overlay.is-show { display: flex; }
.lm-modal {
    background: var(--lm-paper); border-radius: var(--lm-radius);
    border: 1px solid var(--lm-line); max-width: 22rem; width: 100%;
    padding: 1.75rem 1.5rem 1.5rem; text-align: center; position: relative;
}
.lm-modal h3 {
    font-family: var(--lm-serif); font-weight: 400; font-size: 1.45rem; margin-bottom: 0.45rem;
}
.lm-modal p { font-size: 0.88rem; color: var(--lm-muted); margin-bottom: 1rem; }
.lm-modal img { margin: 0 auto 0.5rem; border-radius: 6px; }
.lm-modal-close {
    position: absolute; top: 0.5rem; right: 0.65rem;
    border: 0; background: none; font-size: 1.5rem; line-height: 1;
    color: var(--lm-muted); cursor: pointer; width: 40px; height: 40px;
}
.lm-modal-actions { display: flex; flex-direction: column; gap: 0.55rem; }
.lm-modal-actions .lm-btn { width: 100%; }

/* —— Lightbox —— */
.lm-lightbox {
    position: fixed; inset: 0; z-index: 3000;
    background: rgba(30, 35, 40, 0.88);
    display: none; align-items: center; justify-content: center; padding: 1.5rem;
}
.lm-lightbox.is-show { display: flex; flex-direction: column; }
.lm-lightbox img {
    max-width: min(96vw, 1100px); max-height: 82vh; width: auto; height: auto;
    border-radius: var(--lm-radius);
}
.lm-lightbox-close {
    position: absolute; top: 1rem; right: 1rem;
    border: 0; background: none; color: #fff; font-size: 2rem; cursor: pointer;
    width: 48px; height: 48px;
}
.lm-lightbox-hint { color: rgba(255,255,255,0.65); font-size: 0.8rem; margin-top: 0.85rem; }
.lm-zoomable { cursor: zoom-in; }

@media (max-width: 900px) {
    .lm-facts { grid-template-columns: repeat(2, 1fr); }
    .lm-pair, .lm-docs, .lm-info-grid { grid-template-columns: 1fr; }
    .lm-footer-grid { grid-template-columns: 1fr 1fr; }
    .lm-doc:nth-child(odd), .lm-doc:nth-child(even),
    .lm-info-item:nth-child(odd), .lm-info-item:nth-child(even) {
        padding-left: 0; padding-right: 0; border-left: 0;
    }
}

@media (max-width: 768px) {
    .lm-corner { top: 62%; right: 0.85rem; }
    .lm-masthead-inner { padding-top: 0.85rem; align-items: stretch; }
    .lm-brand { font-size: 1.55rem; }
    .lm-nav-toggle { display: inline-flex; }
    .lm-menu {
        display: none; flex-direction: column; gap: 0; width: 100%;
        border-top: 1px solid var(--lm-line); padding: 0.5rem 0 0.75rem;
    }
    .lm-menu.is-open { display: flex; }
    .lm-menu a { justify-content: center; min-height: 44px; width: 100%; }
    .lm-points { grid-template-columns: 1fr; }
    .lm-timeline article { grid-template-columns: 1fr; gap: 0.25rem; }
    .lm-gallery { grid-template-columns: 1fr; }
    .lm-ribbon-inner { flex-direction: column; text-align: center; }
    .lm-ribbon-actions { justify-content: center; }
    .lm-section { padding: 3.25rem 0; }
    .lm-footer-grid { grid-template-columns: 1fr; gap: 1rem; }
    .lm-close { padding: 3.25rem 1.15rem; }
    .lm-break { max-height: 28vh; }
    .lm-break img { height: 28vh; }

    /* 手机竖屏：品牌文案在上、影片完整在下，勿 cover 裁切 */
    .lm-hero-bleed {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        overflow: visible;
        background: #1a2430;
    }
    .lm-hero-bleed video {
        position: relative;
        inset: auto;
        order: 2;
        width: 100%;
        height: auto;
        max-height: none;
        aspect-ratio: 16 / 9;
        object-fit: contain;
        background: #000;
        z-index: 0;
    }
    .lm-hero-shade { display: none; }
    .lm-hero-copy {
        position: relative;
        order: 1;
        z-index: 2;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 1.5rem 1.15rem 1.35rem;
        background: linear-gradient(180deg, #243244 0%, #1a2430 100%);
        text-align: center;
    }
    .lm-hero-brand { font-size: clamp(2.5rem, 13vw, 3.3rem); margin-bottom: 0.2rem; }
    .lm-hero-meta { margin-bottom: 0.3rem; }
    .lm-hero-dev { margin-bottom: 0.95rem; }
    .lm-hero-line { font-size: clamp(1.15rem, 4.8vw, 1.4rem); max-width: none; }
    .lm-hero-support { font-size: 0.9rem; max-width: none; margin-bottom: 1.15rem; }
    .lm-hero-copy .lm-actions { width: 100%; margin-bottom: 0.85rem; }
    .lm-hero-copy .lm-actions .lm-btn {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
        padding-left: 0.7rem;
        padding-right: 0.7rem;
        font-size: 0.8rem;
    }
    .lm-hero-caption { margin-top: 0.15rem; }
}
