/* ==========================================================================
   SNP Concepts — Interior Design Studio
   Trendy editorial theme · red / grey / black / warm paper
   ========================================================================== */

:root {
  --paper: #f8f6f2;
  --paper-2: #f1eee8;
  --ink: #111111;
  --ink-soft: #6b6b6b;
  --red: #e60000;
  --red-dark: #bd0000;
  --red-soft: #fdeaea;
  --green: #1b8a58;
  --green-dark: #126340;
  --green-soft: #e7f4ed;
  --green-light: #8fd4ae;
  --line: rgba(17, 17, 17, 0.12);
  --white: #ffffff;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Jost", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-ui);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
body.menu-open { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0.2px;
}

.container { width: min(1200px, 92%); margin: 0 auto; }

/* Kicker label */
.kicker {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--red);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.kicker::before { content: ""; width: 32px; height: 1px; background: var(--red); }
.kicker-light { color: var(--green-light); }
.kicker-light::before { background: var(--green-light); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(5px); }
.btn-solid { background: var(--red); color: #fff; }
.btn-solid:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.btn-block { width: 100%; justify-content: center; }

/* Header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--paper);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }

.logo { display: flex; align-items: center; }
.logo-img { height: 70px; width: auto; filter: drop-shadow(0 0 8px rgba(230, 0, 0, .25)); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--red);
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.btn-wa {
  background: var(--green);
  color: #fff;
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.92rem;
  box-shadow: 0 6px 18px rgba(27, 138, 88, .32);
  transition: background .18s ease, transform .18s ease;
}
.btn-wa:hover { background: var(--green-dark); transform: translateY(-1px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 110; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); transition: .25s; }
.nav-kicker { display: none; }
.nav-wa { display: none; }

/* Hero */
.hero { padding: 150px 0 70px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(3rem, 7vw, 5.4rem);
  font-weight: 500;
  line-height: 0.98;
  margin-bottom: 26px;
}
.hero h1 em { font-style: italic; font-weight: 500; color: var(--red); }
.hero .kicker { color: var(--green); font-size: 0.9rem; font-weight: 700; }
.hero .kicker::before { background: var(--green); }
.hero-sub { font-size: 1.12rem; color: var(--ink-soft); max-width: 46ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 44px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 28px; }
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; color: var(--ink); }
.stat-label { font-size: 0.72rem; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft); }

.hero-media { position: relative; }
.arch {
  position: relative;
  border-radius: 240px 240px 16px 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px rgba(17, 17, 17, .18);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge {
  position: absolute;
  left: -34px; bottom: 34px;
  background: var(--ink);
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  align-items: center;
}
.badge-line { width: 28px; height: 1px; background: var(--green); }
.hero-badge p { font-size: 0.9rem; line-height: 1.3; letter-spacing: 1px; }

/* Marquee */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 16px 0; }
.marquee-track {
  display: flex;
  align-items: center;
  gap: 38px;
  width: max-content;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
}
.marquee-track span { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; }
.marquee-track i { color: var(--green-light); font-style: normal; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 110px 0; }
.section-head { max-width: 720px; margin: 0 auto 60px; }
.section-head .kicker { justify-content: flex-start; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }

/* About */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 0.45fr 1.55fr; gap: 48px; }
.about-label { position: sticky; top: 110px; align-self: start; }
.num-label { font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-soft); }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 24px; max-width: 22ch; }
.about-copy h2 em { font-style: italic; color: var(--green); }
.about-copy .lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 58ch; margin-bottom: 28px; }
.about-list { list-style: none; display: grid; gap: 12px; }
.about-list li { display: flex; gap: 12px; align-items: flex-start; }
.about-list span { color: var(--green); font-weight: 700; }

/* Services */
.services { background: var(--paper); }
.services-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 150px 60px;
  align-items: center;
  gap: 24px;
  padding: 30px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding-left .2s ease;
}
.service-row:hover { background: var(--white); padding-left: 18px; }
.s-index { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--green); }
.s-info h3 { font-size: 1.7rem; margin-bottom: 4px; }
.s-info p { color: var(--ink-soft); font-size: 0.98rem; max-width: 46ch; }
.s-thumb { position: relative; width: 150px; height: 104px; border-radius: 12px; overflow: hidden; }
.s-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.service-row:hover .s-thumb img { transform: scale(1.08); }
.s-arrow { font-size: 1.5rem; color: var(--ink); transition: transform .2s ease, color .2s ease; }
.service-row:hover .s-arrow { transform: translateX(6px); color: var(--green); }

.more-services { margin-top: 50px; }
.more-title { text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; font-weight: 600; color: var(--ink); margin-bottom: 18px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  background: var(--white);
  transition: border-color .2s ease, color .2s ease;
}
.tag-list span:hover { border-color: var(--green); color: var(--ink); }

