/* ==========================================================================
   KIKTRO — JAPANESE UTILITY & COMMERCIAL MINIMALISM
   Inspired directly by Lawson Ticket (l-tike.com) and Japanese information design.
   Clean white canvas, solid blue header & accents, charcoal footer, 
   simple rectangular cards, practical typography, subtle mechanical hover.
   Enhanced with Bengali language accents & black branding boxes.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=Playfair+Display:ital,wght@0,400..700;1,400..700&family=Noto+Serif+Bengali:wght@400;600;700&display=swap');

:root {
  /* Color Palette */
  --bg: #ffffff;
  --bg-page: #ffffff; /* Clean seamless white page */
  --bg-subtle: #f8f8f8;
  --bg-card: #ffffff;
  
  --ink: #111111;
  --ink-mid: #444444;
  --ink-light: #666666;
  --ink-muted: #888888;
  
  /* Primary Accent: Clean Functional Blue */
  --blue: #0068b7;
  --blue-hover: #005293;
  --blue-light: #eef5fc;
  --blue-border: #b8d7f2;
  
  /* Secondary Structural Color: Charcoal / Dark Grey */
  --dark-grey: #2b2b2b;
  --dark-grey-border: #404040;
  --dark-grey-text: #cccccc;
  
  /* Borders */
  --border: #e6e6e6;
  --border-light: #eeeeee;
  --border-dark: #222222;
  
  /* Tag Accent */
  --tag-red: #c92a2a;
  --tag-red-bg: #fff5f5;
  
  /* Typography: Classy Serif (Times New Roman, Newsreader, Playfair) */
  --font-serif: "Times New Roman", Times, "Newsreader", "Playfair Display", "Baskerville", Georgia, "Noto Serif Bengali", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Kohinoor Bangla", sans-serif;
  --font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --font-main: var(--font-serif);
  
  /* Layout */
  --max-width: 1080px;
  --radius: 0px;
}

/* 1. Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: var(--radius) !important;
}

html {
  font-size: 16px;
  line-height: 1.68;
  background-color: var(--bg-page);
  color: var(--ink);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--ink);
  min-height: 100vh;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  text-decoration: underline;
  color: var(--blue-hover);
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

ul, ol {
  list-style: none;
}

/* 2. Top Solid Blue Header (Lawson Ticket Style) */
.site-header {
  background-color: var(--blue);
  color: #ffffff;
  border-bottom: 2px solid var(--blue-hover);
}

.header-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Header Logo Image */
.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.header-logo-img {
  height: 32px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  display: block;
}

.brand-sub {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  border-left: 1px solid rgba(255, 255, 255, 0.35);
  padding-left: 14px;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  padding: 0;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #ffffff;
}

.live-dot {
  width: 6px;
  height: 6px;
  background-color: #55efc4;
  display: inline-block;
}

.header-cta-link {
  color: #ffffff;
  background: transparent;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.header-cta-link:hover {
  background: transparent;
  color: #dbeafe;
  text-decoration: underline;
}

/* 3. Sub-Navigation Bar (Horizontal Link Strip) */
.sub-nav-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border);
}

.sub-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  gap: 4px;
}

.nav-link-item {
  display: inline-block;
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #444444;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.15s ease;
}

.nav-link-item:hover, .nav-link-item.active {
  color: var(--blue);
  text-decoration: none;
  border-bottom-color: var(--blue);
  background-color: var(--blue-light);
}

/* 4. Notice / Announcement Strip */
.notice-strip {
  background-color: #fff9e6;
  border-bottom: 1px solid #fae69e;
  padding: 9px 20px;
  font-size: 0.82rem;
  color: #7a5c00;
}

.notice-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-icon {
  font-weight: bold;
  font-size: 0.9rem;
}

/* 5. Main Content Wrapper: Clean, open, unboxed canvas */
.main-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 64px;
}

/* 6. Section Container: Unboxed, separated by subtle editorial divider line */
.section-block {
  background-color: transparent;
  border: none;
  border-top: 1px solid var(--border);
  padding: 44px 0 36px;
  margin-bottom: 0;
}

.section-block:first-of-type {
  border-top: none;
  padding-top: 16px;
}

