/* ═══════════════════════════════════════════════════════════
   MICHAEL KINGSBERRY PORTFOLIO — STYLESHEET
   Dark cinematic design for a Multimedia Designer / Video Producer
═══════════════════════════════════════════════════════════ */

/* ─── DESIGN TOKENS ─────────────────────────────────────── */
:root {
  /* Colors */
  --bg-0:           #07070f;
  --bg-1:           #0d0d18;
  --bg-2:           #131320;
  --bg-card:        #16162a;
  --bg-card-hover:  #1d1d35;
  --border:         #222238;
  --border-light:   #2d2d4a;

  --gold:           #c8a84b;
  --gold-dim:       rgba(200, 168, 75, 0.12);
  --gold-glow:      rgba(200, 168, 75, 0.25);
  --indigo:         #7c7cf8;
  --indigo-dim:     rgba(124, 124, 248, 0.12);

  --text-1:         #eeeef8;
  --text-2:         #9090b8;
  --text-3:         #55556e;

  /* Typography */
  --font-display:   'DM Serif Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py:     7rem;
  --container-px:   1.5rem;
  --max-w:          1160px;

  /* Radii */
  --r-sm:  6px;
  --r-md:  12px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Shadows */
  --shadow-card:    0 4px 32px rgba(0,0,0,0.5);
  --shadow-hover:   0 8px 48px rgba(0,0,0,0.7);
  --shadow-glow:    0 0 48px rgba(200, 168, 75, 0.15);

  /* Transitions */
  --t-fast:    0.18s ease;
  --t-smooth:  0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-1);
  background: var(--bg-0);
  overflow-x: hidden;
}

img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }

/* ─── TYPOGRAPHY SCALE ──────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 400; }

/* ─── UTILITIES ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.section { padding-block: var(--section-py); }

.section-header { text-align: center; margin-bottom: 3.5rem; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-1);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 52ch;
  margin-inline: auto;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all var(--t-smooth);
  white-space: nowrap;
}

.btn--primary {
  background: var(--gold);
  color: #07070f;
  box-shadow: 0 4px 20px var(--gold-glow);
}
.btn--primary:hover {
  background: #deba60;
  box-shadow: 0 6px 32px rgba(200,168,75,0.4);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--text-1);
  border: 1px solid var(--border-light);
}
.btn--ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ─── TAGS ───────────────────────────────────────────────── */
.tag {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-sm);
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(200,168,75,0.2);
}

.tag-group { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }

/* ─── SCROLL REVEAL ANIMATION ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── VIDEO CONTAINER (responsive 16:9) ─────────────────── */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-2);
}
.video-container iframe,
.video-container .video-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ─── VIDEO PLACEHOLDER ──────────────────────────────────── */
.video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0f0f20 0%, #1a1a30 100%);
  border: 1px solid var(--border-light);
  cursor: default;
}

.vp-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
}

.vp-icon { color: var(--gold); opacity: 0.5; }

.vp-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
}

.vp-hint {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.03em;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  transition: background var(--t-smooth), box-shadow var(--t-smooth);
}

