:root {
  --bg-dark: #0b0f14;
  --bg-hero: #141a22;
  --bg-panel: #ffffff;
  --bg-band: #f2f1ed;
  --featured-media-shell-bg: #f5f1ea;
  --featured-media-shell-border: rgba(74, 60, 42, 0.1);
  --featured-media-shell-radius: 22px;
  --featured-media-shell-inner-radius: 14px;
  --featured-media-shell-padding: 14px;
  --text-dark: #1a2027;
  --text-light: #f7f7f3;
  --text-muted: #5a6572;
  --accent: #d6a36a;
  --accent-strong: #c48a4f;
  --line: #d6dbe1;
  --shadow: 0 18px 40px rgba(15, 18, 22, 0.18);
  --hero-glow: rgba(214, 163, 106, 0.22);
  --nav-glass: rgba(15, 20, 28, 0.65);
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text-dark);
  background: #f5f3ef;
  font-size: 18px;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

.inline-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-skip-ink: none;
}

.resume-page a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.resume-page .nav-links a {
  text-decoration: none;
}

.resume-page .main {
  padding-top: 30px;
}

.resume-page .section {
  padding-top: 27px;
}

.resume-center {
  text-align: center;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  background: linear-gradient(120deg, #0f141b 0%, #151b24 45%, #1a2230 100%);
  color: var(--text-light);
  padding: 10px 0 18px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 380px at 50% -10%, rgba(255, 255, 255, 0.08), transparent 70%),
    radial-gradient(800px 320px at 12% 0%, rgba(214, 163, 106, 0.16), transparent 70%);
  opacity: 0.9;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 220px at 12% 10%, var(--hero-glow), transparent 60%),
    radial-gradient(500px 240px at 88% 8%, rgba(141, 170, 214, 0.18), transparent 65%);
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  text-transform: none;
  background: var(--nav-glass);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(6, 10, 16, 0.35);
  backdrop-filter: blur(14px);
}

.brand {
  font-weight: 600;
  letter-spacing: 0.06em;
  font-size: 17px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links a {
  color: var(--text-light);
  opacity: 0.75;
}

.nav-links a.active,
.nav-links a:hover {
  opacity: 1;
}

.nav-links span {
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0;
}

.hero-title {
  text-align: center;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-underline {
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--accent) 30%, var(--accent-strong) 70%, transparent 100%);
  margin: 8px auto 0;
}

.container {
  width: min(1360px, 96vw);
  margin: 0 auto;
}

.main {
  flex: 1;
  background: #ffffff;
  padding: 40px 0 50px;
}

.section {
  padding: 36px 0;
}

.section.band {
  background: var(--bg-band);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(214, 219, 225, 0.7);
  box-shadow: 0 14px 30px rgba(15, 18, 22, 0.12);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  will-change: transform;
}

.panel:hover {
  transform: scale(1.02);
  box-shadow: 0 18px 36px rgba(15, 18, 22, 0.16);
}

@media (hover: none), (pointer: coarse) {
  .panel:hover {
    transform: none;
    box-shadow: 0 14px 30px rgba(15, 18, 22, 0.12);
  }
}

.media-panel {
  padding: 22px;
}

.media-panel .media {
  border: none;
  box-shadow: none;
}

.home-card {
  margin-top: 0;
}

.home-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.home-left .home-card {
  margin-top: 18px;
}

.welcome-card-mobile {
  display: none;
}

.resume-card {
  margin-bottom: 18px;
}

.resume-layout {
  display: grid;
  gap: 50px;
}

.resume-downloads {
  width: min(900px, 100%);
  margin: 0 auto;
  text-align: center;
  padding: 28px 30px;
}

.resume-trophies {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.resume-testimonials {
  width: min(900px, 100%);
  margin: 0 auto;
}

.resume-section-label {
  text-align: center;
  margin-bottom: 30px;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 40px;
}

.testimonial-quote {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0;
  text-transform: none;
  color: #20262d;
}

.testimonial-quote p {
  margin: 0;
}

.testimonial-attribution {
  margin: 22px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.media-stack.trophy-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.resume-embed-shell {
  width: min(1040px, 100%);
  margin: 10px auto 0;
}

.resume-embed-frame {
  width: 100%;
  max-width: 100%;
  height: 820px;
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(214, 219, 225, 0.9);
  box-shadow: var(--shadow);
  background: #e8ebf0;
}

.section-title {
  margin: 8px 0 12px;
  font-size: 26px;
}

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 10px;
}

.quote-card {
  background: var(--bg-band);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 18px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--accent-strong);
  color: var(--accent-strong);
  font-weight: 600;
  background: #ffffff;
}