/* Process */
.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: start; }
.steps { display: grid; gap: 4px; }
.step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: transparent;
  -webkit-text-stroke: 1px var(--green);
  line-height: 1;
  min-width: 52px;
}
.step h3 { font-size: 1.4rem; margin-bottom: 4px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }
.process-visual { position: sticky; top: 110px; }
.arch.tall { aspect-ratio: 3 / 4; }
.process-caption { margin-top: 16px; color: var(--ink-soft); font-size: 0.9rem; text-align: center; }

/* Workshop */
.workshop { background: var(--ink); color: #fff; }
.workshop-head { max-width: 820px; margin-bottom: 56px; }
.workshop-head h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
.workshop-head h2 em { font-style: italic; color: var(--green-light); }
.workshop-sub { color: rgba(255,255,255,.72); font-size: 1.08rem; margin-top: 18px; max-width: 56ch; }
.workshop-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; margin-bottom: 56px; }
.workshop-media { position: relative; overflow: hidden; border-radius: 18px; }
.workshop-media img { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .4s ease; }
.workshop-media:hover img { transform: scale(1.04); }
.workshop-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 40px; }
.workshop-point { display: flex; gap: 16px; align-items: flex-start; }
.wp-num { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; color: var(--green-light); line-height: 1; min-width: 40px; }
.workshop-point h3 { font-size: 1.3rem; color: #fff; margin-bottom: 4px; }
.workshop-point p { color: rgba(255,255,255,.68); font-size: 0.95rem; }

/* Why us */
.why-us { background: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--paper); padding: 34px 30px; transition: background .2s ease; }
.why-item:hover { background: var(--white); }
.why-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 12px;
}
.why-item h3 { font-size: 1.35rem; margin-bottom: 8px; }
.why-item p { color: var(--ink-soft); font-size: 0.96rem; }

/* Gallery */
.gallery { background: var(--white); }
.gallery-grid { columns: 4; column-gap: 18px; }
.gallery-grid figure { position: relative; break-inside: avoid; margin-bottom: 18px; overflow: hidden; border-radius: 14px; }
.gallery-grid img { width: 100%; transition: transform .4s ease; }
.gallery-grid figure:hover img { transform: scale(1.05); }
.gallery-grid figure figcaption.gallery-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 44px 60px 14px 16px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0), rgba(17, 17, 17, .8));
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.35;
}

