:root {
    --cream: #faf8f5;
    --brand-50: #fdf8f0;
    --brand-100: #f9eddb;
    --brand-200: #f1d9b6;
    --brand-500: #d4833a;
    --brand-600: #c06a2e;
    --brand-700: #a05229;
    --ink-900: #2a2320;
    --ink-700: #5b463a;
    --ink-500: #8a7d72;
    --ink-400: #a89b8e;
    --line: rgba(120, 96, 70, 0.10);
    --line-strong: rgba(120, 96, 70, 0.18);
    --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Helvetica Neue", system-ui, -apple-system, sans-serif;
    --shadow-card: 0 2px 8px rgba(80, 58, 36, 0.05), 0 28px 64px rgba(80, 58, 36, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--cream);
    color: var(--ink-500);
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
}
body.home-page {
    height: 100dvh;
    overflow: hidden;
    overscroll-behavior: none;
}

/* ---------- background decor ---------- */
.bg-decor span { position: fixed; pointer-events: none; z-index: 0; }
.bg-decor .b1,
.bg-decor .b2,
.bg-decor .b3 { border-radius: 50%; filter: blur(72px); opacity: 0.55; }
.b1 { width: 460px; height: 460px; top: -160px; right: -120px; background: radial-gradient(circle, #ffe9cc, transparent 70%); animation: drift 18s ease-in-out infinite; }
.b2 { width: 420px; height: 420px; bottom: -200px; left: -140px; background: radial-gradient(circle, #f7ddc0, transparent 70%); animation: drift 22s ease-in-out infinite reverse; }
.b3 { width: 320px; height: 320px; top: 40%; left: 46%; background: radial-gradient(circle, #fcecd2, transparent 70%); animation: drift 26s ease-in-out infinite; opacity: 0.4; }

.sparkle { font-size: 18px; color: var(--brand-200); opacity: 0.7; animation: twinkle 4s ease-in-out infinite; }
.s1 { top: 18%; left: 12%; animation-delay: 0s; }
.s2 { top: 30%; right: 16%; font-size: 14px; animation-delay: 1.2s; }
.s3 { bottom: 22%; left: 22%; font-size: 22px; animation-delay: 2.4s; }

@keyframes drift {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(24px, -28px); }
}
@keyframes twinkle {
    0%, 100% { opacity: 0.25; transform: scale(0.85); }
    50% { opacity: 0.85; transform: scale(1.15); }
}

/* ---------- nav ---------- */
.nav {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 40px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.brand { display: flex; min-width: 0; align-items: center; gap: 12px; }
.logo {
    width: 42px; height: 42px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
    color: #fffaf3;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px rgba(192, 106, 46, 0.24);
    font-size: 21px;
    font-weight: 900;
    line-height: 1;
}
.brand .name { min-width: 0; font-size: 18px; font-weight: 800; color: var(--ink-900); }
.nav-right { display: flex; align-items: center; gap: 18px; }
.brand-link,
.nav-link,
.card-link {
    text-decoration: none;
}
.nav-action {
    position: relative;
    display: inline-flex;
    min-width: 52px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    padding: 0 4px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    color: var(--ink-700);
    background: transparent;
    cursor: pointer;
    appearance: none;
    transition: color 0.16s ease, transform 0.16s ease;
}
.nav-action::after {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scaleX(0.45);
    transition: opacity 0.16s ease, transform 0.16s ease;
}
.nav-action:hover {
    color: var(--brand-700);
    transform: translateY(-1px);
}
.nav-action:hover::after {
    opacity: 0.28;
    transform: scaleX(1);
}
.nav-link {
    color: var(--ink-700);
}
.announce-trigger {
    color: var(--brand-700);
}
.announce-trigger:hover { color: var(--brand-600); }

/* ---------- homepage layout ---------- */
.main {
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 30px 28px 64px;
}
.home-main {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-height: 0;
    padding: 0 40px 24px;
}
.home-page .main {
    flex: 1 1 0;
    min-height: 0;
}
.home-page .footer {
    display: block;
    flex: none;
    padding: 4px 20px calc(20px + env(safe-area-inset-bottom));
    font-size: 11.5px;
    color: rgba(91, 70, 58, 0.42);
}

.home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.78fr);
    gap: clamp(38px, 5vw, 64px);
    align-items: center;
    min-height: 0;
    width: 100%;
    padding: clamp(10px, 2.5dvh, 18px) 0 clamp(18px, 4dvh, 30px);
}
.home-page .home-hero {
    min-height: 0;
}

.hero-content { width: min(760px, 100%); }

.pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--brand-700);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    padding: 8px 15px;
    border-radius: 999px;
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(44px, 5.4vw, 70px);
    line-height: 1.08;
    font-weight: 850;
    color: var(--ink-900);
    letter-spacing: 0;
    margin-bottom: 16px;
}

.hero-title .accent {
    background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    width: min(620px, 100%);
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink-700);
    margin-bottom: 0;
    overflow-wrap: anywhere;
}

.hero-query {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    width: min(700px, 100%);
    margin-top: 26px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow-card);
}

