:root {
    --cream: #f8edd9;
    --paper: #f1dfbd;
    --paper-deep: #d7b985;
    --brown: #3b261d;
    --brown-soft: #5a3326;
    --orange: #d58a54;
    --red: #7f2d2a;
    --gray: #766d65;
    --shadow: rgba(51, 31, 22, .26);
    --radius: 28px;
    --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Noto Serif SC", "Songti SC", "STSong", Georgia, serif;
    color: var(--brown);
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 170, 94, .22), transparent 34%),
        radial-gradient(circle at 85% 10%, rgba(127, 45, 42, .18), transparent 28%),
        linear-gradient(115deg, #fbf4e5 0%, #ead0a6 44%, #cfa36e 100%);
    min-height: 100vh;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(0deg, rgba(60, 38, 29, .04) 0 1px, transparent 1px 4px),
        radial-gradient(circle at center, transparent 36%, rgba(45, 28, 20, .28) 100%);
    mix-blend-mode: multiply;
    z-index: 2;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
img { height: auto; }
.skip-link {
    position: absolute;
    left: -999px;
    top: 12px;
    padding: 10px 14px;
    background: var(--brown);
    color: var(--cream);
    z-index: 10;
}
.skip-link:focus { left: 12px; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 9;
    backdrop-filter: blur(18px);
    background: rgba(248, 237, 217, .86);
    border-bottom: 1px solid rgba(90, 51, 38, .16);
    box-shadow: 0 18px 38px rgba(51, 31, 22, .08);
}
.topbar, .main-nav, .fake-search, .section, .hero, .footer-grid, .breadcrumb {
    width: min(var(--max), calc(100% - 32px));
    margin-inline: auto;
}
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 0 10px;
}
.brand-logo img { filter: drop-shadow(0 8px 14px rgba(51, 31, 22, .22)); }
.domain-pill {
    border: 1px dashed rgba(90, 51, 38, .36);
    border-radius: 999px;
    padding: 8px 14px;
    background: rgba(255, 247, 229, .72);
    color: var(--brown-soft);
    font-size: 14px;
}
.main-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 8px 0 12px;
}
.main-nav a {
    white-space: nowrap;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--brown-soft);
    background: rgba(255, 247, 229, .34);
    border: 1px solid rgba(90, 51, 38, .08);
    transition: transform .22s ease, background .22s ease, color .22s ease;
}
.main-nav a:hover, .main-nav a.is-active {
    transform: translateY(-1px);
    background: var(--brown-soft);
    color: var(--cream);
}
.fake-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 0 0 16px;
}
.fake-search input {
    width: 100%;
    border: 1px solid rgba(90, 51, 38, .22);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(255, 247, 229, .78);
    color: var(--brown);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
}
.fake-search button, .btn, .play-button {
    border: 0;
    cursor: pointer;
    font-family: inherit;
    background: linear-gradient(135deg, var(--red), var(--orange));
    color: #fff7e7;
    border-radius: 18px;
    padding: 14px 18px;
    box-shadow: 0 16px 28px rgba(90, 51, 38, .24);
}
.search-hint {
    grid-column: 1 / -1;
    margin: -2px 0 0;
    font-size: 13px;
    color: var(--gray);
    opacity: .88;
}
.hero {
    min-height: 72vh;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
    gap: 38px;
    align-items: center;
    padding: 68px 0 52px;
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--red);
    background: rgba(255, 247, 229, .6);
    border: 1px solid rgba(127, 45, 42, .16);
    border-radius: 999px;
    padding: 8px 12px;
    letter-spacing: .08em;
    font-size: 14px;
}
h1, h2, h3, h4, h5, h6 { line-height: 1.25; margin: 0; }
h1 {
    font-size: clamp(42px, 7vw, 78px);
    letter-spacing: -0.04em;
    margin: 20px 0;
    color: var(--brown);
    text-shadow: 0 8px 18px rgba(51, 31, 22, .14);
}
.hero-copy p {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.9;
    max-width: 720px;
    color: #654434;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.btn.secondary {
    background: rgba(255, 247, 229, .78);
    color: var(--brown-soft);
    border: 1px solid rgba(90, 51, 38, .18);
}
.hero-photo, .photo-card {
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    border: 10px solid rgba(255, 247, 229, .68);
    box-shadow: 0 32px 68px var(--shadow);
    isolation: isolate;
}
.hero-photo::before, .photo-card::before, .video-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 18%, rgba(255, 194, 112, .36), transparent 30%),
        radial-gradient(circle at center, transparent 48%, rgba(43, 27, 19, .42) 100%);
    mix-blend-mode: screen;
    z-index: 2;
}
.hero-photo::after, .photo-card::after, .video-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 6px),
        repeating-linear-gradient(0deg, rgba(61,38,29,.08) 0 1px, transparent 1px 7px);
    opacity: .38;
    z-index: 3;
}
.hero-photo figcaption, .photo-card figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 4;
    padding: 12px 14px;
    border-radius: 16px;
    color: #fff4d9;
    background: rgba(59, 38, 29, .58);
    backdrop-filter: blur(10px);
    font-size: 14px;
}
.section { padding: 54px 0; position: relative; z-index: 3; }
.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.section-title { max-width: 760px; }
.section-title h2 { font-size: clamp(30px, 5vw, 48px); color: var(--brown); }
.section-title p { color: #6a4b3a; line-height: 1.8; font-size: 17px; }
.grid { display: grid; gap: 22px; }
.grid.cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel, .video-card, .story-card, .creator-card, .faq-item, .review-card, .contact-card {
    background: rgba(255, 247, 229, .68);
    border: 1px solid rgba(90, 51, 38, .14);
    border-radius: var(--radius);
    box-shadow: 0 24px 48px rgba(51, 31, 22, .1);
    overflow: hidden;
}
.video-card { transition: transform .25s ease, box-shadow .25s ease; }
.video-card:hover {
    transform: translateY(-7px) rotate(-.4deg);
    box-shadow: 0 34px 72px rgba(51, 31, 22, .2);
}
.video-frame {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #2b1a14;
    overflow: hidden;
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; filter: sepia(.18) saturate(.92) contrast(1.04); }
.play-button {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(.82);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 0;
    opacity: 0;
    z-index: 5;
    transition: opacity .22s ease, transform .22s ease;
}
.video-card:hover .play-button { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.film-dust {
    position: absolute;
    inset: -20%;
    z-index: 4;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(255,255,255,.55) 0 1px, transparent 1px),
        radial-gradient(circle, rgba(68,43,30,.36) 0 1px, transparent 1px);
    background-size: 14px 14px, 23px 23px;
    opacity: .12;
}
.video-card:hover .film-dust { animation: filmShake .38s steps(3) infinite; opacity: .32; }
@keyframes filmShake {
    0% { transform: translate(0, 0) rotate(0); }
    35% { transform: translate(-5px, 4px) rotate(.2deg); }
    70% { transform: translate(4px, -3px) rotate(-.2deg); }
    100% { transform: translate(0, 0) rotate(0); }
}
.video-body, .story-body, .creator-card, .faq-item, .review-card, .contact-card { padding: 20px; }
.video-body h3, .story-body h3, .creator-card h3 { font-size: 22px; margin-bottom: 10px; }
.video-body p, .story-body p, .creator-card p, .faq-item p, .review-card p, .contact-card p, .panel p { line-height: 1.78; color: #684838; }
.video-stats, .tag-row, .meta-row, .share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.video-stats span, .tag-row span, .meta-row span {
    font-size: 13px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(90, 51, 38, .08);
    color: var(--brown-soft);
}
.tag-row span { background: rgba(213, 138, 84, .18); color: var(--red); }
.story-card img, .photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.masonry {
    columns: 3 260px;
    column-gap: 22px;
}
.masonry .photo-card { margin: 0 0 22px; break-inside: avoid; }
.ai-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}
.creator-card { text-align: center; }
.creator-card img {
    width: 132px;
    height: 132px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 7px solid rgba(255, 247, 229, .76);
    box-shadow: 0 16px 32px rgba(51, 31, 22, .18);
}
.logo-wall {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}
.logo-wall span {
    min-height: 74px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    border: 1px dashed rgba(90, 51, 38, .25);
    background: rgba(255, 247, 229, .48);
    color: var(--brown-soft);
    font-weight: 700;
}
.faq-item h3 { font-size: 19px; margin-bottom: 10px; }
.review-card strong { color: var(--red); }
.breadcrumb {
    padding: 28px 0 0;
    font-size: 14px;
    color: var(--gray);
}
.page-hero {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    padding: 58px 0 28px;
    position: relative;
    z-index: 3;
}
.page-hero h1 { font-size: clamp(36px, 6vw, 62px); }
.page-hero p { max-width: 820px; color: #674735; line-height: 1.86; font-size: 18px; }
.article-list { display: grid; gap: 16px; }
.article-item {
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 247, 229, .58);
    border: 1px solid rgba(90, 51, 38, .12);
}
.article-item h2 { font-size: 24px; margin-bottom: 8px; }
.article-item p { line-height: 1.75; color: #654434; }
.site-footer {
    position: relative;
    z-index: 3;
    margin-top: 40px;
    padding: 44px 0;
    background: rgba(59, 38, 29, .94);
    color: #f8edd9;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr .8fr 1fr 1fr;
    gap: 26px;
}
.site-footer p { color: rgba(248, 237, 217, .78); line-height: 1.7; }
.site-footer h2 { font-size: 20px; margin-bottom: 12px; }
.footer-links { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.footer-links a, .share-row a {
    color: #f8edd9;
    border-bottom: 1px dotted rgba(248, 237, 217, .4);
}
.qr-wrap { display: flex; gap: 14px; flex-wrap: wrap; }
.qr-box {
    width: 110px;
    height: 110px;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--brown);
    background:
        linear-gradient(45deg, rgba(59,38,29,.18) 25%, transparent 25% 50%, rgba(59,38,29,.18) 50% 75%, transparent 75%),
        #f6e7cb;
    background-size: 14px 14px;
    border-radius: 18px;
    border: 8px solid rgba(255, 247, 229, .24);
    font-weight: 700;
}
@media (max-width: 980px) {
    .hero, .ai-band, .grid.two { grid-template-columns: 1fr; }
    .grid.cards, .grid.three, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { padding-top: 40px; }
}
@media (max-width: 640px) {
    .topbar { align-items: flex-start; flex-direction: column; }
    .fake-search { grid-template-columns: 1fr; }
    .grid.cards, .grid.three, .footer-grid, .logo-wall { grid-template-columns: 1fr; }
    .section-head { align-items: flex-start; flex-direction: column; }
    h1 { font-size: 42px; }
    .hero-photo { border-width: 6px; }
}

.stack-gap { margin-top: 22px; }