.nav.scrolled {
  background: rgba(7, 7, 15, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--container-px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: #07070f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-logo-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-1);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  padding: 0.45rem 0.6rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  color: var(--text-2);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav-link:hover { color: var(--text-1); background: rgba(255,255,255,0.05); }

.nav-link--cta {
  background: var(--gold-dim);
  color: var(--gold);
  border: 1px solid rgba(200,168,75,0.25);
  margin-left: 0.5rem;
}
.nav-link--cta:hover {
  background: var(--gold);
  color: #07070f;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  border-radius: var(--r-sm);
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: all var(--t-smooth);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem var(--container-px) 6rem;
  overflow: hidden;
}

/* Background orbs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: orb-drift 12s ease-in-out infinite alternate;
}
.hero-orb--1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, #c8a84b, transparent 70%);
  top: -15%; left: -10%;
  animation-duration: 14s;
}
.hero-orb--2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, #7c7cf8, transparent 70%);
  bottom: -10%; right: -8%;
  animation-duration: 18s;
  animation-delay: -5s;
}
.hero-orb--3 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, #c8a84b, transparent 70%);
  top: 60%; left: 50%;
  opacity: 0.1;
  animation-duration: 22s;
  animation-delay: -9s;
}

@keyframes orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(40px, -30px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.hero-eyebrow {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.2s forwards;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  line-height: 1.0;
  color: var(--text-1);
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.9s ease 0.4s forwards;
}
.hero-name em {
  font-style: italic;
  color: var(--gold);
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text-1);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
  opacity: 0;
  animation: fade-up 0.9s ease 0.5s forwards;
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fade-up 0.9s ease 0.6s forwards;
}

.hero-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-2);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade-up 0.9s ease 0.75s forwards;
}

.availability-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
  animation: pulse-dot 2.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 8px rgba(74,222,128,0.6); }
  50%       { box-shadow: 0 0 16px rgba(74,222,128,0.9); }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  opacity: 0;
  animation: fade-up 0.9s ease 0.9s forwards;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 1;
  opacity: 0;
  animation: fade-up 1s ease 1.4s forwards;
}
.hero-scroll__label {
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-3);
}
.hero-scroll__line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-3), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50%       { transform: scaleY(1.4); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════
   FEATURED PROJECT
═══════════════════════════════════════════════════════════ */
.featured { background: var(--bg-1); }

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}

.featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--text-1);
  margin-bottom: 1rem;
}

.featured-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 0.75rem;
}
.featured-support {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
  margin-bottom: 2rem;
}

.featured-meta { display: flex; flex-direction: column; gap: 0.75rem; }
.featured-meta__row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.featured-meta__row:last-child { border-bottom: none; }
.featured-meta__row dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.featured-meta__row dd { font-size: 0.9rem; color: var(--text-2); }

/* ═══════════════════════════════════════════════════════════
   SELECTED WORK
═══════════════════════════════════════════════════════════ */
.work { background: var(--bg-0); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.work-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.work-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--t-smooth), box-shadow var(--t-smooth), border-color var(--t-smooth);
}
.work-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-light);
}

.work-card__body { padding: 1.25rem 1.4rem 1.6rem; }

.work-card__cat {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: 0.5rem;
}

.work-card__title {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 0.45rem;
  transition: color var(--t-fast);
}
.work-card:hover .work-card__title { color: var(--gold); }

.work-card__desc { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* ═══════════════════════════════════════════════════════════
   SKILLS
═══════════════════════════════════════════════════════════ */
.skills {
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.skills::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(200,168,75,0.06), transparent);
  pointer-events: none;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  position: relative;
}

.skill-card {
  padding: 2rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: transform var(--t-smooth), box-shadow var(--t-smooth), border-color var(--t-smooth);
}
.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--gold);
}

.skill-card__icon {
  color: var(--gold);
  margin-bottom: 1.25rem;
  opacity: 0.9;
}

.skill-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 0.6rem;
}

.skill-card__desc { font-size: 0.88rem; color: var(--text-2); line-height: 1.65; }

/* ═══════════════════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════════════════ */
.contact { background: var(--bg-0); }

.contact-card {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  padding: 4rem 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-glow);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--text-1);
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

