/* ============================================================
   FILUM ARTS — homepage & rich section styles
   Loaded after styles.css
   ============================================================ */

/* ---------- HERO ---------- */
.hero { position: relative; min-height: clamp(640px, 92vh, 900px); display: flex; align-items: center; overflow: hidden; background: var(--espresso-deep); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .ph, .hero-bg img, .hero-bg video { width: 100%; height: 120%; object-fit: cover; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,11,4,.55) 0%, rgba(20,11,4,.35) 40%, rgba(20,11,4,.78) 100%),
    linear-gradient(105deg, rgba(20,11,4,.7) 0%, transparent 60%);
}
.hero-grain { position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: radial-gradient(120% 80% at 50% 0%, transparent 58%, rgba(20,11,4,.38)); }
.hero-inner { position: relative; z-index: 3; padding-block: var(--s9); max-width: 880px; }
.hero .eyebrow { color: var(--brass-light); }
.hero .eyebrow::before { background: var(--brass-light); }
.h-display { color: #fff; }
.hero-word { display: inline-block; overflow: hidden; vertical-align: top; }
.hero-word > span { display: inline-block; transform: translateY(105%); animation: heroUp .9s var(--ease-out) forwards; }
.hero-word:nth-child(1) > span { animation-delay: .15s; }
.hero-word:nth-child(2) > span { animation-delay: .28s; }
.hero-word:nth-child(3) > span { animation-delay: .41s; }
.hero-word:nth-child(4) > span { animation-delay: .54s; }
.hero-word:nth-child(5) > span { animation-delay: .60s; }
.hero-word:nth-child(6) > span { animation-delay: .68s; }
@keyframes heroUp { to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .hero-word > span { transform: none; animation: none; } }
.hero-sub { color: var(--on-dark); max-width: 56ch; margin-top: var(--s5); font-size: clamp(1.05rem,1.6vw,1.28rem); }
.hero-cta { display: flex; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s7); }
.hero-trust { display: flex; align-items: center; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s7); color: var(--on-dark-soft); font-family: var(--label); font-size: .82rem; }
.hero-trust .vline { width: 1px; height: 22px; background: rgba(255,255,255,.2); }
.hero-trust b { color: var(--brass-light); }
.scroll-hint { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--on-dark-soft); font-family: var(--label); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.scroll-hint .line { width: 1px; height: 40px; background: linear-gradient(var(--brass-light), transparent); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 640px) { .scroll-hint { display: none; } }

/* ---------- TRUST MARQUEE ---------- */
.trustbar { background: var(--espresso); color: var(--on-dark-soft); overflow: hidden; border-block: 1px solid rgba(214,169,100,.18); }
.marquee { display: flex; gap: var(--s7); width: max-content; padding-block: 16px; animation: marquee 38s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: 10px; font-family: var(--label); font-size: .85rem; letter-spacing: .04em; white-space: nowrap; }
.marquee-item svg { width: 16px; height: 16px; color: var(--brass-light); }
.marquee-item .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--brass); }
@keyframes marquee { to { transform: translateX(-50%); } }
.trustbar:hover .marquee { animation-play-state: paused; }

