/* EZ Visuals */
*{margin:0;padding:0;box-sizing:border-box;}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:#111;background:#fff;}
.page{display:none;}
.page.active{display:block;}
nav{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 2rem;border-bottom:1px solid #e5e5e5;}
.nav-logo{font-size:15px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;cursor:pointer;}
.nav-back{font-size:12px;color:#666;cursor:pointer;display:flex;align-items:center;gap:6px;border:none;background:none;font-family:inherit;}
.nav-back:hover{color:#111;}
.hero{padding:4rem 2rem 0;text-align:center;}
.hero-tag{font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#888;margin-bottom:1rem;}
.hero h1{font-size:52px;font-weight:300;line-height:1.15;letter-spacing:-0.02em;margin-bottom:1rem;}
.hero h1 em{font-style:italic;}
.hero-sub{font-size:15px;color:#666;max-width:400px;margin:0 auto 2rem;line-height:1.7;}
.reel-wrap{margin:0;width:100%;height:280px;background:#000;overflow:hidden;position:relative;border:none;border-radius:0;}
.reel-wrap iframe{width:100%;height:100%;border:none;}
.choose{padding:3.5rem 2rem 4rem;}
.choose-label{font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#888;text-align:center;margin-bottom:1.75rem;}
.choose-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;max-width:640px;margin:0 auto;}
.choose-card{border:1px solid #ddd;border-radius:14px;overflow:hidden;cursor:pointer;background:#fff;transition:box-shadow 0.2s,border-color 0.2s;}
.choose-card:hover{border-color:#bbb;box-shadow:0 4px 20px rgba(0,0,0,0.07);}
.choose-card-img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block;}
.choose-card-body{padding:1.25rem 1.25rem 1.5rem;}
.choose-card-name{font-size:18px;font-weight:600;letter-spacing:0.03em;margin-bottom:0.4rem;}
.choose-card-desc{font-size:13px;color:#666;line-height:1.6;margin-bottom:1rem;}
.choose-card-tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:1rem;}
.tag{font-size:10px;letter-spacing:0.06em;text-transform:uppercase;border:1px solid #ddd;border-radius:100px;padding:3px 9px;color:#777;}
.choose-arrow{font-size:13px;color:#444;display:inline-flex;align-items:center;gap:6px;}
.sub-nav{display:flex;justify-content:space-between;align-items:center;padding:1.25rem 2rem;border-bottom:1px solid #e5e5e5;}
.sub-brand{font-size:16px;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;}
.sub-hero{padding:3rem 2rem 2.5rem;text-align:center;border-bottom:1px solid #e5e5e5;}
.sub-hero h1{font-size:42px;font-weight:300;letter-spacing:-0.015em;margin-bottom:0.75rem;}
.sub-hero h1 em{font-style:italic;}
.sub-hero p{font-size:14px;color:#666;max-width:380px;margin:0 auto;line-height:1.7;}
.grid-section{padding:3rem 2rem;}
.section-label{font-size:11px;letter-spacing:0.14em;text-transform:uppercase;color:#888;margin-bottom:1.75rem;}
.projects-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;}
.proj-card{border:1px solid #e5e5e5;border-radius:12px;overflow:hidden;cursor:pointer;background:#fff;transition:box-shadow 0.2s;}
.proj-card:hover{box-shadow:0 4px 20px rgba(0,0,0,0.07);}
.proj-thumb{position:relative;aspect-ratio:16/9;background:#f2f2f2;overflow:hidden;}
.proj-thumb iframe{width:100%;height:100%;border:none;pointer-events:none;}
.proj-thumb-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0.15);transition:background 0.2s;}
.proj-card:hover .proj-thumb-overlay{background:rgba(0,0,0,0.05);}
.play-circle{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,0.9);display:flex;align-items:center;justify-content:center;}
.play-circle::after{content:'';border-left:16px solid #111;border-top:9px solid transparent;border-bottom:9px solid transparent;margin-left:3px;}
.proj-info{padding:0.85rem 1rem;}
.proj-title{font-size:14px;font-weight:600;margin-bottom:3px;}
.proj-meta{font-size:12px;color:#888;}
.proj-tag{display:inline-block;margin-top:7px;font-size:10px;letter-spacing:0.06em;text-transform:uppercase;border:1px solid #e5e5e5;border-radius:100px;padding:2px 8px;color:#888;}
.contact-section{padding:3.5rem 2rem 4rem;border-top:1px solid #e5e5e5;text-align:center;}
.contact-section h2{font-size:32px;font-weight:300;letter-spacing:-0.01em;margin-bottom:0.75rem;}
.contact-section p{font-size:14px;color:#666;margin-bottom:2rem;line-height:1.7;}
.contact-form{max-width:480px;margin:0 auto;text-align:left;display:flex;flex-direction:column;gap:1rem;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;}
.form-group label{display:block;font-size:11px;letter-spacing:0.08em;text-transform:uppercase;color:#888;margin-bottom:6px;}
.form-group input,.form-group textarea{width:100%;padding:0.65rem 0.9rem;border:1px solid #ddd;border-radius:8px;background:#fff;font-size:14px;color:#111;font-family:inherit;outline:none;}
.form-group input:focus,.form-group textarea:focus{border-color:#aaa;}
.form-group textarea{height:95px;resize:vertical;}
.submit-btn{width:100%;padding:0.75rem;border:none;border-radius:8px;background:#111;color:#fff;font-size:14px;font-family:inherit;cursor:pointer;letter-spacing:0.05em;}
.submit-btn:hover{background:#333;}
footer{padding:1.5rem 2rem;display:flex;justify-content:space-between;align-items:center;border-top:1px solid #e5e5e5;}
.footer-logo{font-size:13px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;}
.footer-copy{font-size:12px;color:#888;}
.visuals-accent{border-top:3px solid #111;}
.stories-accent{border-top:3px solid #c0415a;}

/* --- Luxury Design Upgrades --- */
body{font-family:'Georgia',serif;background:#fafaf8;}
nav{background:#fafaf8;padding:1.5rem 3rem;}
.nav-logo{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:13px;letter-spacing:0.18em;}
.hero{padding:5rem 3rem 0;}
.hero-tag{letter-spacing:0.18em;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.hero h1{font-size:58px;font-weight:400;font-family:'Georgia',serif;}
.hero-sub{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:14px;color:#888;}
.choose{padding:4rem 3rem 5rem;background:#fafaf8;}
.choose-card{border:1px solid #e0ddd6;border-radius:4px;background:#fff;}
.choose-card:hover{box-shadow:0 8px 32px rgba(0,0,0,0.08);border-color:#c8c4bb;}
.choose-card-name{font-family:'Georgia',serif;font-size:22px;font-weight:400;}
.choose-card-desc{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.reel-wrap{border-radius:0;border:none;height:280px;aspect-ratio:unset;}
.sub-hero{background:#fafaf8;padding:4rem 3rem 3rem;}
.sub-hero h1{font-family:'Georgia',serif;font-size:46px;font-weight:400;}
.sub-hero p{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.proj-card{border:1px solid #e0ddd6;border-radius:4px;}
.proj-card:hover{box-shadow:0 8px 32px rgba(0,0,0,0.08);}
.proj-title{font-family:'Georgia',serif;font-size:15px;font-weight:400;}
.proj-meta{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.contact-section h2{font-family:'Georgia',serif;font-weight:400;}
.contact-section p{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.form-group label{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.form-group input,.form-group textarea{border:1px solid #e0ddd6;border-radius:2px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.submit-btn{border-radius:2px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:0.1em;text-transform:uppercase;font-size:12px;}
.section-label{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
footer{background:#fafaf8;padding:2rem 3rem;}
.footer-logo{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;}
.grid-section{padding:3.5rem 3rem;}
.sub-nav{background:#fafaf8;padding:1.5rem 3rem;}



/* --- Testimonials Carousel --- */
.testimonials-section{background:#f4f2ee;padding:4.5rem 0;}
.testimonials-section .section-label{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;display:block;text-align:center;margin-bottom:0.75rem;}
.testi-gold-line{width:40px;height:1px;background:#c8a96e;margin:0 auto 2.5rem;}
.carousel-wrapper{position:relative;overflow:hidden;width:100%;padding:0 2rem;}
.carousel-track{display:flex;transition:transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);will-change:transform;}
.testi-card{flex:0 0 calc(33.333% - 1rem);min-width:calc(33.333% - 1rem);background:#fff;border:1px solid #e0ddd6;border-radius:4px;padding:2rem 1.75rem;margin:0 0.5rem;}
.testi-stars{color:#c8a96e;font-size:14px;letter-spacing:3px;margin-bottom:1rem;}
.testi-text{font-family:'Georgia',serif;font-size:14px;line-height:1.9;color:#333;margin-bottom:1.5rem;font-style:italic;}
.testi-author{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:12px;font-weight:600;letter-spacing:0.08em;text-transform:uppercase;color:#555;}
.testi-type{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:11px;color:#aaa;margin-top:3px;letter-spacing:0.05em;}
.testi-date{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:11px;color:#ccc;margin-top:3px;}
.testi-verified{display:inline-block;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;font-size:10px;color:#c8a96e;letter-spacing:0.06em;text-transform:uppercase;margin-top:6px;}
.carousel-controls{display:flex;align-items:center;justify-content:center;gap:1.5rem;margin-top:2.5rem;}
.carousel-btn{width:40px;height:40px;border-radius:50%;border:1px solid #c8a96e;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;}
.carousel-btn:hover{background:#c8a96e;}
.btn-arrow-left{width:8px;height:8px;border-left:1.5px solid #c8a96e;border-bottom:1.5px solid #c8a96e;transform:rotate(45deg);margin-left:3px;}
.btn-arrow-right{width:8px;height:8px;border-right:1.5px solid #c8a96e;border-top:1.5px solid #c8a96e;transform:rotate(45deg);margin-right:3px;}
.carousel-btn:hover .btn-arrow-left,.carousel-btn:hover .btn-arrow-right{border-left-color:#fff;border-bottom-color:#fff;border-right-color:#fff;border-top-color:#fff;}
.carousel-dots{display:flex;gap:6px;align-items:center;}
.carousel-dot{width:6px;height:6px;border-radius:50%;background:#d9d5ce;cursor:pointer;transition:background 0.2s,transform 0.2s;border:none;}
.carousel-dot.active{background:#c8a96e;transform:scale(1.3);}
@media(max-width:700px){.testi-card{flex:0 0 calc(100% - 1rem);min-width:calc(100% - 1rem);}}

@media(max-width:768px){
  .viz-hero-container{height:320px !important;}
}

/* ============================================
   MOBILE OVERRIDES — max-width: 768px
   Desktop layout unchanged
   ============================================ */
@media (max-width: 768px) {

  /* --- Global spacing --- */
  nav { padding: 1rem 1.25rem !important; }
  section, [style*="padding:5rem 3rem"],
  [style*="padding:4rem 3rem"],
  [style*="padding:3.5rem 3rem"],
  [style*="padding:2.5rem 3rem"],
  [style*="padding:2rem 3rem"] {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* --- Hero headline sizes --- */
  h1[style*="font-size:54px"],
  h1[style*="font-size:52px"],
  h1[style*="font-size:48px"] {
    font-size: 32px !important;
    line-height: 1.2 !important;
  }
  h2[style*="font-size:40px"],
  h2[style*="font-size:36px"],
  h2[style*="font-size:34px"] {
    font-size: 26px !important;
  }
  h3[style*="font-size:32px"] {
    font-size: 22px !important;
  }

  /* --- Showreel / hero video --- */
  .reel-wrap,
  div[style*="height:500px"] {
    height: 240px !important;
  }

  /* --- Project header stat block --- */
  div[style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="text-align:right"] {
    text-align: left !important;
    margin-top: 0.5rem;
  }

  /* --- All 2-column grids → 1 column --- */
  div[style*="grid-template-columns:1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr;"] {
    grid-template-columns: 1fr !important;
  }

  /* --- 3-column case study bars → 1 column --- */
  div[style*="grid-template-columns:1fr 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  div[style*="grid-template-columns:1fr 1fr 1fr"] > div {
    border-right: none !important;
    border-bottom: 1px solid #1a1a1a;
    padding: 1rem 0 !important;
  }
  div[style*="grid-template-columns:1fr 1fr 1fr"] > div:last-child {
    border-bottom: none !important;
  }

  /* --- 4-column short-form grid → 2 columns --- */
  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* --- Fixed-height supporting videos → auto height 16:9 --- */
  div[style*="height:300px"],
  div[style*="height:280px"] {
    height: auto !important;
    aspect-ratio: 16/9 !important;
  }

  /* --- Short-form vertical videos — keep fixed height, just smaller --- */
  div[style*="height:240px"] {
    height: 180px !important;
  }

  /* --- Impact video --- */
  div[style*="height:400px"] {
    height: 220px !important;
  }

  /* --- Home routing cards: 3fr 2fr → 1 column --- */
  div[style*="grid-template-columns:3fr 2fr"] {
    grid-template-columns: 1fr !important;
  }

  /* --- What We Help Brands Do grid → 1 col --- */
  div[style*="grid-template-columns:repeat(auto-fit,minmax(200px"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Who We Work With grid → 1 col --- */
  div[style*="grid-template-columns:repeat(auto-fit,minmax(220px"] {
    grid-template-columns: 1fr !important;
  }

  /* --- What We Do 2-col → 1 col --- */
  div[style*="grid-template-columns:1fr 1fr;gap:3rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* --- Retainer offer cards → 1 col --- */
  div[style*="grid-template-columns:repeat(auto-fit,minmax(240px"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Testimonial cards → 1 col at a time --- */
  .testi-card {
    flex: 0 0 calc(100% - 1rem) !important;
    min-width: calc(100% - 1rem) !important;
  }

  /* --- About grid → 1 col --- */
  div[style*="grid-template-columns:1fr 1fr;gap:4rem"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* --- Stats grid → 2 col --- */
  div[style*="grid-template-columns:1fr 1fr;align-content"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* --- Contact form rows → 1 col --- */
  .form-row,
  div[style*="grid-template-columns:1fr 1fr;gap:1rem"] {
    grid-template-columns: 1fr !important;
  }

  /* --- Nav links on sub-pages --- */
  nav > div:last-child {
    gap: 0.75rem !important;
  }

  /* --- Footer → stack --- */
  footer {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
    padding: 1.5rem 1.25rem !important;
  }

  /* --- Section headings padding fix --- */
  div[style*="padding:3.5rem 3rem 2.5rem"] {
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  /* --- Stories featured moments grid → 1 col --- */
  div[style*="grid-template-columns:repeat(auto-fit,minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* --- EZ Stories hero text --- */
  div[style*="font-size:54px;font-weight:400;line-height:1.1"] {
    font-size: 30px !important;
  }

  /* --- What We Cover vertical lines → smaller --- */
  div[style*="height:48px;background:#e0ddd6"] {
    height: 32px !important;
  }

  /* --- Home routing card padding --- */
  div[style*="padding:3rem 2.5rem 2rem"] {
    padding: 1.75rem 1.5rem 1.25rem !important;
  }
  div[style*="padding:2.5rem 2rem 1.75rem"] {
    padding: 1.5rem 1.25rem 1.25rem !important;
  }
}


/* ============================================
   DESKTOP LAYOUT SYSTEM
   max-width container + vertical rhythm
   Mobile layout unchanged
   ============================================ */

/* --- Scoped only to EZ Visuals page --- */
#visuals .viz-container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* Featured work wrapper */
#visuals #viz-work {
  background: #0a0a0a;
}

/* All padded sections inside featured work — normalize horizontal padding */
#visuals #viz-work > div > div[style] {
  box-sizing: border-box;
}

/* Section rhythm class */
.viz-section {
  padding: 2rem 3rem !important;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

/* Video grid classes — enforced consistent sizing */
.viz-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.viz-grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.viz-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* Video containers */
.viz-video-hero {
  position: relative;
  width: 100%;
  height: 500px;
  background: #000;
  border-radius: 2px;
  overflow: hidden;
}

.viz-video-supporting {
  position: relative;
  width: 100%;
  height: 300px;
  background: #0d0d0d;
  border-radius: 2px;
  overflow: hidden;
}

.viz-video-edu {
  position: relative;
  width: 100%;
  height: 280px;
  background: #0d0d0d;
  border: 1px solid #1a1a1a;
  border-radius: 2px;
  overflow: hidden;
}

.viz-video-reel {
  position: relative;
  width: 100%;
  height: 240px;
  background: #0d0d0d;
  border-radius: 2px;
  overflow: hidden;
}

.viz-video-impact {
  position: relative;
  width: 100%;
  height: 400px;
  background: #0d0d0d;
  border-radius: 2px;
  overflow: hidden;
}

.viz-video-hero iframe,
.viz-video-supporting iframe,
.viz-video-edu iframe,
.viz-video-reel iframe,
.viz-video-impact iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  border: none;
}

/* Sub-label above video groups */
.viz-sub-label {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 0.75rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  display: block;
}

.viz-sub-label-gold {
  color: #c8a96e;
}

.viz-caption {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 12px;
  color: #444;
  margin-top: 0.5rem;
  font-style: italic;
  display: block;
}

/* Project block wrapper */
.viz-project {
  border-bottom: 2px solid #222;
  padding-bottom: 0;
}

.viz-project-header {
  padding: 2.5rem 3rem 1.5rem;
  border-bottom: 1px solid #1a1a1a;
  max-width: 1280px;
  margin: 0 auto;
}

.viz-project-content {
  padding: 2rem 3rem;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.viz-case-bar {
  background: #0a0a0a;
  border-top: 1px solid #1a1a1a;
  padding: 1.5rem 3rem 2rem;
}

.viz-case-bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.25rem;
  max-width: 1280px;
  margin: 0 auto;
}

.viz-case-bar > div {
  padding: 1.5rem;
  border: 1px solid #222;
  border-radius: 4px;
  background: #0d0d0d;
}

.viz-case-label {
  font-family: 'Georgia', serif;
  font-size: 17px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.6rem;
}

.viz-case-text {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 13px;
  color: #777;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .viz-grid-2,
  .viz-grid-3 { grid-template-columns: 1fr !important; }
  .viz-grid-4 { grid-template-columns: 1fr 1fr !important; }
  .viz-video-hero { height: 240px !important; }
  .viz-video-supporting,
  .viz-video-edu { height: auto !important; aspect-ratio: 16/9 !important; }
  .viz-video-reel { height: 180px !important; }
  .viz-video-impact { height: 220px !important; }
  .viz-project-header,
  .viz-project-content { padding-left: 1.25rem !important; padding-right: 1.25rem !important; }
  .viz-case-bar { grid-template-columns: 1fr !important; padding: 1rem 1.25rem !important; }
  .viz-case-bar-inner { grid-template-columns: 1fr !important; }
  .viz-case-bar { padding: 1rem 1.25rem !important; }
}


@media (max-width: 768px) {
  div[style*="width:50%"] {
    width: 100% !important;
  }
}


/* ── Center all EZ Visuals content sections ── */
#visuals > div[style*="padding:5rem 3rem"],
#visuals > div[style*="padding:4rem 3rem"],
#visuals > div[style*="padding:3.5rem 3rem"],
#visuals > div[style*="padding:2.5rem 3rem"] {
  box-sizing: border-box;
}


.viz-inner {
  box-sizing: border-box;
  width: 100%;
}



50% { transform: translateY(6px); }
}


/* ── Reels page ── */
#reels { background: #000; }
#reels.active { display: block; height: 100vh; overflow: hidden; }
#reelFeed { scrollbar-width: none; -ms-overflow-style: none; }
#reelFeed::-webkit-scrollbar { display: none; }
@keyframes reelBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}


/* ── Collapsible project sections ── */
.viz-collapsible { transition: background 0.3s; }
.viz-collapsible:hover .viz-expand-arrow,
.viz-collapsible.expanded .viz-expand-arrow { color: #c8a96e !important; }
.viz-collapsible.expanded .viz-expand-arrow { transform: rotate(180deg); display:inline-block; }
.viz-expand-body { transition: max-height 0.5s cubic-bezier(0.4,0,0.2,1) !important; }
.viz-collapsible.expanded .viz-expand-body { max-height: 8000px !important; }
.viz-collapse-preview iframe { transition: opacity 0.3s; }
.viz-collapsible.expanded .viz-collapse-preview { display: none; }
.viz-collapsible.expanded .viz-expand-hint { display: none; }
@media (max-width: 768px) {
  .viz-collapsible { cursor: pointer; }
}