.field { margin: 0; }
.field input {
    width: 100%;
    height: 54px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--ink-900);
    background: #fff;
    border: 1.5px solid var(--line-strong);
    border-radius: 18px;
    padding: 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field input::placeholder { color: var(--ink-400); }
.field input:focus {
    outline: none;
    background: #fff;
    border-color: var(--brand-500);
    box-shadow: 0 0 0 4px rgba(212, 131, 58, 0.14);
}
.error {
    position: absolute;
    min-height: 18px;
    font-size: 12.5px;
    color: #d0492f;
    margin-top: 7px;
}

.btn {
    min-width: 132px;
    min-height: 54px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
    border: none;
    border-radius: 18px;
    padding: 0 24px;
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    box-shadow: 0 10px 24px rgba(192, 106, 46, 0.30);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(192, 106, 46, 0.36); filter: brightness(1.03); }
.btn:active:not(:disabled) { transform: translateY(0) scale(0.99); }
.btn:disabled { opacity: 0.8; cursor: progress; }

.hero-visual-rail {
    min-width: 0;
}
.hero-visual-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.hero-visual-track::-webkit-scrollbar { display: none; }
.hero-visual-card {
    flex: 0 0 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 32px;
    background: rgba(255, 253, 248, 0.94);
    color: inherit;
    scroll-snap-align: start;
    text-decoration: none;
    box-shadow: var(--shadow-card);
}

.hero-media {
    height: clamp(300px, 44dvh, 380px);
    background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
    overflow: hidden;
}
.hero-photo,
.product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 34%;
    display: block;
}
.hero-media img { transition: transform 320ms ease; }
.hero-visual-card:hover .hero-media img { transform: scale(1.025); }
.hero-preview-empty {
    display: grid;
    height: 100%;
    place-items: center;
    background: linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(245, 230, 212, 0.9));
}

.hero-card-body { padding: 24px 24px 26px; }
.hero-card-body h2 {
    font-size: 30px;
    line-height: 1.12;
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 8px;
}
.hero-card-body p {
    color: var(--ink-500);
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.card-link {
    display: inline-flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    border: 1px solid var(--brand-100);
    border-radius: 999px;
    padding: 0 17px;
    color: var(--brand-700);
    background: var(--brand-50);
    font-size: 13.5px;
    font-weight: 800;
    transition: border-color 0.16s ease, background 0.16s ease, transform 0.16s ease;
}
.card-link:hover {
    transform: translateY(-1px);
    border-color: var(--brand-200);
    background: #fff;
}
.hero-preview-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    min-height: 18px;
    margin-top: 11px;
}
.hero-preview-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 999px;
    padding: 0;
    background: rgba(160, 82, 41, 0.20);
    cursor: pointer;
    transition: width 0.18s ease, background 0.18s ease;
}
.hero-preview-dot.active {
    width: 18px;
    background: var(--brand-500);
}
.hero-preview-dot:only-child { display: none; }
.gallery-main {
    padding: 36px 40px 78px;
}
.gallery-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
    width: 100%;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--line);
    padding: 18px 0 26px;
}
.gallery-copy {
    width: min(840px, 100%);
}
.gallery-hero h1 {
    color: var(--ink-900);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.06;
    letter-spacing: 0;
    margin-bottom: 14px;
}
.gallery-hero p {
    width: min(620px, 100%);
    color: var(--ink-700);
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
.gallery-summary {
    display: grid;
    min-width: 160px;
    min-height: 96px;
    align-content: center;
    justify-items: center;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 16px 18px;
    background: rgba(255, 253, 248, 0.78);
}
.gallery-summary strong {
    color: var(--ink-900);
    font-size: 38px;
    line-height: 1;
}
.gallery-summary span {
    margin-top: 8px;
    color: var(--ink-500);
    font-size: 13px;
    font-weight: 800;
}
.gallery-list { padding-top: 0; }
.product-showcase { padding: 0 0 12px; }
.section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--brand-700);
    font-size: 13px;
    font-weight: 900;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
    align-items: stretch;
}
.product-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 10px 26px rgba(84, 58, 34, 0.09);
}
.product-photo {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f7ead9;
}
.product-photo img { transition: transform 260ms ease; }
.product-card:hover .product-photo img { transform: scale(1.025); }
.empty-photo {
    height: 100%;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--ink-400);
    text-align: center;
    background: linear-gradient(135deg, rgba(255, 248, 236, 0.96), rgba(245, 230, 212, 0.9));
}
.empty-photo strong {
    color: var(--ink-700);
    font-size: 16px;
}
.empty-mark {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    border: 1px solid var(--brand-200);
    border-radius: 18px;
    color: #fffaf3;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
    font-size: 34px;
    font-weight: 900;
}
.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px 24px 24px;
}
.product-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}
.product-body h3 {
    color: var(--ink-900);
    font-size: 26px;
    line-height: 1.12;
}
.product-index {
    flex: none;
    color: var(--brand-500);
    font-size: 13px;
    font-weight: 900;
}
.product-desc {
    margin: 12px 0 18px;
    color: var(--ink-700);
    line-height: 1.65;
    overflow-wrap: anywhere;
}
.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
}
.chip {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 10px;
    color: var(--ink-700);
    background: var(--brand-50);
    font-size: 12px;
    font-weight: 700;
}
.gallery-empty {
    display: grid;
    width: min(420px, 100%);
    place-items: center;
    margin: 36px auto 20px;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 36px 24px;
    background: rgba(255, 253, 248, 0.94);
    box-shadow: 0 10px 26px rgba(84, 58, 34, 0.09);
    text-align: center;
}
.gallery-empty h2 {
    color: var(--ink-900);
    font-size: 26px;
    line-height: 1.16;
}
.gallery-empty p {
    margin-top: 10px;
    color: var(--ink-500);
    line-height: 1.7;
}

