:root {
    --ink: #2a1d0c;
    --ink-soft: #4a3a22;
    --ink-muted: #6b5738;
    --sand-bg: #deb76e;        
    --sand-bg-deep: #d3ba8b;   
    --sand-soft: #fbfaf9;      
    --sand-card: #f2ead4;      
    --sand-mask: #e8ddc2;      
    --cream: #f3ead8;
    --gold: #b08a48;
    --gold-deep: #8a6a33;
    --gold-light: #d4b678;
    --teal: #2c7873;
    --brown-deep: #553b08;
    --brown-ink: #3a2a14;
    --sand: #c9a86c;
    --shadow-sm: 0 6px 18px rgba(58, 42, 20, 0.12);
    --shadow-md: 0 16px 40px rgba(58, 42, 20, 0.20);
    --shadow-lg: 0 28px 70px rgba(42, 29, 12, 0.30);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

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

html { scroll-behavior: smooth; }

body {
    color: var(--ink);
    line-height: 1.7;
    font-family: 'Playfair Display SC', 'Songti SC', 'Noto Serif SC', serif;
    background-color: var(--sand-bg);
    background-image:
        radial-gradient(circle at 18% 8%, rgba(255, 244, 220, 0.35), transparent 42%),
        radial-gradient(circle at 88% 22%, rgba(138, 106, 51, 0.12), transparent 50%),
        linear-gradient(180deg, var(--sand-bg) 0%, var(--sand-bg-deep) 100%);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

::selection { background: var(--gold); color: #fff; }

img { max-width: 100%; display: block; }

.top-nav {
    position: fixed; top: 0; left: 0; width: 100%;
    display: flex; align-items: center;
    gap: 2.2rem;
    padding: 1rem 1.6rem;
    font-size: 14px;
    letter-spacing: 1px;
    background-color: rgba(85, 59, 8, 0.55);
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
    z-index: 100;
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.top-nav.scrolled {
    background-color: rgba(58, 42, 20, 0.92);
    padding: .65rem 1.6rem;
    box-shadow: 0 8px 28px rgba(42, 29, 12, 0.28);
}
.top-nav a {
    color: #f6efe0;
    text-decoration: none;
    position: relative;
    padding: 2px 0;
    transition: color .3s var(--ease);
}
.top-nav a::after {
    content: "";
    position: absolute; left: 0; bottom: -3px;
    width: 0; height: 1px;
    background: var(--gold-light);
    transition: width .35s var(--ease);
}
.top-nav a:hover { color: var(--gold-light); }
.top-nav a:hover::after { width: 100%; }

.hero-section {
    padding: 36px 20px 0;
    margin-top:45px;
    display: flex; flex-direction: column;
    animation: fadeUp 1s var(--ease) both;
}
.hero-frame {
    flex: 1;
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    background: var(--sand-card);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(176, 138, 72, 0.3);
}
.top-title {
    position: absolute; top: 12px; left: 0; right: 0;
    text-align: center;
    font-size: 18px; letter-spacing: 3px;
    color: var(--cream);
    z-index: 6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-frame img {
    width: 100%; display: block;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform .8s var(--ease);
}
.hero-frame:hover img { transform: scale(1.025); }
.hero-frame::before, .hero-frame::after {
    content: ""; position: absolute; z-index: 5; top: 0;
    width: 50%; height: calc(100% - 38px);
    background: var(--sand-card);
    transition: transform .6s var(--ease);
    pointer-events: none;
}
.hero-frame::before { left: 0; clip-path: ellipse(75% 75% at 0% 50%); }
.hero-frame::after  { right: 0; clip-path: ellipse(75% 75% at 100% 50%); }
.hero-frame:hover::before { transform: translateX(-80px); }
.hero-frame:hover::after  { transform: translateX(80px); }
.hero-caption {
    position: relative; z-index: 20;
    display: flex; justify-content: space-between;
    font-size: 13px; letter-spacing: .5px;
    padding: 8px 12px;
    background: var(--sand-card);
    color: var(--ink-soft);
    border-top: 1px solid rgba(176, 138, 72, 0.25);
}
.hero-text-wrap {
    max-width: 820px;
    margin: 44px auto 24px;
    color: var(--ink-soft);
    text-align: center;
}
.first-p{
    font-size: 14px;
    max-width: 380px;
    margin: 0 auto 20px;
}
.mt12 {
    font-size: 10px;
    max-width: 540px;
    margin: 0 auto 14px;
}
.more-btn {
    display: inline-block;
    margin: 18px auto 0;
    padding: 14px 38px;
    border-radius: 47px;
    border: 1px solid var(--gold-light);
    font-weight: bold; font-size: 14px;
    text-transform: uppercase; letter-spacing: 2px;
    color: var(--cream);
    background: linear-gradient(180deg, var(--brown-deep), var(--brown-ink));
    cursor: pointer; text-decoration: none;
    box-shadow: 0 10px 26px rgba(85, 59, 8, 0.35);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), filter .35s var(--ease);
}
.more-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
    box-shadow: 0 16px 34px rgba(85, 59, 8, 0.45);
}


.section {
    padding: clamp(48px, 7vw, 90px) 22px;
    background-color: var(--sand-bg);
    scroll-margin-top: 84px;
}
.section-white {
    background: var(--sand-soft);
    background-image: linear-gradient(180deg, var(--sand-soft), #dfc99f);
}
.container { max-width: 960px; margin: 0 auto; }
.section-subtitle {
    font-size: 13px; letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin-bottom: 10px;
    display: flex; align-items: center; gap: 10px;
}
.section-subtitle::before {
    content: ""; width: 28px; height: 1px;
    background: var(--gold);
}
.section-title-en {
    font-size: clamp(2.1rem, 5vw, 3.5rem);
    font-weight: normal;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    font-family: 'Abril Fatface', cursive;
    line-height: 1.25;
    color: var(--ink);
}
.section-desc {
    font-size: 15px;
    max-width: 760px;
    margin-bottom: 40px;
    color: var(--ink-soft);
}

.card-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.mt32 { margin-top: 34px; }

.ceramic-card {
    background: var(--sand-card);
    padding: 14px;
    margin: 0;
    cursor: zoom-in;
    border-radius: 8px;
    border: 1px solid rgba(176, 138, 72, 0.32);
    box-shadow: var(--shadow-sm);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.ceramic-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: rgba(176, 138, 72, 0.55);
}
.card-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    background: #d9c298;
}
.card-img-wrap img {
    width: 100%; display: block;
    transition: transform 1s var(--ease), filter 1s var(--ease);
    filter: saturate(.92);
}
.ceramic-card:hover .card-img-wrap img,
.ceramic-card.revealed .card-img-wrap img {
    transform: scale(1.06);
    filter: saturate(1.06);
}

.silhouette-mask {
    position: absolute; inset: 0;
    z-index: 2;
    pointer-events: none;
}
.mask-half {
    position: absolute; top: 0; bottom: 0;
    width: 50.5%;                 
    overflow: hidden;
    opacity: 1;
    transition: transform 1s var(--ease), opacity 1s var(--ease);
    will-change: transform, opacity;
}
.mask-half.left { left: 0; }
.mask-half.right { right: 0; }
.mask-half svg {
    position: absolute; top: 0;
    width: 200%; height: 100%;    
    display: block;
}
.mask-half.left svg { left: 0; }
.mask-half.right svg { left: -100%; }
.silhouette-mask .mask-panel { fill: var(--sand-mask); }
.silhouette-mask .mask-vessel-outline {
    fill: none;
    stroke: rgba(138, 106, 51, 0.6);
    stroke-width: 2;
}
.ceramic-card:hover .mask-half.left,
.ceramic-card.revealed .mask-half.left {
    transform: translateX(-102%);
    opacity: 0;
}
.ceramic-card:hover .mask-half.right,
.ceramic-card.revealed .mask-half.right {
    transform: translateX(102%);
    opacity: 0;
}

.card-caption-en {
    margin-top: 12px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--ink-muted);
    transition: color .35s var(--ease);
}
.ceramic-card:hover .card-caption-en { color: var(--ink-soft); }


.full-img-block {
    margin: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(176, 138, 72, 0.28);
    cursor: zoom-in;
}
.full-img-block img {
    width: 100%; display: block;
    cursor: zoom-in;
    transition: transform .8s var(--ease);
}
.full-img-block:hover img { transform: scale(1.02); }

.new-badge {
    display: inline-block;
    background: linear-gradient(180deg, var(--brown-deep), var(--brown-ink));
    color: var(--cream);
    padding: 8px 16px;
    font-size: 22px;
    margin: 20px 0;
    border-radius: 3px;
    letter-spacing: 1px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(212, 182, 120, 0.4);
}
.flex-wrap-row {
    display: flex; align-items: center;
    gap: 24px; flex-wrap: wrap;
}
.flex-img-col {
    flex: 1; min-width: 260px; margin: 0;
    cursor: zoom-in; overflow: hidden;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(176, 138, 72, 0.28);
}
.flex-img-col img {
    width: 100%; display: block;
    transition: transform .7s var(--ease);
}
.flex-img-col:hover img { transform: scale(1.04); }


footer {
    background: var(--sand);
    background-image: linear-gradient(180deg, #cfb17c 0%, #c9a86c 100%);
    padding: 50px 22px 30px;
    color: var(--brown-ink);
}
.footer-container {
    max-width: 960px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.footer-col p { font-size: 14px; font-weight: bold; color: var(--brown-ink); }
.footer-col ul { list-style: none; margin-top: 10px; }
.footer-col li { margin: 6px 0; font-size: 13px; color: var(--brown-ink); }
.footer-col a {
    color: var(--brown-ink);
    text-decoration: none;
    border-bottom: 1px solid rgba(58, 42, 20, 0.45);
    transition: color .3s var(--ease), border-color .3s var(--ease);
}
.footer-col a:hover { color: var(--brown-deep); border-color: var(--brown-deep); }
.copyright {
    margin-top: 42px; text-align: center;
    font-size: 12.5px; opacity: .85;
    letter-spacing: .5px;
    color: var(--brown-ink);
}


.scroll-progress-wrap {
    position: fixed; top: 0; left: 0;
    width: 100%; height: 4px;
    background: rgba(0, 0, 0, 0.08);
    z-index: 999;
}
.scroll-progress-bar {
    height: 100%; width: 0%;
    background: linear-gradient(90deg, var(--teal), var(--gold));
    transition: width .12s linear;
}


.hero-outline {
    position: absolute; bottom: 0; left: 0;
    transform: translateY(100%);
    width: 60px; height: auto;
    opacity: 0.55;
    filter: drop-shadow(0 0 3px rgba(44, 120, 115, 0.6));
    z-index: 10;
    pointer-events: none;
}
.hero-outline img { width: 100%; height: auto; display: block; }


.back-to-top {
    position: fixed; right: 22px; bottom: 24px;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(212, 182, 120, 0.5);
    background: linear-gradient(180deg, var(--brown-deep), var(--brown-ink));
    color: var(--cream);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0; visibility: hidden;
    transform: translateY(12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease), filter .3s var(--ease);
    z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.12); transform: translateY(-2px); }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal .ceramic-card { transition-delay: 0s; }
.card-grid-3 .ceramic-card:nth-child(2) { transition-delay: .1s; }
.card-grid-3 .ceramic-card:nth-child(3) { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: translateY(0); }
}

body.lightbox-open { overflow: hidden; }
.lightbox-overlay {
    position: fixed; inset: 0;
    background: rgba(12, 9, 4, 0.86);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    display: flex; align-items: center; justify-content: center;
    z-index: 9999;
    opacity: 0; visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
    padding: 28px;
    cursor: zoom-out;
}
.lightbox-overlay.is-active { opacity: 1; visibility: visible; }
.lightbox-stage {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    max-width: 100%; max-height: 100%;
    transform: scale(.82); opacity: 0;
    transition: transform .45s var(--ease), opacity .4s ease;
}
.lightbox-overlay.is-active .lightbox-stage { transform: scale(1); opacity: 1; }
.lightbox-stage img {
    max-width: 90vw; max-height: 80vh;
    width: auto; height: auto;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    cursor: default; user-select: none; -webkit-user-drag: none;
    display: block;
    transition: opacity .25s ease;
}
.lightbox-caption {
    position: absolute; left: 50%; bottom: -38px;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px; letter-spacing: .5px;
    white-space: nowrap; max-width: 88vw;
    overflow: hidden; text-overflow: ellipsis;
}
.lightbox-counter {
    position: absolute; top: 20px; left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px; letter-spacing: 2px;
    z-index: 2;
}
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .3s ease, transform .4s ease;
    z-index: 3;
}
.lightbox-close { top: 18px; right: 22px; width: 44px; height: 44px; font-size: 22px; line-height: 1; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.28); transform: rotate(90deg); }
.lightbox-prev, .lightbox-next {
    top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px;
    font-size: 20px; line-height: 1;
}
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-prev:hover, .lightbox-next:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-50%) scale(1.08);
}
.lightbox-prev:disabled, .lightbox-next:disabled {
    opacity: .3; cursor: default;
}