.contact-desc {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 48ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════ */
.footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
  background: var(--bg-1);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy { font-size: 0.82rem; color: var(--text-3); }

.footer-nav { display: flex; gap: 1.5rem; }
.footer-link {
  font-size: 0.82rem;
  color: var(--text-3);
  transition: color var(--t-fast);
}
.footer-link:hover { color: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 960px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  :root { --section-py: 5rem; }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 640px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  :root { --section-py: 4rem; --container-px: 1.25rem; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(7,7,15,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--t-smooth);
  }
  .nav-menu.open { max-height: 460px; }
  .nav-link {
    padding: 0.85rem 1.5rem;
    border-radius: 0;
    font-size: 1rem;
    width: 100%;
  }
  .nav-link--cta {
    margin: 0.75rem 1.5rem 0;
    width: calc(100% - 3rem);
    text-align: center;
    border-radius: var(--r-md);
  }

  .nav-logo-text { display: none; }

  .work-grid { grid-template-columns: 1fr; }
  .work-grid--2col { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }

  .contact-card { padding: 2.5rem 1.5rem; }

  .hero-name { letter-spacing: -0.03em; }

  .footer-inner { flex-direction: column; text-align: center; }
}

/* ─── FOCUS STYLES (accessibility) ──────────────────────── */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════════════════
   PUBLISHED WORK — FEATURED PUBLICATION BLOCK
═══════════════════════════════════════════════════════════ */

/* Section background tweak */
.pub-section { background: var(--bg-1); }

/* ── Featured wrapper ──────────────────────────────────── */
.pub-featured {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-smooth), box-shadow var(--t-smooth), border-color var(--t-smooth);
  box-shadow: var(--shadow-card);
}
.pub-featured:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover), 0 0 60px rgba(200, 168, 75, 0.08);
  border-color: rgba(200, 168, 75, 0.3);
}
.pub-featured:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ── Left: visual panel ────────────────────────────────── */
.pub-featured__visual {
  position: relative;
  height: 420px;
  background: linear-gradient(160deg, #0d0d22 0%, #15153a 50%, #0a1a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

/* Gold edge glow */
.pub-featured__visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(200,168,75,0.07), transparent 70%);
  pointer-events: none;
  transition: opacity var(--t-smooth);
}
.pub-featured:hover .pub-featured__visual::after {
  opacity: 1.6;
}

/* Real cover image */
.pub-featured__cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--t-smooth), opacity var(--t-smooth);
}
.pub-featured:hover .pub-featured__cover-img {
  transform: scale(1.03);
}

/* ── Book placeholder ──────────────────────────────────── */
.pub-featured__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.pub-featured__placeholder[hidden] { display: none; }

/* Book 3-D shape */
.pub-featured__book {
  display: flex;
  align-items: stretch;
  height: 260px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.7));
  transition: transform var(--t-smooth);
}
.pub-featured:hover .pub-featured__book {
  transform: perspective(600px) rotateY(-6deg) translateX(6px);
}