/* Section Headings: Classy serif with vertical blue anchor */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--ink);
  border-left: 3px solid var(--blue);
  padding-left: 12px;
  margin-bottom: 24px;
  line-height: 1.3;
}

.section-tag-aside {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}

/* 7. Tags & Badges: Unboxed inline metadata */
.badge-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--ink-mid);
}

.badge {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  font-size: inherit;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.badge-red-solid {
  color: var(--tag-red);
  font-weight: 600;
}

.badge-red-solid::before {
  content: "● ";
  font-size: 0.65rem;
  margin-right: 6px;
}

.badge-blue-outline {
  color: var(--ink-mid);
}

.badge-blue-outline::before {
  content: "· ";
  margin-right: 8px;
  color: var(--ink-muted);
}

.badge-gray-outline {
  color: var(--ink-light);
}

.badge-gray-outline::before {
  content: "· ";
  margin-right: 8px;
  color: var(--ink-muted);
}

/* 8. Hero / Profile Section: Elegant serif publication styling */
.hero-headline {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-grid {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  align-items: start;
}

.hero-img-box {
  border: none;
  background-color: transparent;
  padding: 0;
}

.hero-img-box img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-lead {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

.hero-body {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: var(--ink-mid);
  line-height: 1.72;
}

/* Stats / Metrics Data Table: Unboxed definition list */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  border: none;
  border-top: 1px solid var(--border);
  font-size: 0.94rem;
}

.data-table th, .data-table td {
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  background-color: transparent;
}

.data-table th {
  color: var(--ink-light);
  font-family: var(--font-serif);
  font-weight: 600;
  width: 140px;
}

.data-table td {
  color: var(--ink);
  font-family: var(--font-serif);
}

/* 9. Card Grid: Disciplines & Services (Unboxed editorial columns) */
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 20px;
}

.util-card {
  border: none;
  background-color: transparent;
  padding: 16px 0 0 0;
  border-top: 2px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-num-tag {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--blue);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--ink);
}

.card-desc {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.6;
}

/* Skills list (unboxed) */
.skills-tags-wrap {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  color: var(--ink-mid);
}

.skills-label {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.skills-tags-wrap .badge {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
  color: var(--ink);
}

.skills-tags-wrap .badge::before {
  content: "· ";
  margin-right: 6px;
  color: var(--ink-muted);
}

/* 10. Vaults / Repository List (Unboxed directories) */
.vaults-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 16px;
}

.vault-box {
  border: none;
  background-color: transparent;
}

.vault-box-header {
  background-color: transparent;
  padding: 0 0 10px 0;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
  border-bottom: 1px solid var(--border-dark);
}

.vault-box-list {
  padding: 4px 0;
}

.vault-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px dotted var(--border);
  font-size: 0.95rem;
  font-family: var(--font-serif);
}

.vault-row:last-child {
  border-bottom: 1px dotted var(--border);
}

.vault-row a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

/* Master Archive Unboxed Banner */
.master-vault-bar {
  margin-top: 24px;
  background-color: transparent;
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.master-vault-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}

.btn-blue {
  background-color: var(--blue);
  color: #ffffff !important;
  padding: 8px 18px;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none !important;
  border: none;
  display: inline-block;
  transition: background-color 0.15s ease;
}

.btn-blue:hover {
  background-color: var(--blue-hover);
}

/* 11. BRANDING & LOGO CATALOGUE: Clean artwork frame without card boxes */
.branding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.brand-item-card {
  border: none;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.brand-card-top {
  padding: 0 0 6px 0;
  background-color: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-serif);
  font-size: 0.98rem;
}

.brand-card-top strong {
  color: var(--ink);
  font-weight: 600;
}

.brand-card-top span {
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

/* Essential: Black frame so white logos stay crisp and distinct */
.brand-card-img {
  padding: 24px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #111111;
  border: 1px solid #282828;
  transition: border-color 0.15s ease;
}

.brand-item-card:hover .brand-card-img {
  border-color: var(--blue);
}

.brand-card-img img {
  max-height: 88px;
  max-width: 100%;
  object-fit: contain;
}

.brand-card-footer {
  padding: 4px 0 0 0;
  background-color: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-serif);
  font-size: 0.84rem;
  color: var(--ink-light);
}