@media (max-width: 1024px) {
    .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .top-nav { gap: 1.1rem; padding: .8rem 1rem; font-size: 13px; }
    .top-nav.scrolled { padding: .55rem 1rem; }
    .hero-section { padding: 20px 14px 0; margin-top: 80px; }
    .hero-frame { border-radius: 10px; }
    .top-title { font-size: 14px; letter-spacing: 2px; }
    .card-grid-3 { grid-template-columns: 1fr; gap: 20px; }
    .section { padding: 44px 16px; }
    .section-title-en { font-size: clamp(1.7rem, 8vw, 2.2rem); letter-spacing: 1px; }
    .section-desc { font-size: 14px; margin-bottom: 28px; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .new-badge { font-size: 18px; }
    .back-to-top { right: 14px; bottom: 16px; width: 42px; height: 42px; }
    .lightbox-overlay { padding: 14px; }
    .lightbox-stage img { max-width: 95vw; max-height: 72vh; }
    .lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-prev, .lightbox-next { width: 42px; height: 42px; }
    .lightbox-counter { top: 16px; font-size: 12px; }
}
@media (max-width: 420px) {
    .top-nav { gap: .7rem; font-size: 12px; padding: .7rem .8rem; }
    .footer-container { grid-template-columns: 1fr; }
    .more-btn { padding: 12px 30px; font-size: 13px; }
}


.video-intro {
    position: relative;
    height: 260vh;
    background: var(--sand-bg);
}
.video-intro-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    transform-origin: 50% 0;
    
    background-color: var(--sand-bg);
    background-image:
        radial-gradient(circle at 18% 8%, rgba(255, 244, 220, 0.35), transparent 42%),
        radial-gradient(circle at 88% 22%, rgba(138, 106, 51, 0.12), transparent 50%),
        linear-gradient(180deg, var(--sand-bg) 0%, var(--sand-bg-deep) 100%);
    background-attachment: fixed;
}
.video-track {
    display: flex;
    flex-direction: column;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}