/* Spine */
.pub-featured__spine {
  width: 22px;
  background: linear-gradient(to bottom, #a07830, #7a5820, #a07830);
  border-radius: 3px 0 0 3px;
  flex-shrink: 0;
}

/* Face */
.pub-featured__face {
  width: 175px;
  background: linear-gradient(160deg, #1c1c3a 0%, #141430 40%, #1a1a35 100%);
  border: 1px solid rgba(200,168,75,0.2);
  border-left: none;
  border-radius: 0 6px 6px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.pub-featured__face::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.5;
}
.pub-featured__face::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.pub-featured__book-icon {
  color: var(--gold);
  opacity: 0.5;
}

.pub-featured__book-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text-1);
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.pub-featured__book-author {
  font-size: 0.72rem;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

/* ── Hover "View Pages" cue ────────────────────────────── */
.pub-featured__view-cue {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.1rem;
  background: rgba(200, 168, 75, 0.15);
  border: 1px solid rgba(200, 168, 75, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gold);
  opacity: 0;
  transition: opacity var(--t-smooth), transform var(--t-smooth);
  white-space: nowrap;
}
.pub-featured:hover .pub-featured__view-cue {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── "Published" badge ─────────────────────────────────── */
.pub-featured__badge {
  position: absolute;
  top: 1.1rem;
  left: 1.1rem;
  padding: 0.3rem 0.8rem;
  background: rgba(200, 168, 75, 0.14);
  border: 1px solid rgba(200, 168, 75, 0.3);
  border-radius: var(--r-sm);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Right: meta panel ─────────────────────────────────── */
.pub-featured__meta {
  padding: 2.5rem 2.5rem 2.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pub-featured__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.pub-featured__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--text-1);
  line-height: 1.25;
  transition: color var(--t-fast);
}
.pub-featured:hover .pub-featured__title { color: var(--gold); }

.pub-featured__desc {
  font-size: 0.97rem;
  color: var(--text-2);
  line-height: 1.75;
  max-width: 50ch;
}

/* Proof points */
.pub-featured__proofs {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem;
  background: rgba(200, 168, 75, 0.04);
  border-left: 2px solid rgba(200, 168, 75, 0.3);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.pub-featured__proof {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-2);
}

.pub-proof__check {
  color: var(--gold);
  flex-shrink: 0;
}

/* CTA button */
.pub-featured__cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.6rem;
  background: var(--gold);
  color: #07070f;
  border-radius: var(--r-md);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: background var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  box-shadow: 0 4px 20px rgba(200, 168, 75, 0.25);
}
.pub-featured:hover .pub-featured__cta {
  background: #deba60;
  box-shadow: 0 6px 32px rgba(200, 168, 75, 0.4);
  transform: translateY(-1px);
}

/* Hint line */
.pub-featured__slide-hint {
  font-size: 0.72rem;
  color: var(--text-3);
  letter-spacing: 0.05em;
  margin-top: -0.4rem;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 960px) {
  .pub-featured {
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
  }
  .pub-featured__visual { height: 360px; }
}

@media (max-width: 640px) {
  .pub-featured {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .pub-featured__visual {
    height: 280px;
    width: 100%;
  }
  .pub-featured__meta {
    padding: 2rem 1.5rem;
  }
}


/* ═══════════════════════════════════════════════════════════
   LIGHTBOX — OVERLAY & DIALOG
═══════════════════════════════════════════════════════════ */

/* Body scroll lock */
.lb-body-lock {
  overflow: hidden;
}

/* Full-screen overlay */
.lb-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(4, 4, 10, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;

  /* Hidden by default */
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.lb-overlay--open {
  opacity: 1;
  pointer-events: auto;
}

/* Dialog card */
.lb-dialog {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(200,168,75,0.08);
  padding: 3rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;

  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.lb-overlay--open .lb-dialog {
  transform: translateY(0) scale(1);
}

/* Close button */
.lb-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast);
}
.lb-close:hover {
  background: rgba(255,255,255,0.12);
  color: var(--text-1);
}

/* Slide counter */
.lb-counter {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ── Image stage ─────────────────────────────────────── */
.lb-stage {
  position: relative;
  width: 100%;
  min-height: 320px;
  max-height: 58vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a18;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.lb-img {
  max-width: 100%;
  max-height: 58vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lb-img--loaded {
  opacity: 1;
}

/* Placeholder shown while image loads or if missing */
.lb-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gold);
  opacity: 0.4;
  pointer-events: none;
}
.lb-img-placeholder[aria-hidden="true"] {
  display: none;
}
.lb-img-placeholder span {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* ── Caption ─────────────────────────────────────────── */
.lb-caption {
  font-size: 0.88rem;
  color: var(--text-2);
  text-align: center;
  max-width: 60ch;
  line-height: 1.55;
  min-height: 1.4em;
}

/* ── Prev / Next buttons ─────────────────────────────── */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-light);
  color: var(--text-2);
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  z-index: 2;
}
.lb-nav:hover {
  background: var(--gold-dim);
  border-color: rgba(200,168,75,0.4);
  color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.lb-nav--prev { left:  -22px; }
.lb-nav--next { right: -22px; }

/* ── Dot indicators ──────────────────────────────────── */
.lb-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.lb-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
  transition: background var(--t-fast), transform var(--t-fast);
}
.lb-dot--active {
  background: var(--gold);
  transform: scale(1.3);
}


/* ── Responsive (old dialog — kept for overlay/nav) ──────── */
@media (max-width: 640px) {
  .lb-nav--prev { left:  -14px; }
  .lb-nav--next { right: -14px; }
}

/* ═══════════════════════════════════════════════════════════
   LIGHTBOX — TABBED GALLERY SYSTEM
═══════════════════════════════════════════════════════════ */

/* ── Dialog override for gallery mode ──────────────────── */
.lb-dialog--gallery {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* CRITICAL: prevents child panels from collapsing to min-content width */
  padding: 0;
  width: min(960px, 95vw);
  min-height: 70vh;
  max-height: 88vh;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #0e0e1e;
  border: 1px solid rgba(200,168,75,0.18);
}

/* ── Header bar ─────────────────────────────────────────── */
.lb-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 1.25rem;
  height: 56px;
  background: rgba(255,255,255,0.025);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}

.lb-header__left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.lb-header__title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  color: var(--text-1);
  white-space: nowrap;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

/* Back button */
.lb-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem 0.3rem 0.55rem;
  background: rgba(200,168,75,0.1);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  transition: background var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.lb-back:hover {
  background: rgba(200,168,75,0.2);
  border-color: rgba(200,168,75,0.45);
}
.lb-back[hidden] { display: none; }

/* Tab navigation */
.lb-tabs {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex: 1;
  justify-content: center;
}
.lb-tabs[hidden] { display: none; }

.lb-tab {
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-3);
  transition: color var(--t-fast), background var(--t-fast);
  white-space: nowrap;
}
.lb-tab:hover { color: var(--text-1); }
.lb-tab--active {
  background: rgba(200,168,75,0.12);
  color: var(--gold);
  font-weight: 600;
}

/* Viewer counter in header */
.lb-viewer-counter {
  margin-left: auto;
  font-size: 0.8rem;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.lb-viewer-counter[hidden] { display: none; }

/* ── Gallery view ───────────────────────────────────────── */
.lb-gallery-view {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.5rem 1.5rem 2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(200,168,75,0.2) transparent;
}
.lb-gallery-view--hidden { display: none; }

/* Tab panels */
.lb-panel { display: block; width: 100%; }
.lb-panel--hidden { display: none; }

/* Watermark notice */
.lb-watermark-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-bottom: 1.25rem;
  padding: 0.6rem 0.9rem;
  background: rgba(200,168,75,0.05);
  border: 1px solid rgba(200,168,75,0.12);
  border-radius: var(--r-sm);
}

/* Image grid — 3-col default (Publication + In Book) */
.lb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

/* ── Publication — Featured Layout ────────────── */
.lb-publication-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.5rem;
  width: 100%;
}
.lb-publication-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lb-publication-item--0 {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.lb-publication-item--1 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.lb-publication-item--2 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.lb-publication-thumb {
  flex: 1;
  background: #0a0a14;
  aspect-ratio: 3 / 4;
}
.lb-publication-thumb .lb-thumb__img {
  object-fit: contain;
}
.lb-publication-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-2);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── In-Book — Specific Overrides ────────────── */
#lb-grid-in-book .lb-thumb {
  background: #fff;
}
#lb-grid-in-book .lb-thumb__img {
  object-fit: contain;
}