/* 12. Exhibition Posters Gallery: Museum-grade, unboxed artwork presentation */
.poster-grid-5 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
  gap: 24px;
  margin-top: 18px;
}

.poster-card {
  border: none;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.poster-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  background-color: #f7f7f7;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid #ebebeb;
  transition: border-color 0.15s ease;
}

.poster-card:hover .poster-card-img {
  border-color: var(--blue);
}

.poster-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.poster-card-body {
  padding: 4px 0 0 0;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background-color: transparent;
  border: none;
  color: var(--ink);
}

.poster-card-body strong {
  font-weight: 600;
  color: var(--ink);
}

.poster-card-body span {
  color: var(--ink-muted);
  font-size: 0.84rem;
}

/* 13. Case Studies: Elegant horizontal editorial entries (unboxed) */
.case-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 32px;
  margin-top: 20px;
}

.case-card-horiz {
  border: none;
  background-color: transparent;
  display: flex;
  gap: 18px;
  padding: 0 0 20px 0;
  border-bottom: 1px solid var(--border-light);
}

.case-thumb {
  width: 125px;
  height: 96px;
  flex-shrink: 0;
  background-color: #f5f5f5;
  border: 1px solid #eeeeee;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.case-badge {
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.case-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.case-desc {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.55;
}

/* 14. URL Copy & FAQ Block: Refined unboxed inline share */
.url-copy-block {
  margin-top: 24px;
  padding: 16px 0;
  background-color: transparent;
  border: none;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.url-input-field {
  padding: 7px 12px;
  border: 1px solid var(--border);
  background-color: #fafafa;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--ink);
  min-width: 270px;
  max-width: 100%;
}

.btn-url-copy {
  padding: 7px 16px;
  border: 1px solid var(--blue);
  background-color: #ffffff;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.84rem;
  font-family: var(--font-serif);
  transition: all 0.15s ease;
  display: inline-block;
}

.btn-url-copy:hover {
  background-color: var(--blue);
  color: #ffffff;
}

/* 15. Solid Charcoal Footer */
.site-footer {
  background-color: var(--dark-grey);
  color: #ffffff;
  border-top: 3px solid #1a1a1a;
  padding: 36px 0 28px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-desc {
  font-size: 0.78rem;
  color: var(--dark-grey-text);
  line-height: 1.5;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--dark-grey-border);
  padding-bottom: 4px;
}

.footer-col-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
}

.footer-col-list a {
  color: var(--dark-grey-text);
  text-decoration: none;
}

.footer-col-list a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom-bar {
  border-top: 1px solid var(--dark-grey-border);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.72rem;
  color: #888888;
}

/* 16. Discreet Toast */
#toast-badge {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--blue);
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 9999;
}

#toast-badge.active {
  opacity: 1;
  transform: translateY(0);
}

/* 17. Responsive Breakpoints */
@media (max-width: 900px) {
  .card-grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .branding-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-grid-2 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .vaults-container {
    grid-template-columns: 1fr;
  }

  .branding-grid {
    grid-template-columns: 1fr;
  }

  .card-grid-4 {
    grid-template-columns: 1fr;
  }

  .footer-links-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .header-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 18. Text-Based Minimalist Resume Layout (No boxes, pure typographic document) */
.text-resume-shell {
  max-width: 820px;
  margin: 24px auto 64px;
  padding: 0 24px;
  font-family: var(--font-serif);
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--ink);
  background-color: transparent;
}

.text-resume-doc {
  padding: 24px 0;
  border: none;
  background-color: transparent;
}

.text-rule-double {
  border: none;
  border-top: 2px solid var(--ink);
  margin: 20px 0;
}

.text-rule-single {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 20px 0;
}

.text-sec-head {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 24px 0 12px;
  display: block;
}

.text-sec-head .sec-sym {
  color: var(--blue);
  margin-right: 6px;
}

.text-item-title {
  font-weight: 700;
  color: var(--ink);
  margin-top: 14px;
  display: block;
}