/* Logo watermark on imagery */
.arch::after, .workshop-media::after, .gallery-grid figure::after {
  content: "";
  position: absolute;
  right: 12px; bottom: 12px;
  width: 48px; height: 33px;
  background: url("../images/snplogo12.png") center / contain no-repeat;
  opacity: .55;
  filter: drop-shadow(0 1px 2px rgba(255, 255, 255, .75));
  pointer-events: none;
  z-index: 2;
}
.s-thumb::after {
  content: "";
  position: absolute;
  right: 8px; bottom: 8px;
  width: 28px; height: 19px;
  background: url("../images/snplogo12.png") center / contain no-repeat;
  opacity: .55;
  filter: drop-shadow(0 1px 1px rgba(255, 255, 255, .75));
  pointer-events: none;
  z-index: 2;
}
.gallery-note { text-align: center; margin-top: 30px; color: var(--ink-soft); }
.gallery-note a { color: var(--green); font-weight: 500; }
.gallery-actions { text-align: center; margin-top: 26px; }
.gallery-actions .btn { display: inline-flex; }
.gallery-page { padding-top: 150px; }
.cat-block { margin-bottom: 60px; }
.cat-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.cat-head h3 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0; }
.cat-count { color: var(--green); font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.empty-note { color: var(--ink-soft); text-align: center; padding: 40px 0; }

/* Videos */
.videos { background: var(--paper-2); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: var(--white); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.video-card iframe, .video-card video { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.video-name { padding: 16px 20px; font-family: var(--font-display); font-size: 1.2rem; }
.video-caption { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.92rem; }

/* Testimonials */
.testimonials { background: var(--paper); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card { background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 16px; padding: 32px; }
.testimonial-card blockquote { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.4; font-style: italic; color: var(--ink); }
.testimonial-author { margin-top: 18px; color: var(--green-dark); font-weight: 600; }

/* Contact */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; }
.contact-info h2 { font-size: clamp(2rem, 4.5vw, 3.1rem); margin-bottom: 16px; }
.contact-info h2 em { font-style: italic; color: var(--green); }
.contact-info > p { color: var(--ink-soft); margin-bottom: 28px; }
.contact-info .location-tag { color: var(--green); font-weight: 600; margin-bottom: 22px; letter-spacing: 0.5px; }
.contact-list { list-style: none; display: grid; gap: 22px; margin: 26px 0 30px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 1.4rem; line-height: 1.3; }
.contact-list a { color: var(--green-dark); font-weight: 500; }
.social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.social {
  border: 1px solid var(--line);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background .18s, color .18s, border-color .18s;
}
.social:hover { background: var(--green); color: #fff; border-color: var(--green); }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 40px;
  box-shadow: 0 30px 60px rgba(17, 17, 17, .06);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; letter-spacing: 0.5px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  font-family: var(--font-ui);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 138, 88, .14);
}
.form-note { margin-top: 14px; font-size: 0.84rem; color: var(--ink-soft); text-align: center; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding: 90px 0 0; }
.footer-cta { border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: 50px; margin-bottom: 56px; }
.footer-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 500;
  color: #fff;
  display: inline-block;
  line-height: 1.05;
}
.footer-headline em { font-style: italic; color: var(--green-light); }
.footer-headline:hover { text-decoration: underline; text-underline-offset: 8px; }
.footer-wrap { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand .logo-img { height: 80px; background: #fff; padding: 8px 12px; border-radius: 12px; }
.footer-brand p { margin-top: 18px; max-width: 30ch; opacity: .75; }
.footer-links { display: flex; flex-direction: column; gap: 11px; }
.footer-links h4 { color: var(--green-light); font-family: var(--font-ui); font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 8px; }
.footer-links a { opacity: .82; transition: opacity .18s, color .18s; }
.footer-links a:hover { opacity: 1; color: var(--green-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 24px 0; text-align: center; font-size: 0.86rem; opacity: .65; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding-top: 130px; }
  .hero-media { max-width: 460px; }
  .hero-badge { left: 10px; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; }
  .about-label { position: static; }
  .workshop-grid { grid-template-columns: 1fr; }
  .workshop-points { grid-template-columns: 1fr; gap: 24px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { columns: 3; }
  .video-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-wrap { grid-template-columns: 1fr 1fr; }
  .process-visual { position: static; }
  .service-row { grid-template-columns: 60px 1fr 110px 44px; gap: 16px; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .hero-stats { gap: 26px; }
  .gallery-grid { columns: 2; }
  .why-grid { grid-template-columns: 1fr; }
  .video-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 44px 1fr 40px; }
  .s-thumb { display: none; }

  .nav-cta { display: none; }

  .nav {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    padding: 96px 32px 48px;
    transform: translateX(100%);
    transition: transform .38s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    z-index: 90;
  }
  .nav.open { transform: none; }
  .nav-kicker {
    display: block;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--green);
    margin-bottom: 14px;
  }
  .nav a:not(.btn-wa) { font-size: 1.65rem; font-weight: 500; padding: 4px 0; }
  .nav a:not(.btn-wa)::after { display: none; }
  .nav-wa { display: inline-flex; margin-top: 18px; }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ==========================================================================
   Gallery tabs (Project Photos / Videos / Testimonials)
   ========================================================================== */
.gallery-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 48px;
}
.gallery-tab {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.gallery-tab:hover { color: var(--ink); border-color: var(--ink-soft); }
.gallery-tab.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.gallery-pane { display: none; }
.gallery-pane.is-active { display: block; }

/* Testimonials: image + video cards inside the grid */
.testimonial-grid .testimonial-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: var(--white);
}
.testimonial-grid .testimonial-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.testimonial-grid .testimonial-media figcaption.gallery-caption {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

/* ==========================================================================
   Project photo folders (folder-first browsing)
   ========================================================================== */
.folder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.folder-card {
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  font-family: var(--font-ui);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.folder-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--green);
}
.folder-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper);
}
.folder-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.folder-card:hover .folder-thumb img { transform: scale(1.06); }
.folder-thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
}
.folder-icon { font-size: 2.4rem; }
.folder-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 16px;
}
.folder-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}
.folder-count {
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.cat-view { margin-bottom: 20px; }
.back-to-folders {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--green-dark);
  background: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  margin-bottom: 20px;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.back-to-folders:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* ==========================================================================
   Image protection + lightbox zoom
   ========================================================================== */
img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
}
img.zoomable { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10, 10, 10, .94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lb-stage {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
}
.lb-stage:active { cursor: grabbing; }
#lbImg {
  max-width: 92%;
  max-height: 88%;
  object-fit: contain;
  transition: transform .18s ease;
  transform-origin: center center;
  will-change: transform;
}
.lb-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px 24px 84px;
  text-align: center;
  color: #fff;
  font-size: 0.95rem;
  background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,.85));
  pointer-events: none;
}
.lb-btn {
  position: absolute;
  z-index: 210;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, border-color .18s ease;
}
.lb-btn:hover { background: var(--green); border-color: var(--green); }
.lb-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lb-nav { top: 50%; transform: translateY(-50%); font-size: 2rem; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-toolbar {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 210;
  display: flex;
  gap: 8px;
}
.lb-toolbar .lb-btn { position: static; transform: none; font-size: 1.3rem; }
body.lb-open { overflow: hidden; }

@media (max-width: 960px) {
  .folder-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .folder-grid { grid-template-columns: 1fr; }
  .lb-nav { display: none; }
}