/* ── Original Work — Grouped Artwork Cards ──────────── */
.lb-artwork-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

/* One card per sculpture */
.lb-artwork-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-radius: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  background: rgba(255,255,255,0.02);
  transition: border-color var(--t-smooth), box-shadow var(--t-smooth);
}
.lb-artwork-card:hover {
  border-color: rgba(200,168,75,0.25);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}

/* The 2-image row inside each card */
.lb-artwork-card__views {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Each clickable thumb within an artwork card */
.lb-artwork-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  cursor: pointer;
  transition: opacity var(--t-smooth);
}
.lb-artwork-thumb--black {
  background: #000000;
  border-color: rgba(255,255,255,0.05);
}
.lb-artwork-thumb:hover { opacity: 0.88; }
.lb-artwork-thumb:hover .lb-thumb__img--loaded { transform: scale(1.04); }
.lb-artwork-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
  z-index: 2;
}

/* Reuse existing thumb img / ph / wm classes inside artwork thumbs */
.lb-artwork-thumb .lb-thumb__img {
  position: absolute;
  inset: 1.5rem;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  object-fit: contain;
  opacity: 0;
  transition: opacity var(--t-smooth), transform var(--t-smooth);
}
.lb-artwork-thumb .lb-thumb__img--loaded { opacity: 1; }
.lb-artwork-thumb .lb-thumb__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200,168,75,0.2);
  background: linear-gradient(145deg, #0f0f22, #14142e);
}
.lb-artwork-thumb .lb-thumb__wm {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(0,0,0,0.3);
  text-shadow: none;
  pointer-events: none;
  z-index: 2;
}
.lb-artwork-thumb--black .lb-thumb__wm {
  color: rgba(255,255,255,0.4);
}