.btn:hover {
  background: rgba(196, 138, 79, 0.08);
}

.resume-viewer {
  display: block;
  width: 100%;
  min-width: 960px;
  height: 1400px;
  border: 0;
  background: #ffffff;
}

@media (max-width: 1100px) {
  .resume-embed-frame {
    height: 720px;
  }
}

.card {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 24px;
}

.card.dark {
  background: #101418;
  color: var(--text-light);
}

.media {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.home-headshot {
  max-width: 520px;
}

@media (max-width: 1100px) {
  .home-headshot {
    max-width: 100%;
  }
}

.home-grid {
  grid-template-columns: 1.35fr 1.3fr 0.75fr;
  align-items: start;
}


.resume-intro {
  margin-bottom: 16px;
}

.connect-note {
  margin-top: 28px;
  text-align: center;
}

.linkedin-badge-shell {
  width: 320px;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.LI-profile-badge {
  display: flex;
  justify-content: center;
  width: 100%;
}

.linkedin-mobile-link {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #0a66c2;
  color: #ffffff;
  font-weight: 700;
  text-align: center;
}

.LI-profile-badge > .LI-simple-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.resume-caption {
  text-align: center;
  margin-top: 12px;
}

.mini-section {
  margin-top: 18px;
}

ul.compact {
  margin: 8px 0 0;
}

ul.compact li {
  margin-bottom: 6px;
}

.trophy {
  margin: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(214, 219, 225, 0.7);
  box-shadow: 0 8px 20px rgba(15, 18, 22, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.trophy-image-wrapper {
  padding: 0;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
}

.trophy .media {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  border-radius: inherit;
  transition: transform 0.2s ease;
}

.trophy-guitar,
.trophy-ps {
  background: linear-gradient(180deg, #d2c1aa 0%, #e6efef 100%);
}

.trophy-guitar .media,
.trophy-ps .media {
  object-fit: contain;
  object-position: center center;
}

.trophy:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.trophy:hover .media {
  transform: scale(1.02);
}

.trophy figcaption {
  text-align: center;
  margin-top: 12px;
}

.award-caption {
  text-align: center;
  padding: 14px 14px 16px;
  margin-top: 14px;
}

.award-title {
  font-weight: 600;
}

.award-year {
  font-size: 0.9rem;
  color: #777777;
  margin-top: 4px;
}

.award-tagline {
  margin: 10px 0 0;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #4c5560;
}

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

  .home-card {
    margin-top: 12px;
  }

  .resume-downloads {
    width: min(820px, 100%);
  }

  .media-stack.trophy-stack {
    grid-template-columns: 1fr;
  }

  .resume-embed-shell {
    display: none;
  }
}

@media (max-width: 720px) {
  .resume-page .container {
    width: min(100%, calc(100vw - 24px));
  }

  .hero {
    padding: 8px 0 14px;
  }

  .main {
    padding: 14px 0 40px;
  }

  .section {
    padding: 12px 0 24px;
  }

  .hero-title {
    margin-top: 12px;
    font-size: clamp(12px, 8vw, 22px);
  }

  .nav {
    flex-direction: column;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 18px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-grid,
  .home-stack {
    gap: 18px;
  }

  .home-card {
    margin-top: 0;
  }

  .welcome-card-mobile {
    display: block;
  }

  .welcome-card {
    display: none;
  }

  .link-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .link-list a {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
  }

  .resume-layout {
    gap: 22px;
  }

  .resume-downloads,
  .resume-testimonials,
  .resume-trophies,
  .trophy,
  .resume-embed-frame {
    width: 100%;
    max-width: 100%;
  }

  .resume-downloads {
    padding: 24px 20px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .resume-embed-frame {
    height: 70vh;
    min-height: 420px;
    border-radius: 14px;
    overflow-x: hidden;
  }

  .resume-viewer {
    min-width: 100%;
    width: 100%;
    height: 100%;
  }

  .trophy .media {
    height: auto;
  }
}

.media-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.embed {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--accent-strong);
  font-weight: 600;
  cursor: pointer;
}

.media-action:hover {
  border-color: var(--accent-strong);
}

body:has(.modal.open) {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 9, 12, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(24px, env(safe-area-inset-top, 0px)) 24px max(24px, env(safe-area-inset-bottom, 0px));
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-panel {
  width: min(1000px, 90vw);
  height: min(85vh, 800px);
  max-width: 100%;
  max-height: 100%;
  background: #0f1216;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.video-modal-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 12px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
}

.video-modal-panel .modal-close {
  position: static;
  justify-self: end;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lightbox-panel {
  width: min(1200px, 96vw);
  height: min(94dvh, 1100px);
  max-width: 100%;
  max-height: 100%;
  padding: 16px;
  background: rgba(15, 18, 22, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: stretch;
}

.lightbox-modal.mode-tall {
  background: rgba(7, 9, 12, 0.56);
  align-items: flex-start;
  padding-top: max(12px, calc(var(--lightbox-vv-top, 0px) + 12px));
  padding-right: 0;
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  padding-left: 0;
}

.lightbox-tall-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  box-sizing: border-box;
  padding: calc(var(--lightbox-vv-top, 0px) + 12px) 68px 10px 16px;
  min-height: 48px;
  background: linear-gradient(180deg, rgba(6, 8, 11, 0.98), rgba(6, 8, 11, 0.92));
  flex-shrink: 0;
}

.lightbox-tall-header[hidden] {
  display: none;
}

.lightbox-tall-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.lightbox-tall-counter {
  margin-left: auto;
  margin-right: 44px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.54);
}

.lightbox-tall-close {
  position: absolute;
  top: calc(var(--lightbox-vv-top, 0px) + 8px);
  right: 12px;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 200ms ease;
}

.lightbox-tall-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-panel.mode-standard {
  width: min(1200px, 90vw);
  height: min(80dvh, 1100px);
}

.lightbox-panel.mode-tall {
  width: 100vw;
  height: calc(100dvh - max(12px, calc(var(--lightbox-vv-top, 0px) + 12px)) - max(12px, env(safe-area-inset-bottom, 0px)));
  max-width: 100vw;
  max-height: calc(100dvh - max(12px, calc(var(--lightbox-vv-top, 0px) + 12px)) - max(12px, env(safe-area-inset-bottom, 0px)));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(15, 18, 22, 0.82);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
}

.lightbox-modal.mode-tall.mode-tall-desktop {
  align-items: center;
  padding: 24px;
  background: rgba(7, 9, 12, 0.72);
}

.lightbox-panel.mode-tall.mode-tall-desktop {
  width: min(1280px, 94vw);
  height: min(88vh, 980px);
  max-width: min(1280px, 94vw);
  max-height: min(88vh, 980px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(214, 163, 106, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(15, 18, 22, 0.96), rgba(10, 12, 16, 0.94));
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.lightbox-stage {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 1.6vw, 18px);
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  flex: 1;
}

.lightbox-panel.mode-tall .lightbox-stage {
  position: relative;
  align-items: stretch;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  flex: 1;
  min-height: 0;
}

.lightbox-panel.mode-tall.mode-tall-desktop .lightbox-stage {
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  padding: 20px 24px 16px;
}

.lightbox-stage.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.lightbox-stage.is-single .lightbox-figure {
  grid-column: 1;
}

.lightbox-scroll-hint {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 4vw, 32px);
  transform: translateX(-50%);
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(8, 10, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  pointer-events: none;
  z-index: 2;
  transition: opacity 180ms ease, transform 180ms ease;
}

.lightbox-scroll-hint.is-dismissed {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.lightbox-scroll-hint[hidden] {
  display: none;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.lightbox-image-zoom-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  overflow: visible;
}

.lightbox-image-zoom-container[hidden] {
  display: none;
}

.lightbox-figure.mode-tall {
  display: block;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0 24px;
}

.lightbox-figure.mode-tall .lightbox-image-zoom-container {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
}

.lightbox-figure.mode-tall.is-contained-tall-image {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.lightbox-figure.mode-tall.mode-tall-mobile-centered {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}

.lightbox-modal.is-mobile-zoom-locked,
.lightbox-panel.is-mobile-zoom-locked,
.lightbox-figure.is-mobile-zoom-locked {
  overflow: hidden;
}

.lightbox-image-zoom-container.mobile-gesture-zoom {
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: auto;
}

.lightbox-figure.mode-tall .lightbox-image-zoom-container.mobile-gesture-zoom {
  overflow: visible;
  overscroll-behavior: auto;
}

.lightbox-image-zoom-container.mobile-gesture-zoom.is-mobile-zoom-active,
.lightbox-image-zoom-container.mobile-gesture-zoom.is-mobile-pinching {
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
}

.lightbox-figure.mode-tall.mode-tall-desktop {
  padding: 18px 18px 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(8, 10, 14, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  scrollbar-gutter: stable both-edges;
}

.lightbox-figure.is-zoomed {
  display: block;
  overflow: auto;
  cursor: zoom-out;
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  border-radius: 12px;
  border: 1px solid rgba(214, 219, 225, 0.18);
  box-shadow: var(--shadow);
  background: #0f1216;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
  transform-origin: center center;
  user-select: none;
  -webkit-user-drag: none;
}

.lightbox-image.is-zoomed {
  max-width: none;
  max-height: none;
  margin: 0 auto;
  cursor: zoom-out;
}

.lightbox-figure.zoom-disabled .lightbox-image,
.lightbox-modal.zoom-disabled .lightbox-image {
  cursor: default;
}

.lightbox-image-zoom-container.mobile-gesture-zoom .lightbox-image {
  pointer-events: auto;
}

.lightbox-image:fullscreen,
.lightbox-image:-webkit-full-screen {
  max-width: 100vw;
  max-height: 100vh;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #000;
  object-fit: contain;
}

.lightbox-video {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  margin: auto;
  border-radius: 12px;
  border: 1px solid rgba(214, 219, 225, 0.18);
  box-shadow: var(--shadow);
  background: #0f1216;
  object-fit: contain;
}

.lightbox-figure.mode-tall .lightbox-image,
.lightbox-figure.mode-tall .lightbox-video {
  width: 100%;
  max-width: 100%;
  max-height: none;
  height: auto;
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  box-shadow: none;
  object-fit: contain;
}

.lightbox-figure.mode-tall.mode-tall-mobile-centered .lightbox-image,
.lightbox-figure.mode-tall.mode-tall-mobile-centered .lightbox-video {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  height: auto;
  margin: auto;
  border-radius: 12px;
  border: 1px solid rgba(214, 219, 225, 0.18);
  box-shadow: var(--shadow);
}

.lightbox-figure.mode-tall.mode-tall-desktop .lightbox-image,
.lightbox-figure.mode-tall.mode-tall-desktop .lightbox-video {
  width: min(100%, 920px);
  max-width: min(100%, 920px);
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid rgba(214, 219, 225, 0.16);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.lightbox-figure.mode-tall.has-tall-image .lightbox-image {
  width: 100%;
  max-width: none;
}

.lightbox-figure.mode-tall.is-contained-tall-image:not(.is-zoomed) .lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  border-radius: 12px;
  border: 1px solid rgba(214, 219, 225, 0.18);
  box-shadow: var(--shadow);
}

.lightbox-figure.mode-tall.mode-tall-desktop.has-tall-image .lightbox-image {
  width: min(100%, 920px);
  max-width: min(100%, 920px);
}

.lightbox-figure.mode-tall.is-zoomed .lightbox-image,
.lightbox-figure.mode-tall.mode-tall-desktop.is-zoomed .lightbox-image,
.lightbox-figure.mode-tall.mode-tall-desktop.has-tall-image.is-zoomed .lightbox-image {
  max-width: none;
}

.lightbox-figure.mode-tall.mode-tall-desktop.is-contained-tall-image:not(.is-zoomed) .lightbox-image {
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-figure.mode-tall.mode-tall-desktop.is-contained-tall-image .lightbox-image-zoom-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  overflow: hidden;
}

.lightbox-image[hidden],
.lightbox-video[hidden] {
  display: none;
}

.modal-panel img,
.modal-panel video,
.modal-panel picture,
.modal-panel canvas,
.modal-panel iframe {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: auto;
}

#modal-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}

.modal-nav-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.5);
  color: #ffffff;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1;
  opacity: 0.72;
  cursor: pointer;
  touch-action: manipulation;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: opacity 240ms ease, transform 240ms ease, background-color 240ms ease,
    border-color 240ms ease, box-shadow 240ms ease;
}

.modal-nav-arrow:hover,
.modal-nav-arrow:focus-visible {
  opacity: 0.9;
  transform: scale(1.1);
  background: rgba(11, 15, 20, 0.72);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.modal-nav-arrow:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.modal-nav-arrow[hidden] {
  display: none;
}

.lightbox-panel .modal-close {
  top: max(14px, calc(var(--lightbox-vv-top, 0px) + 14px));
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lightbox-modal.mode-tall .modal-close {
  display: none;
}

.lightbox-modal.mode-tall .modal-nav-arrow {
  display: none;
}

.lightbox-modal.mode-tall.mode-tall-desktop .modal-nav-arrow {
  display: inline-flex;
}

.lightbox-tall-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 6px 24px 24px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  touch-action: pan-x;
}

.lightbox-tall-nav[hidden] {
  display: none;
}

.lightbox-tall-nav-button {
  flex: 0 0 auto;
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.84);
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 200ms ease, border-color 200ms ease, transform 200ms ease, color 200ms ease;
}

.lightbox-tall-nav-button:hover,
.lightbox-tall-nav-button:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.lightbox-tall-nav-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.92);
  outline-offset: 2px;
}

.lightbox-tall-nav-button.is-active {
  background: rgba(214, 163, 106, 0.18);
  border-color: rgba(214, 163, 106, 0.38);
  color: #fff;
}

.text-muted {
  color: var(--text-muted);
}

.link-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent-strong);
  border: 1px solid rgba(196, 138, 79, 0.35);
  background: rgba(196, 138, 79, 0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.link-icon {
  font-size: 14px;
}

.link-label {
  text-align: center;
}

.link-list a:hover {
  border-color: var(--accent-strong);
  background: rgba(196, 138, 79, 0.16);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(15, 18, 22, 0.12);
}

.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.project {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: center;
}

.project:nth-child(even) .project-media {
  order: -1;
}

.project h3 {
  margin-top: 0;
  font-size: 28px;
}

.projects-page .main {
  background:
    linear-gradient(180deg, rgba(242, 241, 237, 0.55) 0%, rgba(255, 255, 255, 0.96) 180px),
    #ffffff;
}

.projects-intro-section {
  padding-top: 10px;
  padding-bottom: 22px;
}

.projects-intro-card {
  width: min(860px, 100%);
  margin: 6px 0 8px;
}

.projects-intro {
  margin: 0;
  max-width: 680px;
  padding-left: 12px;
  border-left: 3px solid rgba(196, 138, 79, 0.55);
  font-size: clamp(0.92rem, 0.88rem + 0.18vw, 1rem);
  line-height: 1.58;
  color: #6b7280;
}

.projects-group {
  padding-top: 18px;
  padding-bottom: 54px;
}

.projects-section-heading {
  margin-bottom: 26px;
}

.featured-projects {
  display: flex;
  flex-direction: column;
  gap: 34px;
}

.featured-project {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(214, 219, 225, 0.9);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 42px rgba(15, 18, 22, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  align-items: start;
}

.concert-curator-card {
  min-height: 0;
  align-items: start;
}

.concert-curator-card .project-copy {
  justify-content: flex-start;
}

.concert-curator-card .project-media {
  align-items: flex-start;
}

.featured-project-reverse .project-media {
  order: -1;
}

.project-copy {
  min-width: 0;
}

.featured-project .project-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.project-feature-label {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.workflow-preview-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(214, 219, 225, 0.9);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(214, 163, 106, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 238, 0.92) 100%);
  box-shadow: 0 12px 26px rgba(15, 18, 22, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.workflow-preview-card:hover {
  transform: translateY(-2px);
  border-color: rgba(196, 138, 79, 0.35);
  box-shadow: 0 16px 30px rgba(15, 18, 22, 0.12);
}

.workflow-preview-thumb {
  width: 100%;
  aspect-ratio: 3 / 5;
  object-fit: cover;
  object-position: top center;
  border-radius: 14px;
  box-shadow: none;
}

.workflow-preview-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.workflow-preview-copy strong {
  font-size: 1rem;
  line-height: 1.25;
  color: #20262d;
}

.workflow-preview-copy span:last-child {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.4;
}

.workflow-preview-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.project-evolution-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.workflow-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid rgba(214, 219, 225, 0.9);
  border-radius: 18px;
  background:
    radial-gradient(circle at top right, rgba(214, 163, 106, 0.14), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 244, 238, 0.94) 100%);
}

.workflow-panel-heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.workflow-panel-heading strong {
  font-size: 1rem;
  line-height: 1.25;
  color: #20262d;
}

.workflow-diagram {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid rgba(214, 219, 225, 0.82);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.88);
}

.workflow-step-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6d583f;
}

.workflow-step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.workflow-arrow {
  display: none;
}

.featured-project h3 {
  font-size: clamp(2rem, 1.7rem + 0.8vw, 2.45rem);
  line-height: 1.15;
  margin: 0;
}

.featured-project .project-media {
  align-self: stretch;
  padding-top: 2px;
  display: flex;
  align-items: stretch;
}

.featured-project .link-list {
  margin-top: 0;
}

.featured-project ul.clean {
  margin: 0;
}

.project-media-frame {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: contain;
  object-position: center;
  background: transparent;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.featured-project .embed,
.featured-project video.media,
.featured-project .media-trigger {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

.featured-project .project-media > .media-trigger,
.featured-project .project-media > .project-gallery {
  width: 100%;
  min-height: 360px;
  padding: var(--featured-media-shell-padding);
  border: 1px solid var(--featured-media-shell-border);
  border-radius: var(--featured-media-shell-radius);
  background: linear-gradient(180deg, #fcfaf6 0%, var(--featured-media-shell-bg) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.featured-project .project-media > .media-trigger {
  overflow: hidden;
}

.featured-project .project-media > .media-trigger .project-media-frame,
.featured-project .project-media > .project-gallery .project-media-frame {
  width: 100%;
  border-radius: 0;
  object-fit: contain;
  aspect-ratio: auto;
}

.project-gallery {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.concert-curator-card .project-media > .project-gallery {
  min-height: 0;
}

.concert-curator-card .project-gallery-preview {
  min-height: 380px;
}

.concert-curator-card .media-container {
  align-items: flex-start;
}

.concert-curator-card > .workflow-panel {
  grid-column: 1 / -1;
  width: min(760px, 100%);
  justify-self: center;
}

@media (min-width: 721px) {
  .concert-curator-card .project-media {
    align-self: stretch;
    align-items: flex-end;
    justify-content: center;
  }

  .concert-curator-card .project-media > .project-gallery {
    width: min(100%, 560px);
    height: 100%;
    display: flex;
    align-items: flex-end;
    padding-inline: clamp(18px, 3vw, 34px);
    background:
      radial-gradient(circle at left center, rgba(214, 163, 106, 0.12), transparent 34%),
      radial-gradient(circle at right center, rgba(91, 116, 153, 0.1), transparent 34%),
      linear-gradient(180deg, #fcfaf6 0%, var(--featured-media-shell-bg) 100%);
  }

  .concert-curator-card .project-gallery {
    height: 100%;
  }

  .concert-curator-card .project-gallery-preview {
    height: auto;
    min-height: 0;
  }

  .concert-curator-card .project-gallery-preview .media-container {
    height: auto;
  }

  .concert-curator-card .project-gallery-preview .project-media-frame {
    height: auto;
    max-height: min(720px, 62vh);
  }
}

.project-gallery-preview {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

.project-gallery-preview .project-media-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
  aspect-ratio: auto;
}

.featured-project video.media {
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.media-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.media-trigger .media {
  display: block;
}

.media-video-trigger {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.media-video-trigger video {
  pointer-events: none;
}

.media-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--media-clip-radius, inherit);
}

.media-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(11, 15, 20, 0);
  transition: background 0.2s ease;
}

.media-container > .media {
  border-radius: inherit;
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 999px;
  background: rgba(11, 15, 20, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(3px);
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  pointer-events: auto;
  cursor: pointer;
}

.project-card .video-overlay {
  width: 60px;
  height: 60px;
  font-size: 1.3rem;
}

.featured-project .video-overlay {
  width: 74px;
  height: 74px;
  font-size: 1.65rem;
}

.featured-project .media-container {
  --media-clip-radius: 0;
}

.project-card .media-container {
  --media-clip-radius: 20px 20px 0 0;
}

.project-card .video-overlay,
.featured-project .video-overlay {
  border-radius: 999px;
}

.project-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 219, 225, 0.82);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 26px rgba(15, 18, 22, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.project-card-image-container {
  padding: 0;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  position: relative;
}

.project-card-media {
  position: relative;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
}

.project-card-image {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0 0;
  box-shadow: none;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.project-card-image-top,
.project-card-media-top {
  object-position: top center;
}

.project-card-image-zip-text {
  object-position: 50% 25%;
}

.project-card-image-political-campaign {
  object-position: top center;
}

.project-card-media-video {
  cursor: default;
}

.project-card-media iframe,
.project-card-media video {
  width: 100%;
  height: 168px;
  object-fit: cover;
  object-position: center;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.project-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(214, 163, 106, 0.18), transparent 50%),
    linear-gradient(135deg, #f7f4ef 0%, #ebe7df 100%);
}

.project-card-placeholder-inner {
  padding: 16px 18px;
  border-radius: 999px;
  border: 1px solid rgba(196, 138, 79, 0.35);
  background: rgba(255, 255, 255, 0.72);
  color: #6d583f;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px 18px 20px;
  gap: 12px;
}

.project-card h3 {
  margin: 0;
  font-size: 1.3rem;
  line-height: 1.22;
}

.project-card-summary {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.project-card-kicker {
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.project-card-bullets {
  margin: 0;
}

.project-card-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.project-card-origin {
  background:
    radial-gradient(circle at top right, rgba(214, 163, 106, 0.12), transparent 38%),
    rgba(255, 255, 255, 0.9);
}

.project-card-links {
  justify-content: flex-start;
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 4px;
}

.project-card-details {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.project-card-details summary {
  cursor: pointer;
  font-weight: 600;
  color: #26313b;
}

.project-card-details[open] summary {
  margin-bottom: 10px;
}

.project-card-details .clean {
  margin-bottom: 0;
}

.project-card-embed {
  margin-top: 14px;
}

@media (hover: hover) and (pointer: fine) {
  .featured-project:hover {
    transform: translateY(-5px);
    border-color: rgba(196, 138, 79, 0.35);
    box-shadow: 0 22px 42px rgba(15, 18, 22, 0.12);
  }

  .project-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(196, 138, 79, 0.35);
    box-shadow: 0 24px 40px rgba(15, 18, 22, 0.16);
    cursor: pointer;
  }

  .media-trigger:not(.media-video-trigger) .media-container:hover::after,
  .media-trigger:not(.media-video-trigger):hover .media-container::after {
    background: rgba(0, 0, 0, 0.05);
  }

  .media-trigger:not(.media-video-trigger) .media-container:hover img,
  .media-trigger:not(.media-video-trigger) .media-container:hover video,
  .media-trigger:not(.media-video-trigger):hover img,
  .media-trigger:not(.media-video-trigger):hover video {
    transform: scale(1.015);
    filter: brightness(1.04);
    cursor: pointer;
  }

  .featured-project .media-trigger:hover .project-media-frame,
  .featured-project .project-gallery-preview:hover .project-media-frame {
    transform: scale(1.015);
    filter: brightness(1.03);
  }

  .media-container:hover::after,
  .media-video-trigger:hover .media-container::after {
    background: rgba(11, 15, 20, 0.1);
  }

  .media-container:hover .video-overlay,
  .media-video-trigger:hover .video-overlay {
    transform: translate(-50%, -50%) scale(1.06);
    background: rgba(11, 15, 20, 0.6);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.26);
  }

  .video-overlay:hover {
    transform: translate(-50%, -50%) scale(1.11);
    background: rgba(11, 15, 20, 0.64);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
  }
}

.project p,
.project li {
  font-size: 19px;
}

ul.clean {
  padding-left: 18px;
  margin: 12px 0 18px;
}

footer {
  text-align: center;
  font-weight: 600;
  padding: 24px 0 40px;
  color: #1f242b;
}

footer span {
  margin: 0 18px;
}

.footer-build-line {
  margin-left: 0;
}

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeInUp 0.8s ease forwards;
}

.stagger > * {
  opacity: 0;
  animation: fadeInOnly 0.9s ease forwards;
}

.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.2s; }
.stagger > *:nth-child(4) { animation-delay: 0.3s; }
.stagger > *:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInOnly {
  to {
    opacity: 1;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .project {
    grid-template-columns: 1fr;
  }

  .LI-profile-badge {
    display: none;
  }

  .linkedin-mobile-link {
    display: inline-flex;
  }

  .project:nth-child(even) .project-media {
    order: 0;
  }

  .featured-project-reverse .project-media {
    order: 0;
  }

  .featured-project {
    padding: 22px;
  }

  .workflow-diagram {
    grid-template-columns: 1fr;
  }

  .project-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer span {
    display: block;
    margin: 8px 0;
  }

  .footer-build-line {
    margin-top: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in,
  .stagger > * {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .media-container::after,
  .video-overlay,
  .project-card-image,
  .project-card-media video {
    transition: none;
  }
}

@media (max-width: 720px) {
  .projects-group {
    padding-bottom: 34px;
  }

  .featured-projects {
    gap: 22px;
  }

  .featured-project {
    padding: 20px;
    border-radius: 18px;
  }

  .concert-curator-card {
    min-height: 0;
  }

  .concert-curator-card .project-copy,
  .concert-curator-card .project-media {
    height: auto;
  }

  .workflow-preview-card {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .workflow-panel {
    padding: 14px;
  }

  .workflow-preview-thumb {
    aspect-ratio: 3 / 4.6;
  }

  .featured-project .embed,
  .featured-project video.media,
  .featured-project .media-trigger {
    min-height: 0;
  }

  .project-gallery {
    min-height: 0;
  }

  .project-gallery-preview {
    min-height: 0;
  }

  .project-gallery-preview .project-media-frame {
    aspect-ratio: 16 / 10;
  }

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

  .project-card-image-container {
    padding: 0;
  }

  .project-card-body {
    padding: 16px;
  }

  .lightbox-panel {
    width: min(1200px, 96vw);
    height: min(96dvh, 1100px);
    padding: 12px;
  }

  .lightbox-panel.mode-standard {
    width: 90vw;
    height: min(80dvh, 900px);
  }

  .lightbox-panel.mode-tall {
    border-radius: 10px;
  }

  .lightbox-stage {
    gap: 8px;
  }

  .lightbox-modal.mode-tall .lightbox-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .modal-nav-arrow {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 1.5rem;
    opacity: 0.8;
  }

  .lightbox-modal.mode-tall .modal-nav-arrow {
    display: none;
  }

  .lightbox-panel .modal-close {
    top: max(10px, calc(var(--lightbox-vv-top, 0px) + 10px));
    right: 10px;
  }

  .lightbox-figure.mode-tall.has-tall-image .lightbox-image {
    width: 100%;
    max-width: none;
  }

  .lightbox-tall-header {
    border-radius: 10px 10px 0 0;
  }

  .lightbox-tall-counter {
    margin-right: 40px;
  }

  .lightbox-tall-nav {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 14px 12px 14px;
    background: linear-gradient(180deg, rgba(6, 8, 11, 0.92), rgba(6, 8, 11, 0.86));
    -webkit-overflow-scrolling: touch;
  }

  .lightbox-tall-nav-button {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

}