.video-screen {
    position: relative;
    flex: 0 0 auto;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.video-shade {
    position: absolute; inset: 0;
    pointer-events: none;
    background: rgba(8, 6, 3, .34);
}

.video-copy {
    position: relative;
    z-index: 2;
    width: min(920px, 88vw);
    padding: clamp(18px, 3vw, 32px);
    text-align: center;
    background: radial-gradient(ellipse at center,
        rgba(0, 0, 0, .30) 0%,
        rgba(0, 0, 0, 0) 70%);
    will-change: opacity;
}
.video-eyebrow {
    display: block;
    font-family: "Avenir Next", "Helvetica Neue", "Inter", "PingFang SC", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .34em;
    text-transform: uppercase;
    color: rgba(255, 252, 244, .82);
    margin-bottom: clamp(14px, 2.2vw, 24px);
    will-change: opacity, transform;
}
.video-title {
    margin: 0;
    font-family: "Playfair Display", "Playfair Display SC", "Songti SC", Georgia, serif;
    font-weight: 500;
    font-size: clamp(2rem, 5.4vw, 4.4rem);
    line-height: 1.16;
    letter-spacing: .005em;
    color: #fdfaf2;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
.video-title .line {
    display: block;
    will-change: opacity, transform;
}
.video-title .char {
    display: inline-block;
    will-change: opacity, transform;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}
.video-title .char.is-space { width: .3em; }
@media (max-width: 720px) {
    .video-intro { height: 220vh; }
    .video-copy { width: 90vw; }
    .video-eyebrow { font-size: 10px; letter-spacing: .28em; }
    .video-title {
        font-size: clamp(1.7rem, 8.4vw, 2.6rem);
        line-height: 1.22;
    }
}
@media (prefers-reduced-motion: reduce) {
    .video-title .line,
    .video-eyebrow { transition: none !important; }
}

@media (max-width: 720px) {
    .tg-slide { padding: 44px 0; }
    .tg-row {
        grid-template-columns: 1fr;
        min-height: auto;
        gap: 18px;
        padding: 30px 0;
    }
    .tg-cell:nth-child(2) {
        border-left: none;
        border-top: 1px solid var(--tg-line);
        padding-top: 24px;
    }
    .tg-frame { max-width: 100%; }
    .tg-copy {
        font-size: clamp(1.15rem, 5.6vw, 1.6rem);
        max-width: 20ch;
    }
}
@media (prefers-reduced-motion: reduce) {
    .tg-copy { opacity: 1; transform: none; }
    .tg-frame img { transform: scale(1); }
}