/* Caption strip at the bottom of each card */
.lb-artwork-card__caption {
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-3);
  background: rgba(0,0,0,0.25);
  border-top: 1px solid rgba(255,255,255,0.05);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Thumbnail button */
.lb-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #141428;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform var(--t-smooth), box-shadow var(--t-smooth), border-color var(--t-smooth);
}
.lb-thumb:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), 0 0 0 1px rgba(200,168,75,0.35);
  border-color: rgba(200,168,75,0.35);
  z-index: 1;
}
.lb-thumb:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Thumbnail placeholder */
.lb-thumb__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200,168,75,0.25);
  background: linear-gradient(145deg, #0f0f22, #14142e);
  transition: opacity var(--t-smooth);
}
.lb-thumb__ph--error {
  color: rgba(255,100,100,0.3);
}

/* Thumbnail real image */
.lb-thumb__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity var(--t-smooth), transform var(--t-smooth);
}
.lb-thumb__img--loaded {
  opacity: 1;
}
.lb-thumb:hover .lb-thumb__img--loaded {
  transform: scale(1.06);
}

/* Watermark badge on thumb */
.lb-thumb__wm {
  position: absolute;
  bottom: 6px;
  right: 7px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.55);
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
  pointer-events: none;
  z-index: 2;
}

/* ── Viewer view ────────────────────────────────────────── */
.lb-viewer-view {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 3.5rem 1.5rem;
  position: relative;
  min-height: 0;
}
.lb-viewer-view--hidden { display: none; }

/* Stage */
.lb-dialog--gallery .lb-stage {
  position: relative;
  width: 1100px;
  max-width: 90vw;
  height: 700px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff; /* Default, overridden by JS */
  padding: 2rem;
  transition: background-color var(--t-smooth);
}
.lb-dialog--gallery .lb-stage.lb-stage--white { background: #ffffff; }
.lb-dialog--gallery .lb-stage.lb-stage--black { background: #000000; }

/* Image */
.lb-dialog--gallery .lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lb-dialog--gallery .lb-img.lb-img--loaded { opacity: 1; }

/* Watermark overlay in viewer */
.lb-wm {
  position: absolute;
  bottom: 14px;
  right: 18px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t-smooth), color var(--t-smooth);
}
.lb-stage--white .lb-wm {
  color: rgba(0,0,0,0.3);
  text-shadow: none;
}
.lb-stage--black .lb-wm {
  color: rgba(255,255,255,0.35);
  text-shadow: 0 1px 4px rgba(0,0,0,0.7);
}
.lb-wm--visible { opacity: 1; }

/* Caption & dots in viewer */
.lb-dialog--gallery .lb-caption {
  font-size: 0.82rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 0.75rem;
  padding: 0 1rem;
  flex-shrink: 0;
}

.lb-dialog--gallery .lb-dots {
  margin-top: 0.6rem;
  flex-shrink: 0;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 300px;
}

/* Nav arrows in gallery dialog */
.lb-dialog--gallery .lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text-1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}
.lb-dialog--gallery .lb-nav:hover {
  background: rgba(200,168,75,0.18);
  border-color: rgba(200,168,75,0.4);
}
.lb-dialog--gallery .lb-nav--prev { left: 0.75rem; }
.lb-dialog--gallery .lb-nav--next { right: 0.75rem; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 760px) {
  .lb-dialog--gallery { width: 98vw; max-height: 92vh; }
  .lb-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
  .lb-gallery-view { padding: 1rem 1rem 1.5rem; }
  .lb-viewer-view { padding: 1rem 3rem 1.25rem; }
  .lb-tabs { gap: 0.1rem; }
  .lb-tab { padding: 0.35rem 0.75rem; font-size: 0.76rem; }
}

@media (max-width: 480px) {
  .lb-grid { grid-template-columns: repeat(2, 1fr); }
  .lb-header { padding: 0 0.85rem; }
  .lb-header__title { font-size: 0.8rem; }
  .lb-tab { padding: 0.3rem 0.55rem; font-size: 0.72rem; }
  .lb-dialog--gallery .lb-nav--prev { left: 0.2rem; }
  .lb-dialog--gallery .lb-nav--next { right: 0.2rem; }
}