/* ---------- FEATURED CATEGORIES ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); margin-top: var(--s8); }
.cat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; border: 1px solid var(--line); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
.cat-card .ph, .cat-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--slow) var(--ease); z-index: 0; }
.cat-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 35%, rgba(20,11,4,.82) 100%); }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.cat-card:hover .ph, .cat-card:hover > img { transform: scale(1.06); }
.cat-body { position: relative; z-index: 2; padding: var(--s5); color: #fff; width: 100%; }
.cat-body h3 { color: #fff; }
.cat-tag { font-family: var(--label); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); }
.cat-body p { color: rgba(255,255,255,.82); font-size: .9rem; margin-top: 6px; }
.cat-arrow { display: inline-flex; align-items: center; gap: 7px; margin-top: var(--s4); font-family: var(--label); font-weight: 600; font-size: .82rem; color: #fff; opacity: .9; }
.cat-arrow svg { width: 16px; height: 16px; transition: transform var(--med) var(--ease); }
.cat-card:hover .cat-arrow svg { transform: translateX(4px); }
@media (max-width: 1040px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr; } .cat-card { min-height: 300px; } }

/* ---------- DESIGN LAB FEATURE ---------- */
.lab-feature { position: relative; overflow: hidden; }
.lab-feature::before { content: ""; position: absolute; top: -20%; left: -10%; width: 540px; height: 540px; background: radial-gradient(circle, rgba(184,135,70,.18), transparent 70%); pointer-events: none; }
.lab-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px,5vw,72px); align-items: center; position: relative; }
.lab-copy .pill { background: rgba(255,255,255,.06); border-color: rgba(214,169,100,.3); color: var(--brass-light); }
.lab-stage { position: relative; }
.lab-preview { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-3); border: 1px solid rgba(214,169,100,.25); }
.lab-preview .ph { width: 100%; height: 100%; }
.lab-summary { position: absolute; bottom: -28px; right: -16px; width: min(280px, 80%); background: var(--white); border-radius: var(--radius); box-shadow: var(--sh-3); padding: var(--s5); border: 1px solid var(--line); }
.lab-summary h5 { font-family: var(--label); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: var(--s3); }
.lab-summary .ls-row { display: flex; justify-content: space-between; gap: var(--s4); padding: 6px 0; font-size: .86rem; border-bottom: 1px dashed var(--line); }
.lab-summary .ls-row span:first-child { color: var(--ink-soft); }
.lab-summary .ls-row span:last-child { font-weight: 600; color: var(--espresso); }
.lab-summary .ls-total { display: flex; justify-content: space-between; margin-top: var(--s4); font-family: var(--display); font-size: 1.3rem; color: var(--espresso); }
@media (max-width: 920px) { .lab-grid { grid-template-columns: 1fr; } .lab-summary { position: static; width: 100%; margin-top: var(--s5); } }

/* ---------- MATERIALS / SWATCH WALL ---------- */
.swatch-wall { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s4); margin-top: var(--s8); }
.swatch { aspect-ratio: 1; border-radius: var(--radius); position: relative; overflow: hidden; cursor: pointer; box-shadow: var(--sh-1); border: 1px solid rgba(0,0,0,.06); transition: transform var(--med) var(--ease), box-shadow var(--med) var(--ease); }
.swatch:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--sh-3); }
.swatch::after { content: attr(data-name); position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 12px 10px; font-family: var(--label); font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); opacity: 0; transform: translateY(6px); transition: opacity var(--med), transform var(--med); }
.swatch:hover::after { opacity: 1; transform: none; }
.swatch-sheen { position: absolute; inset: 0; background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,.28) 50%, transparent 60%); transform: translateX(-100%); transition: transform var(--slow) var(--ease); }
.swatch:hover .swatch-sheen { transform: translateX(100%); }
@media (max-width: 900px) { .swatch-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 520px) { .swatch-wall { grid-template-columns: repeat(3, 1fr); } }

/* ---------- ERGONOMICS ---------- */
.ergo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s8); }
.ergo-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); transition: transform var(--med) var(--ease), box-shadow var(--med); }
.ergo-card:hover { transform: translateY(-6px); box-shadow: var(--sh-3); }
.ergo-shape { height: 64px; display: flex; align-items: center; margin-bottom: var(--s5); }
.ergo-shape svg { height: 46px; width: auto; color: var(--brass-deep); }
.ergo-card h4 { color: var(--espresso); }
.ergo-card p { font-size: .92rem; color: var(--ink-soft); margin-top: var(--s3); }
@media (max-width: 880px) { .ergo-grid { grid-template-columns: 1fr; } }

/* ---------- SPLIT FEATURE (gift / replacement) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px,4vw,64px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.split-media .ph { width: 100%; height: 100%; }
.split ul.ticks { display: grid; gap: 12px; margin-top: var(--s5); }
.split ul.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.split ul.ticks li::before { content: ""; flex-shrink: 0; margin-top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ivory) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2397682F' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
.bg-espresso .split ul.ticks li { color: var(--on-dark); }
.bg-espresso .split ul.ticks li::before { background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23D6A964' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

/* ---------- EXPLODED / REPLACEMENT DIAGRAM ---------- */
.exploded { display: flex; align-items: center; justify-content: center; gap: clamp(8px,2vw,22px); padding: var(--s6) 0; }
.ex-part { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.ex-chip { width: clamp(54px,9vw,84px); height: clamp(54px,9vw,84px); border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(214,169,100,.3); color: var(--brass-light); }
.ex-chip svg { width: 30px; height: 30px; }
.ex-part small { font-family: var(--label); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-soft); max-width: 9ch; }
.ex-plus { color: var(--brass); font-family: var(--display); font-size: 1.4rem; }