.spinner {
    width: 16px; height: 16px;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    font-size: 12.5px;
    color: var(--ink-400);
    padding: 22px 20px 30px;
}

/* ---------- reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
    body.home-page {
        height: auto;
        min-height: 100dvh;
        overflow-y: auto;
    }
    .home-hero {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 34px;
        padding: 26px 0 36px;
    }
    .hero-content { text-align: center; margin: 0 auto; }
    .pill { margin-left: auto; margin-right: auto; }
    .hero-query { margin-left: auto; margin-right: auto; }
    .hero-visual-rail { max-width: 560px; margin: 0 auto; width: 100%; }
    .home-page .home-hero { min-height: auto; }
    .gallery-hero {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .gallery-summary {
        min-height: 82px;
        width: 100%;
        justify-items: start;
    }
    .gallery-summary strong { font-size: 32px; }
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
    .nav {
        display: flex;
        padding: 12px 18px 6px;
        gap: 14px;
        min-width: 0;
    }
    .main { padding: 16px 18px 48px; }
    .home-main {
        display: flex;
        align-items: center;
        padding-top: 0;
        padding-bottom: 0;
    }
    .brand { flex: 1 1 auto; justify-content: flex-start; gap: 10px; }
    .logo {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 19px;
    }
    .brand .name {
        overflow: hidden;
        font-size: 16px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .nav-right {
        display: flex;
        flex: none;
        width: auto;
        max-width: 100%;
        min-width: 0;
        margin-left: auto;
        justify-content: center;
        gap: 14px;
        overflow: hidden;
    }
    .nav-action {
        width: auto;
        max-width: 100%;
        min-width: 0;
        min-height: 44px;
        padding: 0 6px;
        font-size: 13px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .home-hero {
        gap: 18px;
        padding: 0 0 22px;
    }
    .pill { margin-bottom: 10px; }
    .hero-title {
        font-size: 32px;
        line-height: 1.12;
        margin-bottom: 12px;
    }
    .hero-sub {
        font-size: 15.5px;
        line-height: 1.62;
    }
    .hero-query { grid-template-columns: 1fr; }
    .hero-query {
        margin-top: 16px;
        padding: 8px;
        border-radius: 22px;
    }
    .hero-visual-rail {
        margin-top: 14px;
    }
    .field input {
        height: 50px;
        border-radius: 16px;
    }
    .btn { width: 100%; }
    .btn {
        min-height: 50px;
        border-radius: 16px;
    }
    .home-page .hero-visual-card {
        display: grid;
        grid-template-columns: 116px minmax(0, 1fr);
        align-items: stretch;
        border-radius: 20px;
        text-align: left;
    }
    .home-page .hero-media {
        height: 126px;
        min-height: 0;
    }
    .home-page .hero-photo {
        object-position: center 32%;
    }
    .home-page .hero-card-body {
        min-width: 0;
        padding: 14px 14px 13px;
    }
    .home-page .hero-card-body h2 {
        margin-bottom: 4px;
        font-size: 21px;
        line-height: 1.1;
    }
    .home-page .hero-card-body p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 13px;
        line-height: 1.45;
    }
    .home-page .hero-card-body .card-link { display: none; }
    .hero-preview-dots {
        min-height: 14px;
        margin-top: 7px;
    }
    .home-page .footer {
        padding: 6px 18px calc(18px + env(safe-area-inset-bottom));
    }
    .hero-visual-card { border-radius: 24px; }
    .hero-media { height: 260px; }
    .hero-card-body,
    .product-body { padding: 18px; }
    .gallery-main { padding: 18px 18px 44px; }
    .gallery-hero {
        margin-bottom: 22px;
        padding: 12px 0 20px;
        gap: 14px;
    }
    .gallery-hero h1 {
        font-size: 32px;
        line-height: 1.14;
        margin-bottom: 10px;
    }
    .gallery-hero p {
        font-size: 15px;
        line-height: 1.75;
    }
    .gallery-summary {
        min-height: 74px;
        border-radius: 18px;
        padding: 14px;
    }
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .product-card { border-radius: 22px; }
    .product-body h3 { font-size: 24px; }
}

@media (max-width: 380px) {
    .nav { padding: 10px 14px 6px; gap: 10px; }
    .main { padding-right: 14px; padding-left: 14px; }
    .gallery-main { padding-right: 14px; padding-left: 14px; }
    .logo { width: 36px; height: 36px; border-radius: 11px; font-size: 18px; }
    .brand .name { font-size: 15px; }
    .nav-right { gap: 10px; }
    .nav-action {
        padding: 0 3px;
        font-size: 12.5px;
    }
    .hero-title { font-size: 30px; }
    .hero-media { height: 240px; }
    .gallery-hero h1 { font-size: 30px; }
}

/* ---------- announcement modal ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(58, 42, 28, 0.45);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal {
    position: relative;
    width: 100%;
    max-width: 380px;
    max-height: 86dvh;
    overflow-y: auto;
    background: #fff;
    border-radius: 24px;
    padding: 26px 24px 24px;
    box-shadow: 0 30px 80px rgba(58, 42, 28, 0.34);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal-overlay.show .modal { transform: none; }
.modal-close {
    position: absolute;
    top: 14px; right: 16px;
    width: 30px; height: 30px;
    border: none;
    background: var(--brand-50);
    color: var(--ink-500);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}
.modal-close:hover { background: var(--brand-100); color: var(--ink-900); }
.modal-title {
    display: flex; align-items: center; gap: 8px;
    font-size: 19px; font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 6px;
}
.ann-greet { font-size: 13px; color: var(--brand-700); margin-bottom: 16px; }

.ann-section { margin-bottom: 14px; }
.ann-h {
    display: flex; align-items: center;
    font-size: 12.5px; font-weight: 700; color: var(--brand-700);
    margin-bottom: 8px;
}
.ann-h span { background: var(--brand-50); padding: 3px 12px; border-radius: 999px; border: 1px solid var(--brand-100); }
.qq {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-family: var(--font);
    text-align: left;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 13px;
    margin-bottom: 7px;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.12s ease;
}
.qq:hover { border-color: var(--brand-200); background: #fff; }
.qq:active { transform: scale(0.99); }
.qq.copied { border-color: var(--brand-500); background: var(--brand-50); }
.qq-name { font-size: 13px; color: var(--ink-900); font-weight: 500; }
.qq-name em { font-style: normal; font-size: 11px; color: var(--ink-400); margin-left: 6px; }
.qq-no { font-family: var(--mono, monospace); font-size: 13px; font-weight: 700; color: var(--brand-600); letter-spacing: 0.5px; flex-shrink: 0; }

.ann-notes { margin-top: 4px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.ann-warn { font-size: 12px; line-height: 1.55; color: #c0492f; margin-bottom: 6px; }
.ann-xhs { font-size: 12px; line-height: 1.55; color: var(--ink-500); }
.ann-xhs b { color: var(--brand-700); }
.qq-tip { text-align: center; font-size: 11.5px; color: var(--ink-400); margin: 14px 0 12px; }

.modal-ok {
    width: 100%;
    font-family: var(--font);
    font-size: 15px; font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-600));
    border: none;
    border-radius: 14px;
    padding: 13px;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(192, 106, 46, 0.30);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.modal-ok:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(192, 106, 46, 0.36); }

:root { --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, Menlo, Consolas, monospace; }

@media (max-width: 520px) {
    .announce-trigger { font-size: 13px; }
}

@media (max-height: 720px) and (min-width: 861px) {
    .nav { padding-top: 18px; padding-bottom: 14px; }
    .home-main { padding-bottom: 14px; }
    .pill { margin-bottom: 14px; }
    .hero-title {
        font-size: clamp(42px, 5vw, 62px);
        margin-bottom: 12px;
    }
    .hero-sub {
        font-size: 16px;
        line-height: 1.68;
    }
    .hero-query { margin-top: 18px; }
    .hero-media { height: 300px; }
    .hero-card-body { padding: 18px 20px 20px; }
    .hero-card-body h2 { font-size: 26px; }
    .card-link { margin-top: 12px; }
}

@media (max-height: 620px) and (min-width: 861px) {
    body.home-page {
        height: auto;
        min-height: 100dvh;
        overflow-y: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}