.text-bullet-list {
  padding-left: 20px;
  margin: 8px 0 16px;
}

.text-bullet-list li {
  margin-bottom: 6px;
  color: var(--ink-mid);
}

.text-bullet-list li::marker {
  content: "• ";
  color: var(--blue);
}

.text-mono-row {
  display: flex;
  justify-content: space-between;
  margin: 4px 0;
  border-bottom: 1px dotted var(--border-light);
  padding-bottom: 3px;
}

.text-mono-row .left {
  color: var(--ink);
}

.text-mono-row .right {
  color: var(--ink-light);
}

@media (max-width: 640px) {
  .text-resume-doc {
    padding: 20px 16px;
  }
  .text-mono-row {
    flex-direction: column;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 6px;
    margin-bottom: 6px;
  }
}

/* ==========================================================================
   21. Image Expansion Lightbox & Zoom Affordance
   ========================================================================== */
.poster-card,
.brand-item-card,
.case-card-horiz,
.case-card-horiz .case-thumb,
.hero-img-box,
.poster-card img,
.brand-card-img img,
.case-thumb img,
.hero-img-box img {
  cursor: zoom-in;
}

.poster-card-img,
.brand-card-img,
.case-thumb,
.hero-img-box {
  position: relative;
  overflow: hidden;
}

.poster-card-img::after,
.brand-card-img::after,
.case-thumb::after,
.hero-img-box::after {
  content: "＋ বড় করুন (Expand)";
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(17, 17, 17, 0.88);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 500;
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
  z-index: 3;
  white-space: nowrap;
}

.poster-card:hover .poster-card-img::after,
.brand-item-card:hover .brand-card-img::after,
.case-card-horiz:hover .case-thumb::after,
.hero-img-box:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal Shell */
.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.image-lightbox.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.lightbox-active {
  overflow: hidden !important;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.94);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Lightbox Header Bar */
.lightbox-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  gap: 12px;
  flex-shrink: 0;
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.lightbox-counter {
  background: var(--blue);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.lightbox-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-sub {
  font-size: 0.78rem;
  color: var(--ink-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-left: 1px solid var(--border);
  padding-left: 10px;
}

.lightbox-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.lightbox-btn {
  background-color: #f5f5f5;
  border: 1px solid var(--border);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.lightbox-btn:hover {
  background-color: #ebebeb;
  border-color: #999999;
}

.lightbox-close {
  background-color: #e02424;
  border: 1px solid #b91c1c;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  user-select: none;
}

.lightbox-close:hover {
  background-color: #c81e1e;
}

/* Lightbox Stage (Image Container) */
.lightbox-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
  overflow: hidden;
  min-height: 0;
  position: relative;
  cursor: zoom-out;
}

.lightbox-frame {
  max-width: 90vw;
  max-height: calc(85vh - 90px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
  transition: transform 0.2s ease;
}

.lightbox-frame.is-brand {
  background-color: #111111;
  border: 1px solid #333333;
  padding: 40px;
}

.lightbox-frame img {
  max-width: 100%;
  max-height: calc(85vh - 90px);
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
  display: block;
  user-select: none;
  animation: lightboxFadeIn 0.18s ease-out;
}

@keyframes lightboxFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.lightbox-frame.is-brand img {
  max-height: min(380px, 48vh);
  max-width: min(480px, 70vw);
  box-shadow: none;
}

/* Bottom Hint */
.lightbox-bottom {
  text-align: center;
  padding: 6px 0 0;
  flex-shrink: 0;
}

.lightbox-hint {
  font-size: 0.74rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.3px;
}

@media (max-width: 768px) {
  .lightbox-shell {
    padding: 10px;
  }
  .lightbox-bar {
    padding: 6px 10px;
  }
  .lightbox-sub {
    display: none;
  }
  .lightbox-btn {
    padding: 5px 8px;
    font-size: 0.72rem;
  }
  .lightbox-close {
    padding: 5px 10px;
    font-size: 0.72rem;
  }
  .lightbox-hint {
    font-size: 0.68rem;
  }
  .lightbox-frame.is-brand {
    padding: 20px;
  }
}