/* ---------- PROCESS / COA ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s5); }
.pstep { position: relative; }
.pstep .pnum { font-family: var(--display); font-size: 2.4rem; color: var(--brass-light); line-height: 1; }
.pstep h4 { color: #fff; margin-top: var(--s3); }
.pstep p { font-size: .88rem; color: var(--on-dark-soft); margin-top: var(--s2); }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .process-grid { grid-template-columns: 1fr; } }

.coa-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px,5vw,72px); align-items: center; }
.coa-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px,4vw,44px); box-shadow: var(--sh-2); position: relative; overflow: hidden; }
.coa-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-dark); border-radius: 16px; pointer-events: none; }
.coa-seal { width: 64px; height: 64px; margin: 0 auto var(--s4); color: var(--brass); }
.coa-card .qr { width: 120px; height: 120px; margin: var(--s5) auto 0; border-radius: 10px; }
.coa-card h4 { text-align: center; color: var(--espresso); }
.coa-card p { text-align: center; margin-inline: auto; font-size: .92rem; color: var(--ink-soft); margin-top: var(--s3); }

/* ---------- STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s5); text-align: center; }
.stat p { font-family: var(--label); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); margin: var(--s3) auto 0; max-width: 18ch; }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; gap: var(--s6); } }

/* ---------- REVIEWS ---------- */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s5); flex-wrap: wrap; }
.review-track { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s5); }
.review-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--s6); transition: transform var(--med) var(--ease), box-shadow var(--med); }
.review-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.review-card blockquote { font-family: var(--display); font-size: 1.18rem; line-height: 1.5; color: var(--espresso); margin: var(--s4) 0; }
.stars-row { display: inline-flex; gap: 2px; color: var(--brass); }
.stars-row svg { width: 17px; height: 17px; fill: currentColor; }
.rv-author { display: flex; align-items: center; gap: 12px; margin-top: var(--s4); }
.rv-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--espresso); color: var(--brass-light); display: grid; place-items: center; font-family: var(--display); font-size: 1.1rem; }
.rv-meta b { display: block; font-size: .92rem; color: var(--espresso); }
.rv-meta span { font-size: .8rem; color: var(--ink-faint); }
@media (max-width: 900px) { .review-track { grid-template-columns: 1fr; } }

/* ---------- PARALLAX BAND ---------- */
.parallax-band { position: relative; min-height: clamp(420px,60vh,560px); display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.pb-img, .parallax-band .ph { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; z-index: 0; }
.pb-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,11,4,.55), rgba(20,11,4,.7)); }
.parallax-band.tint-deep .pb-overlay { background: linear-gradient(180deg, rgba(18,58,70,.55), rgba(20,11,4,.78)); }
.pb-content { position: relative; z-index: 2; padding: var(--s8) var(--gutter); max-width: 820px; }
.pb-content .eyebrow { color: var(--brass-light); }
.pb-quote { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem,4.4vw,3.2rem); line-height: 1.12; color: #fff; }
.pb-quote .brass { color: var(--brass-light); font-style: italic; }
.pb-sub { color: var(--on-dark); margin: var(--s5) auto 0; }

/* ---------- ABOUT / GALLERY STORY ---------- */
.about-band { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px,5vw,72px); align-items: center; }
.about-media { position: relative; }
.about-media .ph { aspect-ratio: 4/5; border-radius: var(--radius-lg); box-shadow: var(--sh-3); }
.about-media .stamp { position: absolute; bottom: -22px; left: -22px; background: var(--espresso); color: var(--on-dark); border-radius: var(--radius); padding: var(--s4) var(--s5); box-shadow: var(--sh-2); max-width: 220px; }
.about-media .stamp strong { font-family: var(--display); color: var(--brass-light); font-size: 1.6rem; display: block; }
.about-media .stamp span { font-size: .82rem; }
.signature { font-family: var(--display); font-style: italic; font-size: 1.8rem; color: var(--espresso); }
@media (max-width: 860px) { .about-band { grid-template-columns: 1fr; } .about-media .stamp { left: var(--s4); } }

/* ---------- FINAL CTA ---------- */
.final-cta { position: relative; overflow: hidden; text-align: center; }
.final-cta .cta-bg, .final-cta .ph.cta-bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; z-index: 0; opacity: .5; }
.final-cta::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,11,4,.7), rgba(20,11,4,.86)); }
.final-cta .inner { position: relative; z-index: 2; max-width: 760px; margin-inline: auto; }
.final-cta .eyebrow { color: var(--brass-light); }
.final-cta .lead { color: var(--on-dark); margin: var(--s5) auto 0; }
.cta-split { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; margin-top: var(--s7); }
